On Wednesday 17 October 2018 02:03 PM, Lorenzo Chelini wrote:
Hi All,

I am a PhD at IBM Zurich. I am playing around with the new POWER9 servers.
I am interested in plotting a roofline model for a given application, but I
need
to measure the traffic to and from the memory.
Ideally, what I would like to measure is the traffic at the memory
controller level.

Yes, you can get that data using Nest IMC counters. And perf
has support to expose these counters. Here is a usage example

$ perf stat -e nest_mcs01_imc/PM_MCS01_128B_RD_DISP_PORT01/  -I 1000 --per-socket

Above command gets you all the Read traffic via specific memory controller/port. Option "-I" reads the counter every sec and "--per-socket" presents the data socket wise.

"perf list nest_mcs" command will list all supportted events for memory controller.


Maddy


Do you know if this is possible using perf? If yes, which performance
counters I should
query to have an estimate on the memory traffic?

Thanks for your time.
Looking forward to hearing from you.
Best regards,
Lorenzo Chelini


  • help Lorenzo Chelini
    • Re: help Madhavan Srinivasan

Reply via email to