<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">&gt;let&#39; see....</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">&gt;what if you do read and write pattern, in certain order so that it</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">&gt;will be invalidated by the L1/L2/L3 cache everytime?</span><br style="font-family:arial,sans-serif;font-size:13px"><br>And how do you suggest we do that?? That is infact my question.. <br style="font-family:arial,sans-serif;font-size:13px">

<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 9:05 PM, Mulyadi Santosa <span dir="ltr">&lt;<a href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Feb 26, 2013 at 6:31 PM, sandeep kumar<br>
&lt;<a href="mailto:coolsandyforyou@gmail.com">coolsandyforyou@gmail.com</a>&gt; wrote:<br>
&gt; Hi All<br>
&gt; In performance benchmark tools, When we profile read/write timings mostly,<br>
&gt; those read/writes are done to cache only.<br>
&gt;<br>
&gt; I want to measure my DDR(RAM chip) performance.<br>
&gt; So i want to make sure, every read/write should happen to DDR RAM chip only.<br>
<br>
</div>let&#39; see....<br>
<br>
what if you do read and write pattern, in certain order so that it<br>
will be invalidated by the L1/L2/L3 cache everytime?<br>
<br>
AFAIK, one thing for sure, reading data from sequentially and re-read<br>
them will make end up reading cache in the 2nd operation and so on.<br>
<br>
I think the most certain way to do it is to read data (or write) data<br>
bigger than total L1/L2/L3 cache.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div>