lkml.org 
[lkml]   [2010]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: perf tools miscellaneous questions
Date
Victor Jimenez <victor.javier@bsc.es> writes:

[...]

> If you are measuring last level cache misses, I would recommend you to
> use a memory intensive application/benchmark instead of /bin/true, as
> otherwise there can be a significant variation between two runs.

I agree.

But still with intensive application, I got the same results:


$ perf stat -r3 -e cache-misses:u gzip -9 -c vmlinux.o >/dev/null

Performance counter stats for 'gzip -9 -c vmlinux.o' (3 runs):

950704 cache-misses ( +- 24.925% )

82.619412905 seconds time elapsed ( +- 0.072% )


$ perf stat -r3 -e llc-load-misses:u,llc-store-misses:u gzip -9 -c vmlinux.o >/dev/null

Performance counter stats for 'gzip -9 -c vmlinux.o' (3 runs):

317054 LLC-load-misses ( +- 11.758% )
162634 LLC-store-misses ( +- 9.700% )

82.657099783 seconds time elapsed ( +- 0.167% )

Thanks
--
Francis


\
 
 \ /
  Last update: 2010-11-05 13:41    [W:0.044 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site