Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] portage-2.2-rc3 parallel merges quit being parallel
Date: Sun, 27 Jul 2008 01:33:46
Message-Id: 20080727033210.f3441ab3.genone@gentoo.org
In Reply to: Re: [gentoo-portage-dev] portage-2.2-rc3 parallel merges quit being parallel by Andrew Gaffney
1 On Sat, 26 Jul 2008 16:56:20 -0500
2 Andrew Gaffney <agaffney@g.o> wrote:
3
4 > Duncan wrote:
5 > > "--jobs=10 --keep-going --load-average=15"
6 >
7 > For a dual-dual-core setup, a load average of 4.0 is "fully loaded".
8
9 Only in ideal cases, when you have long-running processes
10 hammering the cpu and little or no context switches. This isn't the case
11 with builds, the actual compile processes that need cpu time usually
12 terminate very quickly, which increases the load average.
13 I did some benchmarking a while ago with different combinations of -j
14 and -l in MAKEOPTS, using the kernel as testcase, and IIRC the fastest
15 builds were around -l6.0 (on a dual-core system) and high (or
16 unlimited) values for -j (sidenote here: some ebuilds like openoffice
17 parse MAKEOPTS to get parameters for their own build systems, but only
18 recognize/support -j and ignore -l, so one should still be careful with
19 the value for -j).
20
21 Marius

Replies