DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
@ 2018-09-27  6:38 Naga Suresh Somarowthu
  2018-11-01 17:39 ` Lipiec, Herakliusz
  0 siblings, 1 reply; 4+ messages in thread
From: Naga Suresh Somarowthu @ 2018-09-27  6:38 UTC (permalink / raw)
  To: dev
  Cc: bruce.richardson, pablo.de.lara.guarch, reshma.pattan,
	Naga Suresh Somarowthu

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>
---
 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;
 uint32_t rounded_nb_total_tsx_insertion;
 
 static rte_atomic64_t gcycles;
-- 
2.13.6

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
  2018-09-27  6:38 [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut Naga Suresh Somarowthu
@ 2018-11-01 17:39 ` Lipiec, Herakliusz
  0 siblings, 0 replies; 4+ messages in thread
From: Lipiec, Herakliusz @ 2018-11-01 17:39 UTC (permalink / raw)
  To: Somarowthu, Naga SureshX, dev
  Cc: Richardson, Bruce, De Lara Guarch, Pablo, Pattan, Reshma,
	Somarowthu, Naga SureshX

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Naga Suresh
> Somarowthu
> Sent: Thursday, September 27, 2018 7:39 AM
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richardson@intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch@intel.com>; Pattan, Reshma
> <reshma.pattan@intel.com>; Somarowthu, Naga SureshX
> <naga.sureshx.somarowthu@intel.com>
> Subject: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
> 
> 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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
  2018-09-27  6:41 Jananee Parthasarathy
@ 2018-09-29  0:12 ` Wang, Yipeng1
  0 siblings, 0 replies; 4+ messages in thread
From: Wang, Yipeng1 @ 2018-09-29  0:12 UTC (permalink / raw)
  To: Parthasarathy, JananeeX M, dev
  Cc: Richardson, Bruce, De Lara Guarch, Pablo, Pattan, Reshma,
	Somarowthu, Naga SureshX, Gobriel, Sameh

>-----Original Message-----
>From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jananee Parthasarathy
>Sent: Wednesday, September 26, 2018 11:41 PM
>To: dev@dpdk.org
>Cc: Richardson, Bruce <bruce.richardson@intel.com>; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Pattan, Reshma
><reshma.pattan@intel.com>; Somarowthu, Naga SureshX <naga.sureshx.somarowthu@intel.com>
>Subject: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
>
>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>
>---
> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
@ 2018-09-27  6:41 Jananee Parthasarathy
  2018-09-29  0:12 ` Wang, Yipeng1
  0 siblings, 1 reply; 4+ messages in thread
From: Jananee Parthasarathy @ 2018-09-27  6:41 UTC (permalink / raw)
  To: dev
  Cc: bruce.richardson, pablo.de.lara.guarch, reshma.pattan,
	Naga Suresh Somarowthu

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>
---
 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;
 uint32_t rounded_nb_total_tsx_insertion;
 
 static rte_atomic64_t gcycles;
-- 
2.13.6

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-01 17:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27  6:38 [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut Naga Suresh Somarowthu
2018-11-01 17:39 ` Lipiec, Herakliusz
2018-09-27  6:41 Jananee Parthasarathy
2018-09-29  0:12 ` Wang, Yipeng1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).