From: Jiri Olsa <jolsa@redhat.com>
To: Stephane Eranian <eranian@google.com>,
Yan Zheng <zheng.z.yan@intel.com>,
Andi Kleen <andi@firstfloor.org>
Cc: linux-kernel@vger.kernel.org,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Corey Ashford <cjashfor@linux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
Ingo Molnar <mingo@kernel.org>, Paul Mackerras <paulus@samba.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Stephane Eranian <eranian@google.com>,
Joe Mario <jmario@redhat.com>,
Richard Fowles <rfowles@redhat.com>,
Don Zickus <dzickus@redhat.com>
Subject: [RFC/BUG] not working LLC-load-misses on SandyBridge (42) and Haswell
Date: Mon, 2 Jun 2014 13:56:40 +0200 [thread overview]
Message-ID: <20140602115550.GA1215@krava.brq.redhat.com> (raw)
In-Reply-To: <20140601142622.GA9131@krava.brq.redhat.com>
hi,
Joe asked about issues with LLC-load-misses on Haswell. I tried
and found it non functional on SandyBridge (42) as well:
[jolsa@krava perf]$ ./perf stat -e LLC-load-misses ls
...
Performance counter stats for 'ls':
<not supported> LLC-load-misses
0.007195547 seconds time elapsed
both SandyBridge (42 and 45) share following config arrays:
snb_hw_cache_event_ids and snb_hw_cache_extra_regs
but have different 'x86_pmu.extra_regs' which makes LLC-load-misses
event fail (in valid_mask check) in x86_pmu_extra_regs function
Haswell is sharing the same extra regs/ids config as SandyBridge (42),
so it suffers in the same way.
Not sure if thats known issue, but it looks like we need special
set of snb_hw_cache_event_ids for SandyBridge (42) ?
thanks for info,
jirka
next prev parent reply other threads:[~2014-06-02 11:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 15:15 [RFC/PATCH 0/2] perf tools: Factor sort elide Jiri Olsa
2014-05-23 15:15 ` [PATCH 1/2] perf tools: Remove elide setup for SORT_MODE__MEMORY mode Jiri Olsa
2014-06-05 14:31 ` [tip:perf/core] " tip-bot for Jiri Olsa
2014-05-23 15:15 ` [PATCH 2/2] perf tools: Move elide bool into perf_hpp_fmt struct Jiri Olsa
2014-05-30 5:47 ` [RFC/PATCH 0/2] perf tools: Factor sort elide Namhyung Kim
2014-06-01 14:26 ` [PATCHv2] perf tools: Move elide bool into perf_hpp_fmt struct Jiri Olsa
2014-06-02 11:56 ` Jiri Olsa [this message]
2014-06-02 15:25 ` [RFC/BUG] not working LLC-load-misses on SandyBridge (42) and Haswell Andi Kleen
2014-06-05 14:32 ` [tip:perf/core] perf tools: Move elide bool into perf_hpp_fmt struct tip-bot for Jiri Olsa
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=20140602115550.GA1215@krava.brq.redhat.com \
--to=jolsa@redhat.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@kernel.org \
--cc=andi@firstfloor.org \
--cc=cjashfor@linux.vnet.ibm.com \
--cc=dzickus@redhat.com \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=jmario@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=paulus@samba.org \
--cc=rfowles@redhat.com \
--cc=zheng.z.yan@intel.com \
/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