Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge -j, make -j and make -l
Date: Sun, 27 Nov 2011 22:09:37
Message-Id: CAK2H+ecGHe=9_RVtM-FOWmyaJ-S5YJ4+2qtYov49v9n=PSQwtA@mail.gmail.com
In Reply to: [gentoo-user] emerge -j, make -j and make -l by Michael Mol
1 On Sat, Nov 26, 2011 at 7:22 AM, Michael Mol <mikemol@×××××.com> wrote:
2 > I just wanted to share an experience I had today with optimizing parallel
3 > builds after discovering "-l" for Make...
4 >
5 > I've got a little more tweaking I still want to do, but this is pretty
6 > awesome...
7 >
8 > http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds/
9 >
10 > ZZ
11
12 Good post Michael. Thanks.
13
14 I want to verify that in make.conf this is indeed MAKEOPTS we are
15 talking about and not EMERGE_DEFAULT_OPTS.
16
17 Currently for my i7-980x (6 physical cores + hyper threading = 12
18 logical cores) I have:
19
20 MAKEOPTS="-j3"
21 EMERGE_DEFAULT_OPTS="--with-bdeps y "
22 PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
23
24 I generally keep -j small day-to-day to allow emerge to work more or
25 less the background while I'm using the machine for other things. If I
26 was going to do an emerge -e @world then in the past I'd push it up
27 for 13. (N+1)
28
29 I've not used the -l option but it sounds interesting. If I understand
30 the then you're suggesting in /etc/make.conf
31
32 MAKEOPTS="-j13 -l7"
33
34 or something in that range for a full blown emerge -e @world?
35
36 - Mark

Replies

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