mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-14 22:17:26 +01:00
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
SHORT L2 cache bandwidth in MBytes/s
|
|
|
|
EVENTSET
|
|
PMC0 DATA_CACHE_REFILLS_ALL
|
|
PMC1 DATA_CACHE_REFILLS_SYSTEM
|
|
PMC2 CPU_CLOCKS_UNHALTED
|
|
|
|
METRICS
|
|
Runtime (RDTSC) [s] time
|
|
L2 bandwidth [MBytes/s] 1.0E-06*(PMC0-PMC1)*64.0/time
|
|
L2 data volume [GBytes] 1.0E-09*(PMC0-PMC1)*64.0
|
|
Cache refill bandwidth System/L2 [MBytes/s] 1.0E-06*PMC0*64.0/time
|
|
Cache refill bandwidth System [MBytes/s] 1.0E-06*PMC1*64.0/time
|
|
|
|
LONG
|
|
Formulas:
|
|
L2 bandwidth [MBytes/s] = 1.0E-06*(DATA_CACHE_REFILLS_ALL-DATA_CACHE_REFILLS_SYSTEM)*64/time
|
|
L2 data volume [GBytes] = 1.0E-09*(DATA_CACHE_REFILLS_ALL-DATA_CACHE_REFILLS_SYSTEM)*64
|
|
Cache refill bandwidth system/L2 [MBytes/s] = 1.0E-06*DATA_CACHE_REFILLS_ALL*64/time
|
|
Cache refill bandwidth system [MBytes/s] = 1.0E-06*DATA_CACHE_REFILLS_SYSTEM*64/time
|
|
-
|
|
Profiling group to measure L2 cache bandwidth. The bandwidth is
|
|
computed by the number of cache line loaded from L2 to L1 and the
|
|
number of modified cache lines evicted from the L1.
|
|
Note that this bandwidth also included data transfers due to a
|
|
write allocate load on a store miss in L1 and copy back transfers if
|
|
originated from L2. L2-L2 data volume is the total data volume transferred
|
|
between L2 and L1.
|
|
|