Go to file
Pablo de Lara 359e17bf08 app/test: improve hash unit tests
Add new unit test for calculating the average table utilization,
using random keys, based on number of entries that can be added
until we encounter one that cannot be added (bucket if full).

Also, replace current hash_perf unit test to see performance more clearly.
The current hash_perf unit test takes too long and add keys that
may or may not fit in the table and look up/delete that may not be
in the table. This new unit test gets a set of keys that we know
that fits in the table, and then measure the time to add/look up/delete
them.

Note that performance numbers include time to take a random key
from a pre-made array of keys, plus a quick check of return value.
Also, as stated above, expect higher numbers, as all operations
in the new unit tests will be successful, which means that
it will take more time, than mixing both successful and unsuccesful
operations.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2015-07-10 12:34:13 +02:00
app app/test: improve hash unit tests 2015-07-10 12:34:13 +02:00
config mk: enable next abi preview 2015-07-09 00:56:40 +02:00
doc cxgbe: update documentation 2015-07-10 03:00:57 +02:00
drivers cxgbe: add more supported devices 2015-07-10 03:00:22 +02:00
examples examples/ip_pipeline: rework flow classification pipeline 2015-07-09 17:25:46 +02:00
lib hash: hide structure from header and make it internal 2015-07-10 12:25:28 +02:00
mk mk: enable next abi preview 2015-07-09 00:56:40 +02:00
pkg mk: enable next abi preview 2015-07-09 00:56:40 +02:00
scripts mk: enable next abi preview 2015-07-09 00:56:40 +02:00
tools tools: fix vfio support 2015-03-23 14:29:31 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: claim EAL of IBM POWER 2015-07-01 23:39:43 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00