I am using XGBoost via the R package, and did not specify an nthread
parameter (should default to the maximum number of available cores, which it does in Ubuntu).
On a Windows PC with an i7-4770 CPU (which has 4 cores = 8 threads), however, only max. 50% of the max CPU level is reached, even when I manually set nthread = 8
(The exact same code uses 100% of max CPU level under Ubuntu, so this is not an implementation issue I think). I also tried nthread = 4
which leads to around 30% of max CPU usage.
How do I get XGBoost to use all available threads under Windows?