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.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.