netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kbench_mod
@ 2011-03-08 22:10 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-03-08 22:10 UTC (permalink / raw)
  To: netdev


I just added a special kernel module to the net_test_tools tree,
it allows more accurate measurement of routing lookups.

It does cycle counts across one routing lookup.

The flow key is controlled by module parameters, iif != 0 means
input route lookup, otherwise we do an output lookup.

What's cool is you can jack-up the warmup_count value and then
run insmod under "perf record" and it just works.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-08 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 22:10 kbench_mod David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).