UPGRD
← Home

Systems Engineering

Your Linux Server Is Not Idle: Understanding Pressure Stall Information

CPU utilization and load averages can conceal severe resource contention. Linux Pressure Stall Information provides a different way to understand why workloads are actually waiting.

Home · · 5 min read · Updated November 26, 2026
  • Linux
  • PSI
  • Kernel
  • Observability
  • Performance
  • cgroups
Technical diagram showing CPU, memory and I/O pressure converging on Linux workload tasks.

Quick summary

CPU utilization and load averages can conceal severe resource contention. Linux Pressure Stall Information provides a different way to understand why workloads are actually waiting.

A server can look busy without making useful progress. CPU utilization tells you how much processor time was occupied, not whether the work you care about advanced. Load average counts runnable tasks and tasks in uninterruptible sleep; it signals demand, but does not say how much that demand delayed a service or which resource caused the delay. Pressure Stall Information (PSI) gives a closer view of time lost while work waits for CPU, memory, or I/O.

The Linux kernel describes PSI as a way to quantify disruptions caused by resource contention. That makes it useful alongside, not instead of, utilization, throughput, and latency. A CPU at 90 percent utilization may be handling independent work efficiently; a server at 45 percent may still have a latency-sensitive group stalled while competing tasks consume the remaining capacity.

What PSI measures

Linux exports system-wide data in /proc/pressure/cpu, /proc/pressure/memory, and /proc/pressure/io. Each file can contain some and full lines, with rolling averages labeled avg10, avg60, and avg300, plus a cumulative total in microseconds. The averages are percentages over recent 10-, 60-, and 300-second windows. The total is accumulated stall time, useful when a brief spike disappears inside longer averages.

cat /proc/pressure/cpu
cat /proc/pressure/memory
cat /proc/pressure/io

some means at least one non-idle task was stalled on that resource. full means all non-idle tasks were stalled simultaneously. Full pressure is the more severe case: for the affected workload, there was no useful task progress during those intervals. On a system-wide CPU metric, full is undefined and is reported as zero for compatibility; do not mistake that zero for proof that no CPU task ever waited. PSI is not an overall grade for a host and values for different resources should not be added together as if they were independent percentages.

CPU some pressure can be nonzero even when utilization seems moderate: runnable threads may be waiting for their turn while other CPUs are idle, constrained by affinity, quotas, or scheduling boundaries. Conversely, high CPU use is not automatically pressure if tasks are making forward progress. Memory pressure captures time when tasks are delayed by memory reclaim or other memory contention; I/O pressure captures time tasks are stalled waiting on I/O. A rise is evidence of lost time, not a diagnosis of the device, process, or configuration that caused it.

The same distinction matters for local inference: a memory-mapped model can be addressable while still causing expensive storage waits. See why an LLM larger than RAM may run slowly.

Scope it to a workload

On cgroup v2 systems, each cgroup has resource-specific pressure files such as cpu.pressure, memory.pressure, and io.pressure. Reading the service’s cgroup can answer a more useful question than reading the host aggregate: is this workload experiencing stalls? PSI follows the same format at system and cgroup scope.

For a memory-limited service, correlate memory.pressure with memory.current, memory.events, memory.high, and memory.max. In cgroup v2, memory.high is a throttling/reclaim boundary rather than a hard kill limit; crossing it can drive reclaim and pressure, while memory.max is the hard limit at which the kernel may invoke OOM handling if reclaim cannot succeed. memory.events reports events such as high-boundary and max-limit activity. The counters help explain context, but a counter increment alone does not establish that a particular request was slow. Check the kernel documentation for controller availability, hierarchy, and semantics on the running system.

Turn a signal into evidence

Start with a time-aligned view: request latency percentiles, completed work per second, queue depth, CPU utilization, PSI totals or averages, and device metrics. For memory, include reclaim activity and major page faults; for storage, include queue depth and device latency. A PSI increase that coincides with rising request latency and a growing queue is more persuasive than PSI viewed in isolation. Compare the cgroup with the host: high system-wide pressure with little service-level pressure may point elsewhere, while high cgroup pressure on a quiet host suggests a local limit or contention pattern.

A controlled experiment can test a hypothesis without turning a production incident into a guessing game. In an isolated test environment, hold the request mix and input data constant, then vary one resource constraint or competing workload. Record a baseline and repeat the same workload under the change. If throttling, a constrained memory limit, or competing I/O consistently raises the relevant PSI metric and worsens service latency or throughput, the correlation is useful evidence. It is not a universal benchmark: kernel version, workload, cache state, and hardware change the outcome.

For short events, watching only avg300 can hide the event. The cumulative microsecond counter or the 10-second average may expose it; compare counter deltas over a known interval rather than treating the lifetime total as a percentage. The kernel also supports PSI threshold monitors that wake a process through poll() or related interfaces when accumulated stall time crosses a configured threshold. Alerting on sustained, service-relevant pressure and a user-visible symptom is generally more actionable than paging on any nonzero sample.

Use PSI as an observability layer

PSI changes the question from “How full is this resource?” to “How much time are tasks losing because this resource is contended?” It does not replace a profiler, explain every bottleneck, or tell you whether added capacity is economically justified. But it connects resource contention to the thing operators need to protect: useful progress. Add it to the same timeline as latency and throughput, examine the right cgroup, and use the signal to decide what to investigate next.

References

Linux kernel PSI documentation; Linux kernel cgroup v2 documentation.