A good answer on make -j

It’s possible to speed up a ‘make buildworld’ by increasing the number of parallel make processes, with the -j option.  However, the optimal number of make processes depends on your system setup.  Simon ‘corecode’ Schubert did some testing, and it looks like the number of CPUs +1 is the best option – as long as you have more than 1 CPU.  His writeup even includes a nice graph.

2 Replies to “A good answer on make -j”

Comments are closed.

Mentions