[v2] test: reduce test time for hash multiwriter ut
Checks
Commit Message
From: Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com>
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>
---
v2: updated total insertions to achieve greater table utilization
---
test/test/test_hash_multiwriter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
02/11/2018 13:01, Jananee Parthasarathy:
> From: Naga Suresh Somarowthu <naga.sureshx.somarowthu@intel.com>
>
> 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>
Applied, thanks
@@ -38,8 +38,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;