diff options
| author | Scott Cheloha <[email protected]> | 2020-07-27 13:46:05 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-09-02 11:00:20 +1000 |
| commit | 5d1bc776428f34941a6237afb9454061b5b5e1e1 (patch) | |
| tree | c664aff906f7bb7161d9d8a628334f910b1406c5 /tools/perf/scripts/python | |
| parent | 59562b5c33d6ff3685509ed58b2ed3c5b5712704 (diff) | |
powerpc/pseries: new lparcfg key/value pair: partition_affinity_score
The H_GetPerformanceCounterInfo (GPCI) PHYP hypercall has a subcall,
Affinity_Domain_Info_By_Partition, which returns, among other things,
a "partition affinity score" for a given LPAR. This score, a value on
[0-100], represents the processor-memory affinity for the LPAR in
question. A score of 0 indicates the worst possible affinity while a
score of 100 indicates perfect affinity. The score can be used to
reason about performance.
This patch adds the score for the local LPAR to the lparcfg procfile
under a new 'partition_affinity_score' key.
Signed-off-by: Scott Cheloha <[email protected]>
Reviewed-by: Tyrel Datwyler <[email protected]>
Acked-by: Nathan Lynch <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions