Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge -j, make -j and make -l
Date: Sat, 10 Dec 2011 04:36:03
Message-Id: CA+czFiDdxYyi-fmkz0yeaNaOj6JGui+3LowoGOSp48iOg+eXNg@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge -j, make -j and make -l by Michael Mol
1 Quick update...I now have two of these things set up in a distcc cluster
2 with my Phenom 9650. ~530 packages in 228m 34s. There's an even larger
3 initial explosion of parallel emerge jobs, but it spreads out very
4 nicely...I may have to increase the -j parameter in MAKEOPTS. I'm also not
5 certain if distcc is properly deferring jobs to the local host, but I got
6 the impression the local machine was getting a doubled workload when I had
7 127.0.0.1 in/etc/distccd/hosts.
8
9 ZZ
10 On Nov 28, 2011 6:53 PM, "Michael Mol" <mikemol@×××××.com> wrote:
11
12 > On Mon, Nov 28, 2011 at 1:51 PM, Michael Mol <mikemol@×××××.com> wrote:
13 > > I'm currently timing
14 > >
15 > > MAKEOPTS="-j16 -l13"
16 > > EMERGE_DEFAULT_OPTS="--jobs --load-average=13"
17 > >
18 > > with 493 packages (base plus X plus XFCE and chromium, and, of course,
19 > > USE flags), but I'll start another timed run with
20 > >
21 > > MAKEOPTS="-j16 -l8"
22 > > EMERGE_DEFAULT_OPTS="--jobs --load-average=8"
23 > >
24 > > once that's finished. Last night, I tried with -j16 -l10, and that
25 > > completed in 209 minutes, but that was still with the
26 > > PORTAGE_DEFAULT_OPTS typo, so that datapoint is mostly useless. This
27 > > one has already taken about 240 minutes. At least it's finished
28 > > building Chromium, now; I hope it doesn't still need to build gcc.
29 > > It's at 488/493.
30 > >
31 > > (insert) Just finished:
32 > >
33 > > real 208m23.880s
34 > > user 604m27.065s
35 > > sys 152m22.848s
36 > >
37 > > Apparently, I misremembered when I started it.
38 > > (/insert)
39 > >
40 >
41 > MAKEOPTS="-j16 -l8"
42 > EMERGE_DEFAULT_OPTS="--jobs --load-average=8"
43 >
44 > finished at
45 >
46 > real 217m46.366s
47 > user 588m22.397s
48 > sys 149m15.283s
49 >
50 > I'll probably set it to -l10 and leave it there; I need to start using
51 > this box for things.
52 >
53 > --
54 > :wq
55 >

Replies

Subject Author
Re: [gentoo-user] emerge -j, make -j and make -l Michael Mol <mikemol@×××××.com>