linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Olsa <jolsa@redhat.com>
To: Jeff <krackajak@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: perf not measuring LLC events?
Date: Tue, 22 Jan 2013 16:06:00 +0100	[thread overview]
Message-ID: <20130122150559.GH1037@krava.brq.redhat.com> (raw)
In-Reply-To: <CAO+S5Jkah32o+C7_ZXPjut0=LUkzpFhX1r_=T1iS0LXwf2zHLQ@mail.gmail.com>

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

      reply	other threads:[~2013-01-22 15:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130122150559.GH1037@krava.brq.redhat.com \
    --to=jolsa@redhat.com \
    --cc=krackajak@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).