Re: [ovs-dev] [PATCH v4 06/17] tests: Add very simple conntrack benchmark.

2016-06-14 Thread Daniele Di Proietto
As pointed out by Joe the following commit breaks the Mac OS X build (but not the FreeBSD one), because pthread_barrier is not available there. The following incremental appears to fix it: diff --git a/tests/test-conntrack.c b/tests/test-conntrack.c index e2224e8..37c7277 100644 --- a/tests/test-

[ovs-dev] [PATCH v4 06/17] tests: Add very simple conntrack benchmark.

2016-06-10 Thread Daniele Di Proietto
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 di