lkml.org 
[lkml]   [2009]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [numbers] perfmon/pfmon overhead of 17%-94%

* Vince Weaver <vince@deater.net> wrote:

>> If the 5 thousand cycles measurement overhead _still_ matters to
>> you under such circumstances then by all means please submit the
>> patches to improve it. Despite your claims this is totally
>> fixable with the current perfcounters design, Peter outlined the
>> steps of how to solve it, you can utilize ptrace if you want to.
>
> Is it really "totally" fixible? I don't just mean getting the
> overhead from ~3000 down to ~100, I mean down to zero.

The thing is, not even pfmon gets it down to zero:

pfmon -e INSTRUCTIONS_RETIRED --follow-fork --aggregate-results ~/million
1000001 INSTRUCTIONS_RETIRED
So ... do you take the hardliner purist view and consider it crap
due to that imprecision, or do you take the pragmatist view of also
considering the relative relevance of any imperfection? ;-)

Ingo


\
 
 \ /
  Last update: 2009-06-29 23:05    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean