On 26/04/2016 16:36, "Flavio Leitner" <f...@sysclose.org> wrote:

>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? :-)

You got me :-)

>>
>> 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 <diproiet...@vmware.com>
>> ---
>
>Acked-by: Flavio Leitner <f...@sysclose.org>

Thanks for the review!
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to