Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] Limit number of cores used by emerge?
Date: Fri, 30 Sep 2011 16:26:33
Message-Id: CAK2H+eenA2FcgwZ5QSHkCTWTRZmKadcZXEJknN4j46WNB60Q+Q@mail.gmail.com
1 Hi,
2 Is there a portage option that will limit the number of cores used
3 by emerge? For instance, in a chroot on a 12 core machine I want to
4 limit emerge to not using more than 3 cores?
5
6 If possible, I'd also like to limit the total disk bandwidth
7 consumption during emerge. For instance, when untarring a big file to
8 do the emerge at times the disk consumption gets to high and the
9 machine becomes laggy. Is there an option that addresses this?
10
11 These questions are mostly about being able to update a chroot
12 mid-day without other tasks slowing down too much. I don't care how
13 long the chroot really takes to get a huge emerge done, but rathe just
14 keeping the machine very responsive while it's happening. I already
15 use:
16
17 MAKEOPTS="-j3"
18 PORTAGE_NICENESS="15"
19
20 which helps (I think) but it doesn't totally address either of the issues above.
21
22 Thanks,
23 Mark

Replies

Subject Author
[gentoo-user] Re: Limit number of cores used by emerge? che@××××××.se
Re: [gentoo-user] Limit number of cores used by emerge? Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Limit number of cores used by emerge? Paul Hartman <paul.hartman+gentoo@×××××.com>