Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not add two to the default job count #1449

Closed
wants to merge 2 commits into from

Commits on Jul 10, 2018

  1. Do not add two to the default job count

    Benchmarks show that increasing the number of make jobs past the number of CPUs decreases performance: https://blogs.gentoo.org/ago/2013/01/14/makeopts-jcore-1-is-not-the-best-optimization/. This was conducted 5 years ago. Since then, although context switching itself has become faster, both CPU cache size and compiler memory usage have increased (the latter particularly so for C++). Moreover, compilers spend even less time on I/O now than they did then; any reasonable software package's header files will all fit into main memory. Therefore, I believe the results should be even more significant today.
    Hello71 authored Jul 10, 2018
    Configuration menu
    Copy the full SHA
    defc813 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1721c1f View commit details
    Browse the repository at this point in the history