[dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut

Wang, Yipeng1 yipeng1.wang at intel.com
Sat Sep 29 02:12:34 CEST 2018


>-----Original Message-----
>From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jananee Parthasarathy
>Sent: Wednesday, September 26, 2018 11:41 PM
>To: dev at dpdk.org
>Cc: Richardson, Bruce <bruce.richardson at intel.com>; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>; Pattan, Reshma
><reshma.pattan at intel.com>; Somarowthu, Naga SureshX <naga.sureshx.somarowthu at intel.com>
>Subject: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
>
>From: Naga Suresh Somarowthu <naga.sureshx.somarowthu at 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 at intel.com>
>---
> test/test/test_hash_multiwriter.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/test/test/test_hash_multiwriter.c b/test/test/test_hash_multiwriter.c
>index 6a3eb10bd..04b7c18ff 100644
>--- a/test/test/test_hash_multiwriter.c
>+++ b/test/test/test_hash_multiwriter.c
>@@ -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*1024*1024;

[Wang, Yipeng]
Maybe use 4.5*1024*1024 for nb_total_tsx_insertion to achieve 90% table utilization, which may exercise more core cases.




More information about the dev mailing list