Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies
Date: Thu, 27 Jan 2011 21:13:33
Message-Id: 4D41DF83.90807@gmail.com
In Reply to: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies by Nikos Chantziaras
1 On 01/27/2011 12:15 PM, Nikos Chantziaras wrote:
2 >
3 > Btw, if you're using more instances than the amount of CPUs, the result
4 > will be slow-down.
5 >
6 > With the default kernel scheduler, best if amount of CPUs + 1. (On a
7 > 4-core, that's -j5).
8
9 And if you use emerge's "--jobs 2", each of those jobs will get the
10 MAKEOPTS values sent to it. So, if you have MAKEOPTS="-s -j4" and you
11 use "--jobs 2" with emerge, then you'll get two jobs running "gcc -s
12 -j4". Enjoy.