How to measure the RAM read/write performance

From
sandeep kumar <hidden>
Date
2013-02-27 08:17:56
Reply to
Mulyadi Santosa, 2013-02-26
let' see....
what if you do read and write pattern, in certain order so that it
will be invalidated by the L1/L2/L3 cache everytime?
And how do you suggest we do that?? That is infact my question..



On Tue, Feb 26, 2013 at 9:05 PM, Mulyadi Santosa
[off-list ref]wrote:
On Tue, Feb 26, 2013 at 6:31 PM, sandeep kumar
[off-list ref] wrote:
quoted
Hi All
In performance benchmark tools, When we profile read/write timings
mostly,
quoted
those read/writes are done to cache only.

I want to measure my DDR(RAM chip) performance.
So i want to make sure, every read/write should happen to DDR RAM chip
only.

let' see....

what if you do read and write pattern, in certain order so that it
will be invalidated by the L1/L2/L3 cache everytime?

AFAIK, one thing for sure, reading data from sequentially and re-read
them will make end up reading cache in the 2nd operation and so on.

I think the most certain way to do it is to read data (or write) data
bigger than total L1/L2/L3 cache.

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com


-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130227/556b60f7/attachment.html 
Thread (21 messages) 21 messages, 8 authors, last reply 2013-03-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help