diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-12-10 12:30:23 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-12-12 23:22:18 +0100 |
commit | 04dab58a39d402162a7effe7278df8cd41557252 (patch) | |
tree | 72ef8dca1e3a3d56bf68ce729678c638dd247e8b /Documentation/admin-guide/pm | |
parent | 9456823c842f346c74265fcd98d008d87a7eb6f5 (diff) | |
download | linux-04dab58a39d402162a7effe7278df8cd41557252.tar.bz2 |
cpuidle: Add 'above' and 'below' idle state metrics
Add two new metrics for CPU idle states, "above" and "below", to count
the number of times the given state had been asked for (or entered
from the kernel's perspective), but the observed idle duration turned
out to be too short or too long for it (respectively).
These metrics help to estimate the quality of the CPU idle governor
in use.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/admin-guide/pm')
-rw-r--r-- | Documentation/admin-guide/pm/cpuidle.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/admin-guide/pm/cpuidle.rst b/Documentation/admin-guide/pm/cpuidle.rst index 9a34484fd6e4..106379e2619f 100644 --- a/Documentation/admin-guide/pm/cpuidle.rst +++ b/Documentation/admin-guide/pm/cpuidle.rst @@ -398,6 +398,16 @@ deeper the (effective) idle state represented by it. Each of them contains a number of files (attributes) representing the properties of the idle state object corresponding to it, as follows: +``above`` + Total number of times this idle state had been asked for, but the + observed idle duration was certainly too short to match its target + residency. + +``below`` + Total number of times this idle state had been asked for, but cerainly + a deeper idle state would have been a better match for the observed idle + duration. + ``desc`` Description of the idle state. |