DPDK patches and discussions
 help / color / mirror / Atom feed
* [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
  2018-11-02 12:01 ` [dpdk-dev] [PATCH v2] " Jananee Parthasarathy
  0 siblings, 2 replies; 6+ 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] 6+ messages in thread

* Re: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
  2018-09-27  6:41 [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut Jananee Parthasarathy
@ 2018-09-29  0:12 ` Wang, Yipeng1
  2018-11-02 12:01 ` [dpdk-dev] [PATCH v2] " Jananee Parthasarathy
  1 sibling, 0 replies; 6+ 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] 6+ messages in thread

* [dpdk-dev] [PATCH v2] test: reduce test time for hash multiwriter ut
  2018-09-27  6:41 [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut Jananee Parthasarathy
  2018-09-29  0:12 ` Wang, Yipeng1
@ 2018-11-02 12:01 ` Jananee Parthasarathy
  2018-11-06  1:45   ` Thomas Monjalon
  1 sibling, 1 reply; 6+ messages in thread
From: Jananee Parthasarathy @ 2018-11-02 12:01 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>
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(-)

diff --git a/test/test/test_hash_multiwriter.c b/test/test/test_hash_multiwriter.c
index 6a3eb10bd..fc2593a0d 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.5*1024*1024;
 uint32_t rounded_nb_total_tsx_insertion;
 
 static rte_atomic64_t gcycles;
-- 
2.13.6

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

* Re: [dpdk-dev] [PATCH v2] test: reduce test time for hash multiwriter ut
  2018-11-02 12:01 ` [dpdk-dev] [PATCH v2] " Jananee Parthasarathy
@ 2018-11-06  1:45   ` Thomas Monjalon
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2018-11-06  1:45 UTC (permalink / raw)
  To: Naga Suresh Somarowthu
  Cc: dev, Jananee Parthasarathy, bruce.richardson,
	pablo.de.lara.guarch, reshma.pattan

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

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

* Re: [dpdk-dev] [PATCH] test: reduce test time for hash multiwriter ut
  2018-09-27  6:38 [dpdk-dev] [PATCH] " Naga Suresh Somarowthu
@ 2018-11-01 17:39 ` Lipiec, Herakliusz
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

* [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; 6+ 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] 6+ messages in thread

end of thread, other threads:[~2018-11-06  1:46 UTC | newest]

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

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).