Wladimir J. van der Laan 47162673c7 Use real number of cores for default -par, ignore virtual cores
To determine the default for `-par`, the number of script verification
threads, use [boost:🧵:physical_concurrency()](http://www.boost.org/doc/libs/1_58_0/doc/html/thread/thread_management.html#thread.thread_management.thread.physical_concurrency)
which counts only physical cores, not virtual cores.

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 `GetNumCores` to fall back for older Boost versions.
2015-07-01 18:01:16 +02:00
..
2015-06-11 08:38:01 +02:00
2015-05-26 14:36:47 +02:00
2015-05-22 08:35:38 +02:00
2015-05-01 11:21:27 +00:00
2015-04-01 12:02:01 +02:00
2015-05-15 14:00:56 +02:00
2015-05-01 11:21:27 +00:00
2015-03-13 11:04:18 +01:00
2014-12-27 19:04:49 +01:00
2014-12-19 19:55:32 +01:00
2014-12-27 19:04:49 +01:00
2015-05-01 11:21:27 +00:00
2015-03-13 11:04:18 +01:00
2015-04-20 13:29:20 +02:00