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 |