Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Is 'MAKEOPTS="--jobs --load-average=5"' silly?
Date: Tue, 26 Mar 2013 15:14:17
Message-Id: CAHgBc-sJPfXEKfp50br-yjkyUJhV8ZrQziZxi8ksrV46JkMgSw@mail.gmail.com
In Reply to: Re: [gentoo-user] Is 'MAKEOPTS="--jobs --load-average=5"' silly? by Neil Bothwick
1 On Tue, Mar 26, 2013 at 2:04 PM, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Mon, 25 Mar 2013 22:29:00 -0400, gottlieb@×××.edu wrote:
3 >
4 >> > % cat /etc/portage/package.env/libreoffice
5 >> > app-office/libreoffice j4.conf
6 >> >
7 >> > % cat /etc/portage/env/j4.conf
8 >> > MAKEOPTS="-j4"
9 >>
10 >> I see. Clever.
11 >>
12 >> Do you file bugs when you need to restrict MAKEOPTS?
13 >
14 > If I need to restrict it to -j1, it is builds with -j4 I consider the
15 > "bug" to be self-inflicted :)
16 >
17 >> Also I am somewhat surprised you can run libreoffice with
18 >> MAKEOPTS="-j4". I seem to remember that being one of the ones I had to
19 >> degrade.
20 >
21 > I try with -j4, if that fails, I try -j1. ISTR OpenOffice.org used to
22 > have -j1 forced in the ebuild. Perhaps the time the LO guys spent on code
23 > cleanup covered more than removing a ton of German comments to no longer
24 > used functions :-O
25 >
26 >
27 > --
28 > Neil Bothwick
29 >
30 > @@@@ There are two kinds of people in this world: Those who are
31 > good with words, and those who are... erm... thingy @@@@
32
33 I'd done this experiment sometime ago, and I had sent a mail here as
34 well regarding which load average does make account for.
35 A couple of packages started failing compile and it turns out that
36 they don't work well with the infinite jobs that make --jobs spawns.
37
38 It's better to limit the number of jobs to 2*CPUs (or cores) with a
39 load control like --load-average=N where N is number of CPUs.
40
41 https://bugs.gentoo.org/show_bug.cgi?id=452942
42
43 --
44 Nilesh Govindrajan
45 http://nileshgr.com

Replies

Subject Author
Re: [gentoo-user] Is 'MAKEOPTS="--jobs --load-average=5"' silly? Neil Bothwick <neil@××××××××××.uk>