test/hash: reduce time for multiwriter test
authorNaga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com>
Fri, 2 Nov 2018 12:01:06 +0000 (12:01 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Nov 2018 02:20:26 +0000 (03:20 +0100)
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>
test/test/test_hash_multiwriter.c

index d447f6d..50018db 100644 (file)
@@ -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;