From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H68bS-00089b-Oi for garchives@archives.gentoo.org; Sun, 14 Jan 2007 16:53:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0EGpwpM022092; Sun, 14 Jan 2007 16:51:58 GMT Received: from spore.ath.cx (c-66-41-120-249.hsd1.mn.comcast.net [66.41.120.249]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0EGli6M026476 for ; Sun, 14 Jan 2007 16:47:45 GMT Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spore.ath.cx (Postfix) with ESMTP id 6392AE734D for ; Sun, 14 Jan 2007 10:47:15 -0600 (CST) Date: Sun, 14 Jan 2007 10:47:43 -0600 From: Dan To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative? Message-ID: <20070114104743.368c6014@pascal.spore.ath.cx> In-Reply-To: <45A9DE1B.9040004@paulscrap.com> References: <1168699369.14521.15.camel@camille.espersunited.com> <45A9DE1B.9040004@paulscrap.com> Organization: Spore X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.10.6; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: c2b1e511-fd22-4dac-b63b-9ee6201a39ac X-Archives-Hash: a9d9c400b9e18026c44438b2f8267df1 On Sun, 14 Jan 2007 02:39:07 -0500 PaulNM wrote: > I once experienced something similar on my [i686 Pentium II > (Klamath)] server. I don't remember exactly what part of gcc was > compiling at the time of the "hang", but I found switching kernel > versions helped. According to top, kswapd0 was very busy, basically > using up most of the systems resources. Ssh'ing in was very slow due > to that and the gcc compile. I stopped and restarted it twice after > letting it run over night (8+ hrs). Normal compile time is "genlop -t > gcc" about 4hrs and 15mins. sounds like the classic low memory situation to me. You run real low on system memory, then swap, and kswapd has to work real hard to (I assume this one) 'defragment' if you will the memory pages and keep as much free memory available as possible. sometimes, this manages to slow things down so considerably that the program causing the problem just hangs, trying to get more memory, and the rest of the programs on the computer vie for limited resources, so things like ssh go real slow. just a thought, in that you're running on a pentium, have you looked into distributed compiling and crossdev? It can't get tthe performance you'd probably like out of your computer, but it might do a decent job getting compile times down into the realm of tolerability. Unfortunately, it probably won't help with gcc itself. -- gentoo-user@gentoo.org mailing list