Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is 'MAKEOPTS="--jobs --load-average=5"' silly?
Date: Wed, 27 Mar 2013 12:46:17
Message-Id: 20130327124541.GA29117@waltdnes.org
In Reply to: Re: [gentoo-user] Is 'MAKEOPTS="--jobs --load-average=5"' silly? by Neil Bothwick
1 On Tue, Mar 26, 2013 at 08:34:29AM +0000, Neil Bothwick wrote
2 > On Mon, 25 Mar 2013 23:01:30 -0400, Walter Dnes wrote:
3 >
4 > > > Running MAKEOPTS="-j1" as default on a multi-core processor seems an
5 > > > awful waste of resources, unless it is needed for something else, in
6 > > > which case I don't run emerge at all.
7 > >
8 > > Running around for a few hours trying to replicate an unreplicatable
9 > > build failure is even more of a waste.
10 >
11 > That depends on the number of cores you have. On a dual core system this
12 > may well be true, although I'd dispute even that.
13 >
14 > % cat /etc/portage/package.env/* | grep -c -e j4 -e j1
15 > 4
16 >
17 > Four packages out of the 1730 installed on this computer require special
18 > treatment, and all of them build with -j4.
19
20 Seeing as how even my older machines are dual core, I'll bump it -j2.
21 I'm still not totally clear on "load-average". Should I set...
22
23 MAKEOPTS="-j2 --load-average=2"
24
25 ...on a dual core machine?
26
27 --
28 Walter Dnes <waltdnes@××××××××.org>
29 I don't run "desktop environments"; I run useful applications