forked from gpkulkarni/module_tx2_pmu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
thunderx2-events.txt
74 lines (52 loc) · 1.85 KB
/
thunderx2-events.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
L3C events:
============
read_request:
Number of Read requests received by the L3 Cache.
This includes Read as well as Read Exclusives.
read_hit:
Number of Read requests received by the L3 cache that were hit
in the L3 (Data provided form the L3)
writeback_request:
Number of Write Backs received by the L3 Cache. These are basically
the L2 Evicts and writes from the PCIe Write Cache.
evict_request:
Number of Evicts that the L3 cache generated.
NOTE:
1. Granularity of all these event counter values are cache line length(64 bytes)
2. L3C cache Hit Ratio = (read_hit + inv_nwrite_hit + inv_hit) / (read_request + inv_nwrite_request + inv_request)
DMC events:
============
cnt_cycles:
Count cycles (Clocks at the DMC clock rate)
write_txns:
Number of 64 Bytes write transactions received by the DMC(s)
read_txns:
Number of 64 Bytes Read transactions received by the DMC(s)
data_transfers:
Number of 64 Bytes data transferred to or from DRAM.
CCPI2 events:
=================
req_pktsent:
Number of Requests packets that are sent form this node. A Request
packet can contain one or two requests of any type. Some examples of
requests types are, Reads, Read Exclusive, Writes and Evicts.
snoop_pktsent:
Number of Snoops (coherency) packets that are sent from this node. A snoop
packet can contain one or two snoops.
data_pktsent:
Number of Data packets that are sent from this node. Data packet can be any
size, but in general they are 64 bytes.
gic_pktsent:
Number of Gic(interrupt related) packets that are sent from this node.
Examples:
perf stat -a -e uncore_dmc_0/cnt_cycles/ sleep 1
perf stat -a -e \
uncore_dmc_0/cnt_cycles/,\
uncore_dmc_0/data_transfers/,\
uncore_dmc_0/read_txns/,\
uncore_dmc_0/write_txns/ sleep 1
perf stat -a -e \
uncore_l3c_0/read_request/,\
uncore_l3c_0/read_hit/,\
uncore_l3c_0/inv_request/,\
uncore_l3c_0/inv_hit/ sleep 1