Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use real number of cores for default -par, ignore virtual cores #6361
To determine the default for
Virtual cores are roughly a set of cached registers to avoid context switches while threading, they cannot actually perform work, so spawning a verification thread for them could even reduce efficiency and will put undue load on the system.
Should fix issue #6358, as well as some other reported system overload issues, especially on Intel processors.
The function was only introduced in boost 1.56, so provide a utility function
@laanwj yes, we need to go ahead with the boost bump. I'm getting ready to leave for a few days for a conference, but I'll make the boost/qt bumps first priority when I get back. Ideally those should be done very early in the cycle so we have some testing.
Taking that one step further, I'll check the other deps while I'm at it and see if they need bumps too.