public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SATA tuning ?
Date: Thu, 17 Aug 2006 23:34:45 -0700	[thread overview]
Message-ID: <7573e9640608172334o5b1a045as1b6d7805ecc886b2@mail.gmail.com> (raw)

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



             reply	other threads:[~2006-08-18  6:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18  6:34 Richard Fish [this message]
     [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

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=7573e9640608172334o5b1a045as1b6d7805ecc886b2@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --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