lkml.org 
[lkml]   [2013]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf x86: Change SandyBridge and IvyBrige instructions event to be precise
> I don't think it buys you much. People read too much into what
> PEBS gives you. I can show you examples where PEBS
> is worse than no PEBS.

Nothing is perfect in sampling, but the precise instructions event
is definitely better in a range of situations. It avoids
a lot of shadow effects.

I think it's a good choice for a lot of situations, although
on Ivy Bridge without EventingRip the BB walking is still
fairly expensive.

It would be a good default for the "user only asks for instructions
for sampling and nothing else" situation, especially on Haswell
which has EventingRip. But that's not straight forward to detect.

-Andi

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


\
 
 \ /
  Last update: 2013-02-20 23:42    [W:0.070 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site