help

2 messages, 2 authors, 2018-10-17 · open the first message on its own page

help

From: Lorenzo Chelini <hidden>
Date: 2018-10-17 08:35:29

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.

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

Re: help

From: Madhavan Srinivasan <hidden>
Date: 2018-10-17 09:29:55


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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help