[lttng-dev] LTTng UST vs Syslog, Printf...

Michel Dagenais michel.dagenais at polymtl.ca
Wed Aug 21 11:07:00 EDT 2013


 
> I would suggest something relatively simple and basic as far as
> performance & characteristics measurements goes - x apps, y traces /
> second - measure CPU, memory, i/o, file size across the various
> mechanisms.

Yes, something relatively simple should do. For a process writing to syslog, you get a system call, two context switches and a number of other things, as compared to simply writing a few bytes in memory. And you should probably not try to benchmark printk by recording all system calls using it, your kernel will burst.



More information about the lttng-dev mailing list