summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNaga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com>2018-11-02 12:01:06 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-11-06 03:20:26 +0100
commitf5a09cf019cf2f1a655c1dc7288e0595b36a13c4 (patch)
treec2f8db827042bca90c3eca17b38af616d7fc832b /test
parent737f5813a7980a982e0bf972d2b7e8d08ad24f80 (diff)
downloaddpdk-f5a09cf019cf2f1a655c1dc7288e0595b36a13c4.zip
dpdk-f5a09cf019cf2f1a655c1dc7288e0595b36a13c4.tar.gz
dpdk-f5a09cf019cf2f1a655c1dc7288e0595b36a13c4.tar.xz
test/hash: reduce time for multiwriter test
Reduced test duration for hash_multiwriter_autotest. Number of entries and total insertions are reduced such that the duration is less than 10 seconds. Signed-off-by: Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com> Acked-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/test/test_hash_multiwriter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test/test_hash_multiwriter.c b/test/test/test_hash_multiwriter.c
index d447f6d..50018db 100644
--- a/test/test/test_hash_multiwriter.c
+++ b/test/test/test_hash_multiwriter.c
@@ -39,8 +39,8 @@ struct {
struct rte_hash *h;
} tbl_multiwriter_test_params;
-const uint32_t nb_entries = 16*1024*1024;
-const uint32_t nb_total_tsx_insertion = 15*1024*1024;
+const uint32_t nb_entries = 5*1024*1024;
+const uint32_t nb_total_tsx_insertion = 4.5*1024*1024;
uint32_t rounded_nb_total_tsx_insertion;
static rte_atomic64_t gcycles;