I know this is not a Perf forum and not a good place to ask but that would be so much appreciated if anyone can help, when I look at the DRAM_CHANNEL_X in the LIKWID report I am getting this
DRAM_CHANNEL_0 0
DRAM_CHANNEL_1 0
DRAM_CHANNEL_2 6344369000
DRAM_CHANNEL_3 6344458000
DRAM_CHANNEL_4 6347401000
DRAM_CHANNEL_5 6348221000
DRAM_CHANNEL_6 0
DRAM_CHANNEL_7 0
==============================
Sum = 25G
but when I am collecting the activities on corresponding PMU events I am getting way lower than what LIKWID reports
1,297 r3807 -75.01%
0 r3847 -75.00%
0 r3887 -75.01%
18,992,415 r38c7 -75.00%
1,457 r38107 -75.00%
5,322,830,413 r38147 -75.00%
9,882,455,382 r38187 -74.99%
19,013,627 r381c7 -74.99%
=============================
sum = 15G
You mentioned that I need to use the unit name (DFC) here but in the perf stat command, I can't find any relevant flag to enter the unit name. In perf, we can only define the PMU with event number and Umask.
running likwid-perfctr -e gives me the following
DRAM_CHANNEL_0, 0x7, 0x38, DFC
DRAM_CHANNEL_1, 0x47, 0x38, DFC
DRAM_CHANNEL_2, 0x87, 0x38, DFC
DRAM_CHANNEL_3, 0xC7, 0x38, DFC
DRAM_CHANNEL_4, 0x107, 0x38, DFC
DRAM_CHANNEL_5, 0x147, 0x38, DFC
DRAM_CHANNEL_6, 0x187, 0x38, DFC
DRAM_CHANNEL_7, 0x1C7, 0x38, DFC
Again, thanks for your suggestions, I appreciate your help and time.