Skip to content

Add n_eligible_cpus vs n_total_cpus #1947

@interwq

Description

@interwq

As pointed out in #1939, the current ncpus detection is based on eligible CPUs, in order to reduce resource usage / fragmentation for the default configuration. However in some cases like the mutex spin detection this is suboptimal (for example), as the CPU affinity setting may change over time. We should also detect n_total_cpus and refer to that in some cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions