Re: [RFD] Future tracing/instrumentation directions
From: Li Zefan
Date: Fri May 21 2010 - 05:22:43 EST
Ingo Molnar wrote:
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
>> More than a year and a half ago (September 2008), at
>> Linux Plumbers, we had a meeting with several kernel
>> developers to come up with a unified ring buffer. A
>> generic ring buffer in the kernel that any subsystem
>> could use. After coming up with a set of requirements, I
>> worked on implementing it. One of the requirements was
>> to start off simple and work to become a more complete
>> buffering system.
>>
>> [...]
>
> The thing is, in tracing land and more broadly in
> instrumentation land we have _much_ more earthly problems
> these days:
>
> - Lets face it, performance of the ring-buffer sucks, in
> a big way. I've recently benchmarked it and it takes
> hundreds of instructions to trace a single event.
> Puh-lease ...
>
We ran some benchmarks with all the trace events enabled except
lock and kmem events, and the results showed the overhead was
quite small and acceptable.
But that was 2.6.31, we didn't benchmark newer kernels which have
more tracepoints.
--
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/