Pressure Stall Information
Plugin: proc.plugin Module: /proc/pressure
Overview
Introduced in Linux kernel 4.20, /proc/pressure
provides information about system pressure stall information
(PSI). PSI is a feature that allows the system to track the amount of time the system is stalled due to
resource contention, such as CPU, memory, or I/O.
The collectors monitored 3 separate files for CPU, memory, and I/O:
- cpu: Tracks the amount of time tasks are stalled due to CPU contention.
- memory: Tracks the amount of time tasks are stalled due to memory contention.
- io: Tracks the amount of time tasks are stalled due to I/O contention.
- irq: Tracks the amount of time tasks are stalled due to IRQ contention.
Each of them provides metrics for stall time over the last 10 seconds, 1 minute, 5 minutes, and 15 minutes.
Monitoring the /proc/pressure files can provide important insights into system performance and capacity planning:
-
Identifying resource contention: If these metrics are consistently high, it indicates that tasks are frequently being stalled due to lack of resources, which can significantly degrade system performance.
-
Troubleshooting performance issues: If a system is experiencing performance issues, these metrics can help identify whether resource contention is the cause.
-
Capacity planning: By monitoring these metrics over time, you can understand trends in resource utilization and make informed decisions about when to add more resources to your system.
This collector is supported on all platforms.
This collector only supports collecting metrics from a single instance of this integration.