~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/admin-guide/perf/thunderx2-pmu.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 =============================================================
  2 Cavium ThunderX2 SoC Performance Monitoring Unit (PMU UNCORE)
  3 =============================================================
  4 
  5 The ThunderX2 SoC PMU consists of independent, system-wide, per-socket
  6 PMUs such as the Level 3 Cache (L3C), DDR4 Memory Controller (DMC) and
  7 Cavium Coherent Processor Interconnect (CCPI2).
  8 
  9 The DMC has 8 interleaved channels and the L3C has 16 interleaved tiles.
 10 Events are counted for the default channel (i.e. channel 0) and prorated
 11 to the total number of channels/tiles.
 12 
 13 The DMC and L3C support up to 4 counters, while the CCPI2 supports up to 8
 14 counters. Counters are independently programmable to different events and
 15 can be started and stopped individually. None of the counters support an
 16 overflow interrupt. DMC and L3C counters are 32-bit and read every 2 seconds.
 17 The CCPI2 counters are 64-bit and assumed not to overflow in normal operation.
 18 
 19 PMU UNCORE (perf) driver:
 20 
 21 The thunderx2_pmu driver registers per-socket perf PMUs for the DMC and
 22 L3C devices.  Each PMU can be used to count up to 4 (DMC/L3C) or up to 8
 23 (CCPI2) events simultaneously. The PMUs provide a description of their
 24 available events and configuration options under sysfs, see
 25 /sys/bus/event_source/devices/uncore_<l3c_S/dmc_S/ccpi2_S/>; S is the socket id.
 26 
 27 The driver does not support sampling, therefore "perf record" will not
 28 work. Per-task perf sessions are also not supported.
 29 
 30 Examples::
 31 
 32   # perf stat -a -e uncore_dmc_0/cnt_cycles/ sleep 1
 33 
 34   # perf stat -a -e \
 35   uncore_dmc_0/cnt_cycles/,\
 36   uncore_dmc_0/data_transfers/,\
 37   uncore_dmc_0/read_txns/,\
 38   uncore_dmc_0/write_txns/ sleep 1
 39 
 40   # perf stat -a -e \
 41   uncore_l3c_0/read_request/,\
 42   uncore_l3c_0/read_hit/,\
 43   uncore_l3c_0/inv_request/,\
 44   uncore_l3c_0/inv_hit/ sleep 1

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php