public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dan <dan@spore.ath.cx>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?
Date: Sun, 14 Jan 2007 10:47:43 -0600	[thread overview]
Message-ID: <20070114104743.368c6014@pascal.spore.ath.cx> (raw)
In-Reply-To: <45A9DE1B.9040004@paulscrap.com>

On Sun, 14 Jan 2007 02:39:07 -0500
PaulNM <gentoo@paulscrap.com> 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



      reply	other threads:[~2007-01-14 16:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-13 14:42 [gentoo-user] OT - Is there a gcc-4.1.1 alternative? Michael Sullivan
2007-01-13 16:10 ` [gentoo-user] " James
2007-01-13 17:29 ` [gentoo-user] " Randy Barlow
2007-01-13 20:45   ` Hans-Werner Hilse
2007-01-13 19:06 ` Bo Ørsted Andresen
2007-01-13 23:05 ` John Blinka
2007-01-14  7:39 ` PaulNM
2007-01-14 16:47   ` Dan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070114104743.368c6014@pascal.spore.ath.cx \
    --to=dan@spore.ath.cx \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox