Re:Use `nproc` and not grep /proc/cpuinfo
by stewartesmith on Thursday November 26, 2020 @08:56PM
(#25224960)
What this practically means is that a plain "make -j" will spawn all the processes that could run concurrently. So if you're building 1,000 files, it'll spawn 1,000 processes. This can either be fine, or completely terrible, depending on the number of CPUs you have an the amount of memory each process uses.
[ Parent
| on HN ]
There are no comments on this comment yet.