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.

Posted by     Categories: DragonFly, Goings-on     2 Comments
2 Comments on A good answer on make -j

Respond | Trackback

  1. [...] Khan ran Simon ‘corecode’ Schubert’s make parallelism test on a dual-cpu system, and the theory holds up: ‘make -j N’ where N == the number of [...]

  2. [...] Khan ran Simon ‘corecode’ Schubert’s make parallelism test on a dual-cpu system, and the theory holds up: ‘make -j N’ where N == the number of [...]

Respond

Comments

Comments