lpereira / hardinfo

System profiler and benchmark tool for Linux systems
http://hardinfo.org
GNU General Public License v2.0
765 stars 130 forks source link

Wrong CPU core count reported #711

Open Cygon opened 6 months ago

Cygon commented 6 months ago

On my system, the tool is reporting double the number of CPU cores I actually have (while threads are correct or half the actual number depending on whether it is supposed to display the hardware capabilities or available capabilities).

detection results

I run two Xeon E5-2697A CPUs with HyperThreading disabled in BIOS, so this system has 2x16 cores and 2x16 threads.

Expected output: 2 physical processors; 32 cores across 2 NUMA nodes; 32 threads -or- 2 physical processors; 32 cores across 2 NUMA nodes; 64 threads (if actual threads the hardware would be able to run is what is displayed).

Actual output: 2 physical processors; 64 cores across 2 NUMA nodes; 32 threads

I've attached the contents of my /proc/cpuinfo cpuinfo.txt