Skip to content

CPU pressure is always zero #8205

Open
Open
@yump

Description

To reproduce: stress-ng --cpu $(( $(nproc) * 2))

Expected behavior: CPU pressure column in the General tab of the cgroups view reads >0%, because the CPU is oversubscribed.

Actual behavior: CPU pressure column reads 0%.

Looking over on the Pressure tab, we find that the load shows up in the "CPU Some Pressure" column. The kernel documentation says:

CPU full is undefined at the system level, but has been reported since 5.13, so it is set to zero for backward compatibility.

My opinion here is that "CPU Some" should replace "CPU full" on the General tab, and probably "CPU full" should not be collected at all. "CPU Some" is useful for detecting transient CPU saturation that doesn't show up in CPU utilization because the workload is bursty.

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