Memory bandwidth measurement

Memory bandwidth measurement

I want to know the rate of memory bandwidth, in GNU/Linux, but i can't find some way.

There are tools that read Memory bandwidth, but i believe they read the factory value no the current rate in time execution.

An other doubt is, when we deactivate the caché memory(setting bit 30 in CR0 register), it get slow performance(other topic), but this sluggish performance is for lack of caché memory o the decrease is caused by decreasing rate of 'memory bandwidth' in the main memory?


4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Intel's PCM tool and Intel's VTune package can read the memory traffic counters and compute the memory bandwidth on many (most?) recent Intel-based systems, especially under Linux.  (I don't follow what the current capabilities are under Windows.)  In the Linux world, newer kernels (e.g. 3.7 and above?) can read the memory traffic counters on recent Intel processors.
I recommend a Google search using the terms:         memory bandwidth

This functionality has been back-ported to RHEL 6.4, and I have posted an example of how to use the Linux "perf" facility to read these counters in another topic in this forum ( entitled "ACT_COUNT littile than PRE_COUNT.PAGE_MISS").

John D. McCalpin, PhD
"Dr. Bandwidth"

Thanks John D. McCalpin I will prove it.

Hi Isaias, 

You may also find the following tutorial and article helpfull. Both of these focus on using Intel VTune Amplifier XE for computing memory bandwidth of your application.

Leave a Comment

Please sign in to add a comment. Not a member? Join today