Skip to content

Correctly show /sys/devices/system/cpu/cpu*/online, currently all threads are always shown online #627

Open
@C0rn3j

Description

@C0rn3j

#88 partially solved the online issues by showing correct overall view in /sys/devices/system/cpu/online

However online marker in /sys/devices/system/cpu/cpu*/online is always set to 1, i.e. online.

# cpu.limit = 6, but all 48 threads are set to online in the distinct files
cat /sys/devices/system/cpu/online /sys/devices/system/cpu/cpu*/online
2,5,19,21,24,30
1
1
1
1
1
1
1
1
1
1
1
1
…

This is on LXD 5.19 with 5.15.0-58-generic kernel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MaybeUndecided whether in scope for the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions