Sponsor Products
Windows on HP ProLiant servers and number of logical cores
posted by Jean-Francois Panisset  on Oct. 28, 2016, 8 p.m. (2 years, 2 months, 21 days ago)
0 Responses     0 Plus One's     0 Comments  
There's an obscure BIOS parameter on ProLiant servers which can cause some older Windows APIs to return only half the number of logical cores:


In particular this shows up in the %NUMBER_OF_PROCESSORS% environment variable being set wrong, and the Python psutil module.

Unless you have 18 core CPUs, setting the BIOS parameter "NUMA Group Size Optimization" to "Flat" instead of "Clustered" will solve the problem.

Turns out that HP has a useful PowerShell module for manipulating BIOS parameters:


but unfortunately that particular param is not exposed through that module.


Thread Tags: