diff options
author | Vaibhav Shankar <vaibhav.shankar@intel.com> | 2020-08-13 19:22:34 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-08-15 20:24:18 +0200 |
commit | 24633d901ea44fe99bc9a2d01a3881fa097b78b3 (patch) | |
tree | a76824dc85f05dae0fbbe902a0567a5db93ac1d1 /arch/sparc | |
parent | 50f6c7dbd973092d8e5f3c89f29eb4bea19fdebd (diff) |
perf/x86/intel/uncore: Add BW counters for GT, IA and IO breakdown
Linux only has support to read total DDR reads and writes. Here we
add support to enable bandwidth breakdown-GT, IA and IO. Breakdown
of BW is important to debug and optimize memory access. This can also
be used for telemetry and improving the system software.The offsets for
GT, IA and IO are added and these free running counters can be accessed
via MMIO space.
The BW breakdown can be measured using the following cmd:
perf stat -e uncore_imc/gt_requests/,uncore_imc/ia_requests/,uncore_imc/io_requests/
30.57 MiB uncore_imc/gt_requests/
1346.13 MiB uncore_imc/ia_requests/
190.97 MiB uncore_imc/io_requests/
5.984572733 seconds time elapsed
BW/s = <gt,ia,io>_requests/time elapsed
Signed-off-by: Vaibhav Shankar <vaibhav.shankar@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200814022234.23605-1-vaibhav.shankar@intel.com
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions