]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rhashtable-test: Measure time to insert, remove & traverse entries
authorThomas Graf <tgraf@suug.ch>
Thu, 30 Apr 2015 22:37:41 +0000 (22:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 03:08:53 +0000 (23:08 -0400)
commit1aa661f5c3df15432530f01f1023d556fa81b95d
tree55a7bdd26921f3c58159358c0fdea130721c82d6
parentf54e84b6e9f07a93a5f27f55bf28982c06f45109
rhashtable-test: Measure time to insert, remove & traverse entries

Make test configurable by allowing to specify all relevant knobs
through module parameters.

Do several test runs and measure the average time it takes to
insert & remove all entries. Note, a deferred resize might still
continue to run in the background.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c