public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] SATA tuning ?
@ 2006-08-18  6:34 Richard Fish
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-08-18  6:34 UTC (permalink / raw
  To: gentoo-user

Sigh.  Apologies for corrupting the thread by creating a new message,
but I seem to have finally been bit by the "missing emails" issue, so
I don't have a message to reply to.  I found this in the archives:

>> You mentioned problems compiling.  The most likely case I can think of
>> is that you do not have enough memory, and are inducing the system to
>> swap.

>  Hmmm...1GByte Dualchannel-RAM should be enough for compiling Blender
>  (for example).

Maybe not.  With -O3 FEX, some programs can take 200-400MB *per
module* to compile.  It all depends on the complexity of the code, and
the problem would be particularly acute with C++ programs (which I
know blender is not C++, so this is just something to keep in mind).

>> Indeed when compiling most programs, you should see very little
>> if any disk activity.

>  My SATA disk (Seagate ST3200827AS) is heavily shakeing its head when
>  compiling...

Run top in another window while this is going on, and keep an eye on
your swap usage.  If you see any swap being used at all, that is a bad
thing.

>> This is particularly suspect if you have
>> something like MAKEOPTS=-j4.

> Yes, normally I use "make -j 4" for useing both cores.

Try with -j2.  -j3 is ideal for keeping a dual-core CPU busy, but will
still take a huge amount of RAM, so unless you add another GB of RAM,
I recommend no more than -j2.  And if you are about to compile a big
C++ package (like KDE or OOo), drop to -j1.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-18  6:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060815.192549.41171127.Meino.Cramer@gmx.de>
2006-08-15 17:32 ` [gentoo-user] SATA tuning ? Richard Fish
2006-08-15 17:57   ` Meino Christian Cramer
     [not found]     ` <7573e9640608151941p2539bee4g500644bbfca4ef65@mail.gmail.com>
     [not found]       ` <20060816.055745.74748690.Meino.Cramer@gmx.de>
2006-08-16  4:47         ` Richard Fish
2006-08-16  5:24           ` Meino Christian Cramer
2006-08-16 12:38             ` Andrew Frink
2006-08-18  6:34 Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox