On Wed, Mar 27, 2013 at 7:50 PM,  <gottl...@nyu.edu> wrote:
> On Tue, Mar 26 2013, Neil Bothwick wrote:
>
>> On Tue, 26 Mar 2013 20:43:25 +0530, Nilesh Govindrajan wrote:
>>
>>> It's better to limit the number of jobs to 2*CPUs (or cores) with a
>>> load control like --load-average=N where N is number of CPUs.
>
> I have two i7-3520Ms.  Each has hyperthreading so "counts" as 2.
> In particular /proc/cpuinfo describes 4 "cpus".
>
> Nilesh, Does that mean you recommend
>
> EMERGE_DEFAULT_OPTS="--jobs --load-average=4"
> MAKEOPTS="--jobs=8 --load-average=4"
>
> In particular I am not sure if your recommendation for load-average
> applied to EMERGE_DEFAULT_OPTS as well or if you were just discussing
> MAKEOPTS.
>
> thanks,
> allan
>

It was for MAKEOPTS. If you have a really powerful processor, consider
splitting it for emerge options and make options. Would be faster.

@Walter, I'm also on a dual core machine, and as per my observation
over long emerges, load doesn't cross 2.2.
I have also observed that if it is limited to 2, system seems to be
under utilized, because make checks the 1 minute average instead of 15
minute average (well, it doesn't make sense otherwise).

This could apply to bigger processors too, so if you want full
utilization, slightly extrapolate the load average limit. Say by
20-30%.

--
Nilesh Govindrajan
http://nileshgr.com

Reply via email to