Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Cycles spent requests to DRAM on Ivy/Sandy Bridge

Matthew_C_6
Beginner
501 Views

Hi,

I was wondering if anyone could point me to the proper hardware counters (and equation) for measuring the fraction of cycles spent servicing memory requests (loads/stores) to DRAM on Ivybridge/Sandybridge?

0 Kudos
2 Replies
McCalpinJohn
Honored Contributor III
501 Views

It depends on what you mean by "cycles servicing memory requests to DRAM"....

For the Xeon E5-2600 and Xeon E5-2600 v2 processors, you can read the memory controller DRAM CAS counters to determine the exact number of memory reads and writes that went to the DRAMs.  Each transaction takes four DRAM (major) cycles, so you can easily compare the amount of time that the DRAM is busy with data transfers against the elapsed wall clock time.

0 Kudos
SudarshanSrinivasan
184 Views

Dear McCalpinJohn, 
Is  this true  ie. each transaction taking four DRAM (major) cycles in the case of other  processors as well ?

I have a Rocket lake 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz  and would like to measure the cycles spent when the DRAM was busy servicing the requests. 

 

Thanks 

Sudarshan S

0 Kudos
Reply