Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Memory bandwidth without uncore counters

Anatoly_S_
Beginner
1,112 Views

 

Hello!

I'm trying to get the RAM and cache bandwidth metrics. It is seem possible to benchmark the system capacity, using lmbench for example, but I wonder how to do it for existing process (i.e. utilization)? 

I see, that I can use uncore counters with `perf` utility, but seems like there is no uncore support on my processor:

model           : 60
model name      : Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz
stepping        : 3
microcode       : 0x1a

 

# ls /sys/bus/event_source/devices/
breakpoint  cpu  software  tracepoint

How can I track for the memory bandwidth metrics for some PID, more or less accurately? 

Thanks in advance!

0 Kudos
2 Replies
McCalpinJohn
Honored Contributor III
1,112 Views

There are some memory bandwidth counters in the Xeon E3-1230 v3, but they are not easy to use....

Documentation is at https://software.intel.com/en-us/articles/monitoring-integrated-memory-controller-requests-in-the-2nd-3rd-and-4th-generation-intel

 

0 Kudos
Thomas_W_Intel
Employee
1,112 Views

Intel Performance Counter Monitor contains a sample implementation for reading these counters. However, they don't allow you to distinguish between processes. My recommendation is therefore that you do the measurement on an otherwise idle system.

0 Kudos
Reply