Measure memory bandwidth
Dimitris Ganosis <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <CAKjSCTXwHb2WY0EUmTCU+OEkVxEQpLDdLXVMLpZTmaOqu67GFA@mail.gmail.com> |
I run an Intel(R) Xeon(R) CPU E5520 @ 2.27GHz and follow, apart from perf list, this list <http://oprofile.sourceforge.net/docs/intel-corei7-events.php>for the available counters. I read this article <https://yunmingzhang.wordpress.com/2015/07/22/measure-memory-bandwidth-using-uncore-counters/> about memory bandwidth but unfortunately my CPU doesn't support these counters. I found, here <https://software.intel.com/en-us/articles/detecting-memory-bandwidth-saturation-in-threaded-applications>, that Memory Bandwidth = 1.0e-9 * (UNC_IMC_NORMAL_READS.ANY + UNC_IMC_WRITES.FULL.ANY) *64 / (wall clock time in seconds) but my CPU doesn't support these two counters as well. The closest available events in my CPU are uncore/qmc_normal_reads_any/ and uncore/qmc_writes_full_any/ Are these events equivalent? Is it valid to measure memory bandwidth with this formula? Memory Bandwidth = 1.0e-9 * (uncore/qmc_normal_reads_any/+uncore/qmc_writes_full_any/)*64 / (wall clock time in seconds) Thank you vere much! ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ oprofile-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oprofile-list