Leo Yan
91d933c221
perf c2c: Add metrics "RMT Load Hit"
...
The metrics "LLC Ld Miss" and "Load Dram" overlap with each other for
accouting items:
"LLC Ld Miss" = "lcl_dram" + "rmt_dram" + "rmt_hit" + "rmt_hitm"
"Load Dram" = "lcl_dram" + "rmt_dram"
Furthermore, the metrics "LLC Ld Miss" is not directive to show
statistics due to it contains summary value and cannot give out
breakdown details.
For this reason, add a new metrics "RMT Load Hit" which is used to
present the remote cache hit; it contains two items:
"RMT Load Hit" = remote hit ("rmt_hit") + remote hitm ("rmt_hitm")
As result, the metrics "LLC Ld Miss" is perfectly divided into two
metrics "RMT Load Hit" and "Load Dram". It's not necessary to keep
metrics "LLC Ld Miss", so remove it.
Before:
# ----------- Cacheline ---------- Tot ------- Load Hitm ------- Total Total Total ---- Stores ---- ----- Core Load Hit ----- - LLC Load Hit -- LLC --- Load Dram ----
# Index Address Node PA cnt Hitm Total LclHitm RmtHitm records Loads Stores L1Hit L1Miss FB L1 L2 LclHit LclHitm Ld Miss Lcl Rmt
# ..... .................. .... ...... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ........ ....... ....... ........ ........
#
0 0x55f07d580100 0 1499 85.89% 481 481 0 7243 3879 3364 2599 765 548 2615 66 169 481 0 0 0
1 0x55f07d580080 0 1 13.93% 78 78 0 664 664 0 0 0 187 361 27 11 78 0 0 0
2 0x55f07d5800c0 0 1 0.18% 1 1 0 405 405 0 0 0 131 0 10 263 1 0 0 0
After:
# ----------- Cacheline ---------- Tot ------- Load Hitm ------- Total Total Total ---- Stores ---- ----- Core Load Hit ----- - LLC Load Hit -- - RMT Load Hit -- --- Load Dram ----
# Index Address Node PA cnt Hitm Total LclHitm RmtHitm records Loads Stores L1Hit L1Miss FB L1 L2 LclHit LclHitm RmtHit RmtHitm Lcl Rmt
# ..... .................. .... ...... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ........ ....... ........ ....... ........ ........
#
0 0x55f07d580100 0 1499 85.89% 481 481 0 7243 3879 3364 2599 765 548 2615 66 169 481 0 0 0 0
1 0x55f07d580080 0 1 13.93% 78 78 0 664 664 0 0 0 187 361 27 11 78 0 0 0 0
2 0x55f07d5800c0 0 1 0.18% 1 1 0 405 405 0 0 0 131 0 10 263 1 0 0 0 0
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Joe Mario <jmario@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20201014050921.5591-9-leo.yan@linaro.org
2020-10-15 09:34:51 -03:00
..
2020-04-03 13:12:26 -07:00
2020-08-12 08:52:32 -03:00
2020-09-21 21:57:12 -04:00
2020-09-01 18:04:15 +02:00
2020-09-09 11:11:01 -03:00
2020-08-07 11:33:25 -07:00
2020-07-12 10:22:01 +02:00
2020-07-06 10:46:23 +00:00
2020-03-25 11:50:48 +01:00
2020-09-14 19:06:41 -03:00
2020-09-21 07:50:58 -06:00
2020-04-21 09:13:12 -04:00
2020-04-10 15:36:22 -07:00
2020-03-25 11:50:48 +01:00
2020-10-14 11:28:12 -03:00
2020-08-03 14:39:35 -07:00
2020-09-18 19:37:51 +02:00
2020-04-02 17:57:10 +01:00
2020-03-25 11:50:48 +01:00
2020-10-15 09:34:51 -03:00
2020-08-03 20:37:22 -07:00
2020-03-25 18:58:11 -07:00
2020-06-11 16:27:24 +01:00
2020-09-25 17:15:19 -07:00
2020-04-07 20:00:16 -07:00
2020-08-19 14:11:44 +02:00
2020-08-11 14:34:17 -07:00
2020-06-03 20:09:49 -07:00
2020-07-13 10:42:02 -07:00