Re: [RFC PATCH 2/3 v2] perf: Implement Nehalem uncore pmu

From: Stephane Eranian
Date: Thu Nov 25 2010 - 16:10:21 EST


On Thu, Nov 25, 2010 at 7:20 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>> Yep, I see no reason to dis-allow sampling. Sure its hard to make sense
>> of it, but since there are people who offline all but one cpu of a
>> package,
>
> Assuming they don't have any active PCI devices either.
>
Good point.

>> I bet there are people who will run just one task on a package
>> as well.
>
> In that case the sampling has a 1/NUM-CPU-THREADS-IN-PACKAGE chance
> to report the right task (or actually somewhat less because the measurement
> skew for uncore is much higher than for normal events)
>
> Really for per core measurements using the OFFCORE events is much better.
>
yes, OFFCORE_RESPONSE is much more useful.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/