Re: [patch 1/4] KMON - kmon device/instrumentation ...

From: Davide Libenzi
Date: Thu May 10 2007 - 11:23:09 EST


On Thu, 10 May 2007, Andi Kleen wrote:

> Davide Libenzi <davidel@xxxxxxxxxxxxxxx> writes:
>
> > This patch serie introduces a way to log high frequency/volume data
> > out of the kernel. Logging scheduler operations for example, with
> > loads that generate tenths of thousands of context switches per second
> > (possibly from multiple CPUs), can overload the kernel printk. Also,
> > logging in binary form helps in reducing the size of the logged data
> > that is tranfered from kernel to userspace. The kmon logger uses per
> > CPU buffers (rings) that are flushed at a given frequency to all the
> > instances of the kmon devices.
>
> Sounds like you reinvented relayfs? (and ktrace before that)

I simply didn't know about relayfs ;) Randy told me when I posted
those, that BTW were never intended for merging. The buffering method used
is more similar to oprofile though.


- Davide


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