All of lore.kernel.org
 help / color / mirror / Atom feed
* event for speculative executed instruction
@ 2015-05-20 13:45 Marina Moran
  2015-05-20 14:23 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Marina Moran @ 2015-05-20 13:45 UTC (permalink / raw)
  To: linux-perf-users

Hi All,

We need to measure over two Intel computers the instruction executed
in a speculative manner, but not commited. We need to measure how many
instructions are discarded (over a period of time), to see how the
speculative execution is working. We check the manual with the
Performance Monitoring Events (from Intel) but cant figure out which
event to monitor. If you could please know where to look for it, or
with which name we shoudl look for it.

The intels are:
Intel Xeon CPU E5-2630 0 @ 2.30GHz
Intel Core2 Quad CPU    Q6600  @ 2.40GHz

Thanks so much in advance.
regards
Marina

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: event for speculative executed instruction
  2015-05-20 13:45 event for speculative executed instruction Marina Moran
@ 2015-05-20 14:23 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2015-05-20 14:23 UTC (permalink / raw)
  To: Marina Moran; +Cc: linux-perf-users

Marina Moran <esperandoelmilagro@gmail.com> writes:
>
> The intels are:
> Intel Xeon CPU E5-2630 0 @ 2.30GHz
> Intel Core2 Quad CPU    Q6600  @ 2.40GHz

What you can measure on the E5 is cycles stalled due to recovery
from mis-speculation. That is not quite the same, but somewhat related.
The toplev tool in pmu-tools (http://github.com/andikleen/pmu-tools) can
do this on top of perf for the E5. No support for the Core2.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-20 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-20 13:45 event for speculative executed instruction Marina Moran
2015-05-20 14:23 ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.