* perf not measuring LLC events?
@ 2012-12-15 18:26 Dervin Thunk
2013-01-18 16:28 ` Jeff Johnson
0 siblings, 1 reply; 5+ messages in thread
From: Dervin Thunk @ 2012-12-15 18:26 UTC (permalink / raw)
To: linux-perf-users
Dear all,
I'm trying to measure the LLC events of a program. I'm running
linux-tools-3.2.0- 34 on a fairly recent 4 core Intel machine. For a
certain program that reads a 64 MB file into memory, I get
Performance counter stats for './algo data/E.dna':
0 LLC-loads
0 LLC-load-misses
26,538,349 cache-misses
4,465,644,541 L1-dcache-misses
35.116615511 seconds time elapsed
I have tried this in another machine, and it does give me some results
for LLC. Also Valgrind gives me results (different from 0, that is)
Any idea what I'm doing wrong? Anyone else experiencing this problem
with perf right now? Please let me know if I need to provide more
information.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: perf not measuring LLC events?
2012-12-15 18:26 perf not measuring LLC events? Dervin Thunk
@ 2013-01-18 16:28 ` Jeff Johnson
2013-01-21 14:38 ` Jiri Olsa
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Johnson @ 2013-01-18 16:28 UTC (permalink / raw)
To: linux-perf-users
Dervin Thunk <dervin.thunk <at> gmail.com> writes:
>
> Dear all,
>
> I'm trying to measure the LLC events of a program. I'm running
> linux-tools-3.2.0- 34 on a fairly recent 4 core Intel machine. For a
> certain program that reads a 64 MB file into memory, I get
>
> Performance counter stats for './algo data/E.dna':
>
> 0 LLC-loads
> 0 LLC-load-misses
Dervin,
I am experiencing the same issue. I am running perf on an i5 machine. Have you
gotten any feedback regarding this?
-Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: perf not measuring LLC events?
2013-01-18 16:28 ` Jeff Johnson
@ 2013-01-21 14:38 ` Jiri Olsa
2013-01-21 16:10 ` Jeff
0 siblings, 1 reply; 5+ messages in thread
From: Jiri Olsa @ 2013-01-21 14:38 UTC (permalink / raw)
To: Jeff Johnson; +Cc: linux-perf-users
On Fri, Jan 18, 2013 at 04:28:51PM +0000, Jeff Johnson wrote:
> Dervin Thunk <dervin.thunk <at> gmail.com> writes:
>
> >
> > Dear all,
> >
> > I'm trying to measure the LLC events of a program. I'm running
> > linux-tools-3.2.0- 34 on a fairly recent 4 core Intel machine. For a
> > certain program that reads a 64 MB file into memory, I get
> >
> > Performance counter stats for './algo data/E.dna':
> >
> > 0 LLC-loads
> > 0 LLC-load-misses
>
>
> Dervin,
> I am experiencing the same issue. I am running perf on an i5 machine. Have you
> gotten any feedback regarding this?
I'm getting some 'sane' numbers on 2 cores i7 SandyBridge on 3.6.11-1.fc17.x86_64
not sure if this was broken back in 3.2.0
please be more specific on what system you're testing on
and provide whole perf stat command line
jirka
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: perf not measuring LLC events?
2013-01-21 14:38 ` Jiri Olsa
@ 2013-01-21 16:10 ` Jeff
2013-01-22 15:06 ` Jiri Olsa
0 siblings, 1 reply; 5+ messages in thread
From: Jeff @ 2013-01-21 16:10 UTC (permalink / raw)
To: Jiri Olsa; +Cc: linux-perf-users
Specs:
i5 Sandy Bridge 2400
Model 42
Stepping 7
Ubuntu 12.10 64 bit.
Dell Optiplex 790
On Mon, Jan 21, 2013 at 6:38 AM, Jiri Olsa <jolsa@redhat.com> wrote:
> On Fri, Jan 18, 2013 at 04:28:51PM +0000, Jeff Johnson wrote:
>> Dervin Thunk <dervin.thunk <at> gmail.com> writes:
>>
>> >
>> > Dear all,
>> >
>> > I'm trying to measure the LLC events of a program. I'm running
>> > linux-tools-3.2.0- 34 on a fairly recent 4 core Intel machine. For a
>> > certain program that reads a 64 MB file into memory, I get
>> >
>> > Performance counter stats for './algo data/E.dna':
>> >
>> > 0 LLC-loads
>> > 0 LLC-load-misses
>>
>>
>> Dervin,
>> I am experiencing the same issue. I am running perf on an i5 machine. Have you
>> gotten any feedback regarding this?
>
> I'm getting some 'sane' numbers on 2 cores i7 SandyBridge on 3.6.11-1.fc17.x86_64
>
> not sure if this was broken back in 3.2.0
>
> please be more specific on what system you're testing on
> and provide whole perf stat command line
>
> jirka
Specs:
i5 Sandy Bridge 2400
Model 42
Stepping 7
Ubuntu 12.10 64 bit.
Dell Optiplex 790
Perf command: perf stat -e LLC-loads -r 3 <my binary under test>
Thanks,
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: perf not measuring LLC events?
2013-01-21 16:10 ` Jeff
@ 2013-01-22 15:06 ` Jiri Olsa
0 siblings, 0 replies; 5+ messages in thread
From: Jiri Olsa @ 2013-01-22 15:06 UTC (permalink / raw)
To: Jeff; +Cc: linux-perf-users
On Mon, Jan 21, 2013 at 08:10:03AM -0800, Jeff wrote:
> Specs:
> i5 Sandy Bridge 2400
> Model 42
> Stepping 7
>
> Ubuntu 12.10 64 bit.
> Dell Optiplex 790
>
>
> On Mon, Jan 21, 2013 at 6:38 AM, Jiri Olsa <jolsa@redhat.com> wrote:
> > On Fri, Jan 18, 2013 at 04:28:51PM +0000, Jeff Johnson wrote:
> >> Dervin Thunk <dervin.thunk <at> gmail.com> writes:
> >>
> >> >
> >> > Dear all,
> >> >
> >> > I'm trying to measure the LLC events of a program. I'm running
> >> > linux-tools-3.2.0- 34 on a fairly recent 4 core Intel machine. For a
> >> > certain program that reads a 64 MB file into memory, I get
> >> >
> >> > Performance counter stats for './algo data/E.dna':
> >> >
> >> > 0 LLC-loads
> >> > 0 LLC-load-misses
> >>
> >>
> >> Dervin,
> >> I am experiencing the same issue. I am running perf on an i5 machine. Have you
> >> gotten any feedback regarding this?
> >
> > I'm getting some 'sane' numbers on 2 cores i7 SandyBridge on 3.6.11-1.fc17.x86_64
> >
> > not sure if this was broken back in 3.2.0
> >
> > please be more specific on what system you're testing on
> > and provide whole perf stat command line
> >
> > jirka
>
> Specs:
> i5 Sandy Bridge 2400
> Model 42
> Stepping 7
>
> Ubuntu 12.10 64 bit.
> Dell Optiplex 790
>
> Perf command: perf stat -e LLC-loads -r 3 <my binary under test>
I found Ubuntu 12.10 is like 3.5 kernel, right?
There are some perf tool cache event fixies after 3.5,
but non of the tags I tried showed the error.
Any chance you could try with latest upstream - kernel/perf?
jirka
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-22 15:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-15 18:26 perf not measuring LLC events? Dervin Thunk
2013-01-18 16:28 ` Jeff Johnson
2013-01-21 14:38 ` Jiri Olsa
2013-01-21 16:10 ` Jeff
2013-01-22 15:06 ` Jiri Olsa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).