Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: Mart Raudsepp <leio@g.o>
Subject: Re: [gentoo-dev] [PATCH 2/2] python-utils-r1.eclass: Enable parallel bytecompile compilation
Date: Wed, 23 Jun 2021 10:00:13
Message-Id: d833a657591aa599f92b10408ea27ab047364040.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 2/2] python-utils-r1.eclass: Enable parallel bytecompile compilation by Agostino Sarubbo
1 On Wed, 2021-06-23 at 11:43 +0200, Agostino Sarubbo wrote:
2 > On mercoledì 23 giugno 2021 11:36:33 CEST Mart Raudsepp wrote:
3 > > + jobs=$(( nproc + 1 ))
4 >
5 > I don't know who historically started the nproc+1 story (it looks to be in the
6 > handbook too), but it has been demonstrated that nproc+1 is slower than nproc.
7 >
8
9 Demonstrated on what? This largely depends on the task in question.
10 In this case, I guess nproc makes more sense and makes things simpler
11 as it's got little I/O overhead.
12
13 --
14 Best regards,
15 Michał Górny