Skip to content

Commit be87ab0

Browse files
Waiman-Longtorvalds
authored andcommitted
psi: clarify the units used in pressure files
The output of the PSI files show a bunch of numbers with no unit. The psi.txt documentation file also does not indicate what units are used. One can only find out by looking at the source code. The units are percentage for the averages and useconds for the total. Make the information easier to find by documenting the units in psi.txt. Link: http://lkml.kernel.org/r/20190402193810.3450-1-longman@redhat.com Signed-off-by: Waiman Long <longman@redhat.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org> Cc: Tejun Heo <tj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c6f3c5e commit be87ab0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/accounting/psi.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ situation from a state where some tasks are stalled but the CPU is
5656
still doing productive work. As such, time spent in this subset of the
5757
stall state is tracked separately and exported in the "full" averages.
5858

59-
The ratios are tracked as recent trends over ten, sixty, and three
60-
hundred second windows, which gives insight into short term events as
61-
well as medium and long term trends. The total absolute stall time is
62-
tracked and exported as well, to allow detection of latency spikes
63-
which wouldn't necessarily make a dent in the time averages, or to
64-
average trends over custom time frames.
59+
The ratios (in %) are tracked as recent trends over ten, sixty, and
60+
three hundred second windows, which gives insight into short term events
61+
as well as medium and long term trends. The total absolute stall time
62+
(in us) is tracked and exported as well, to allow detection of latency
63+
spikes which wouldn't necessarily make a dent in the time averages,
64+
or to average trends over custom time frames.
6565

6666
Cgroup2 interface
6767
=================

0 commit comments

Comments
 (0)