Writing a single buffer in kernel ring buffer take 6-8 ms

Chetan Nanda chetannanda at gmail.com
Thu May 3 06:05:27 EDT 2012


Hi,

We are working on ARM based SOC.
Currently we are implementing a efficient tracing mechanism to logs
messages from a dedicated MCU.

For this, we share a circular buffer between ARM and MCU and messages
stored in the buffer will be put into kernel ring-buffer and then output
via dmesg call.
Strangely wringing a single log message in the kernel ring-buffer cost
around 6-8ms.

Please help to confirm this, or we are doing something wrong.

Thanks,
Chetan Nanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120503/1f2cb104/attachment.html 


More information about the Kernelnewbies mailing list