[ovs-dev] [PATCH v2 05/15] tests: Add very simple conntrack benchmark.

Flavio Leitner fbl at sysclose.org
Tue Apr 26 23:36:05 UTC 2016


On Fri, Apr 15, 2016 at 05:02:37PM -0700, Daniele Di Proietto wrote:
> This introduces a very limited but simple benchmark for
> conntrack_execute(). It just sends repeatedly the same batch of packets
> through the connection tracker and returns the time spent to process
> them.
> 
> While this is not a realistic benchmark, it has proven useful during
> development to evaluate different batching and locking strategies.
> 
> E.g. the line:
> 
> `./test/ovstest test-conntrack benchmark 1 14880000 32`

14.88M? :-)
>
> starts 1 thread that will send 14880000 packets to the connection
> tracker, 32 at a time. It will print the time taken to process them.
> 
> Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
> ---

Acked-by: Flavio Leitner <fbl at sysclose.org>





More information about the dev mailing list