Skip to content

Wrong CPU core count reported #711

@Cygon

Description

@Cygon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions