>
> valgrind --tool=cachegrind --D1=128,2,64 ./swaptestrand2 2000000
>
> and now I get
>
> D   refs:      144,057,551  (94,023,790 rd   + 50,033,761 wr)
> D1  misses:     38,556,711  (24,424,753 rd   + 14,131,958 wr)
> L2d misses:      1,602,496  ( 1,477,285 rd   +    125,211 wr)
> D1  miss rate:        26.7% (      25.9%     +       28.2%  )
> L2d miss rate:         1.1% (       1.5%     +        0.2%  )
>
> I am mystified, how can the D1 miss rate possibly be so low?  The
> total size in bytes of the array is 8,000,000 bytes and the cache size
> is 8,192 bytes!
>

Typo: I mean a cache size 128 bytes of course, which is even more surprising.

Raphael

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to