On Thu, Jul 24, 2025 at 10:43:27AM +0200, Daniel Sedlak wrote:
...
Currently, we know the following information:
- we know when the pressure starts
- and we know when the pressure ends if not rearmed (start time + HZ)
From that, we should be able to calculate a similar triplet to the pressure
endpoints in the cgroups (cpu|io|memory|irq).pressure. That is, how much %
of time on average was spent under pressure for avg10, avg60, avg300 i.e.
average pressure over the past 10 seconds, 60 seconds, and 300 seconds,
respectively. (+ total time spent under pressure)
Let's just add the cumulative duration that socket pressure was present.
Thanks.
--
tejun