Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Limit number of cores used by emerge?
Date: Fri, 30 Sep 2011 23:06:50
Message-Id: CAEH5T2N2PokzB_Yj9HtgdfaGY32hqB5xcWkH+af1jyg_z2X2vw@mail.gmail.com
In Reply to: Re: [gentoo-user] Limit number of cores used by emerge? by Mark Knecht
1 On Fri, Sep 30, 2011 at 5:47 PM, Mark Knecht <markknecht@×××××.com> wrote:
2 > OK, my bad for confusing the two. Currently make.conf in the chroot says:
3 >
4 > MAKEOPTS="-j3"
5 >
6 > and when I run emerge in the chroot it's typically
7 >
8 > emerge -DuN -j2 @world
9 >
10 > so I think that's about right, or would hope it is anyway. If you see
11 > a problem please let me know.
12
13 The -j2 on emerge means it'll run 2 makes at once, and each make is
14 getting -j3, so it'll use (up to) 6 cores at once. You probably want
15 to just stop using -j option for emerge entirely and stick to the
16 MAKEOPTS one.

Replies

Subject Author
Re: [gentoo-user] Limit number of cores used by emerge? Mark Knecht <markknecht@×××××.com>