Benchmarks of kernel tracing options 2 (ftrace, lttng and perf)

From: Douglas Santos
Date: Wed Nov 17 2010 - 16:56:01 EST


Hi all,

This is a response to a benchmark, submitted a few weeks ago, comparing kernel
tracing options.
http://lkml.org/lkml/2010/10/28/422

We followed the methodology described in the link bellow,
but using the shellscripts posted there to reproduce autotest scripts.
http://lkml.org/lkml/2010/10/28/261

We disabled the extra syscall tracing on lttng, for a fair comparison.
http://lkml.org/lkml/2010/10/28/290

Average results with tracing "on":

lttng: 220 ns
ftrace: 260 ns
perf: 740 ns


E5405 system
kernel 2.6.36

-lttng 0.239 + 0.19.2modules + sys_getuid tracepoint + sys_getuid probe
+ remove syscall_trace

-ftrace and perf + sys_getuid tracepoint

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