summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorScott Cheloha <cheloha@linux.ibm.com>2020-07-27 13:46:05 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-02 11:00:20 +1000
commit5d1bc776428f34941a6237afb9454061b5b5e1e1 (patch)
treec664aff906f7bb7161d9d8a628334f910b1406c5 /tools/perf/scripts/python
parent59562b5c33d6ff3685509ed58b2ed3c5b5712704 (diff)
downloadlinux-5d1bc776428f34941a6237afb9454061b5b5e1e1.tar.gz
linux-5d1bc776428f34941a6237afb9454061b5b5e1e1.zip
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 <cheloha@linux.ibm.com> Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com> Acked-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200727184605.2945095-2-cheloha@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions