On Wed, 2021-06-23 at 11:43 +0200, Agostino Sarubbo wrote:
> On mercoledì 23 giugno 2021 11:36:33 CEST Mart Raudsepp wrote:
> > +               jobs=$(( nproc + 1 ))
> 
> I don't know who historically started the nproc+1 story (it looks to be in 
> the 
> handbook too), but it has been demonstrated that nproc+1 is slower than nproc.
> 

Demonstrated on what?  This largely depends on the task in question.
In this case, I guess nproc makes more sense and makes things simpler
as it's got little I/O overhead.

-- 
Best regards,
Michał Górny



Reply via email to