lkml.org 
[lkml]   [2012]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/3] perf: use hrtimer for event multiplexing
From
On Fri, Sep 7, 2012 at 9:08 PM, Peter Zijlstra <peterz@infradead.org> wrote:
> On Fri, 2012-09-07 at 19:03 +0200, Stephane Eranian wrote:
>> I think having different intervals would be a good thing, especially for uncore.
>> But now, I am wondering how this could work without too much overhead.
>> Looks like you're suggesting arming multiple hrtimers if multiple PMU are
>> overcommitted. Is that right?
>
> Right, we shoulnd't have too many PMUs anyway, let alone over committed
> ones, so a timer per cpu per pmu should be fine.
>
>> As opposed to having a PMU multiplier off of a
>> single per-cpu hrtimer.

That's true. I started modifying my code to implement your suggestion.
We'll see how it goes. Then we would have to export that mux interval
via sysfs for each PMU.


\
 
 \ /
  Last update: 2012-09-07 22:02    [W:0.055 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site