News for hackers. Stuff that matters.
Re:Use `nproc` and not grep /proc/cpuinfo by moonchild on Thursday November 26, 2020 @06:46PM (#25224377)

  make -j$(($(nproc)+2))
Re:Use `nproc` and not grep /proc/cpuinfo by brobinson on Thursday November 26, 2020 @09:54PM (#25225217)
Why 2? I thought one process was forking off the other processes, not two.
Re:Use `nproc` and not grep /proc/cpuinfo by moonchild on Thursday November 26, 2020 @11:49PM (#25225619)
You want to have more processes running than cores, so that if one process is waiting for i/o another can use the CPU time for something.