Re: Performance counter API review was [patch] PerformanceCounters for Linux, v3

From: Peter Zijlstra
Date: Wed Feb 04 2009 - 05:52:35 EST


On Wed, 2009-02-04 at 21:47 +1100, Paul Mackerras wrote:
> Peter Zijlstra writes:
>
> > How is smp_call_function() going to help here? You still need to pull
> > all that data through that one FD. That's a cacheline bounce fest.
>
> Well, let's put this into perspective. We would be collecting 8 bytes
> of data from each CPU. Hardly a "cacheline bounce fest". :)

Ah, I was thinking more of the event triggered profiling, like NMI time,
cachemiss or pagefault profiling.

In those cases you'd get a continuous stream of data for each cpu, at
possibly quite high speeds.

--
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/