DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] test/hash: report non HTM numbers for single r/w
@ 2022-05-10 11:57 Stanislaw Kardach
  2022-05-10 22:09 ` Wang, Yipeng1
  0 siblings, 1 reply; 3+ messages in thread
From: Stanislaw Kardach @ 2022-05-10 11:57 UTC (permalink / raw)
  To: Yipeng Wang; +Cc: Stanislaw Kardach, dev, Frank Zhao, Sam Grove, mw, upstream

In hash_readwrite_perf_autotest a single read and write operation is
benchmarked for both HTM and non HTM cases. However the result summary
only shows the HTM value. Therefore add the non HTM value for
completeness.

Fixes: 0eb3726ebcf1 ("test/hash: add test for read/write concurrency")

Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
---
 app/test/test_hash_readwrite.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app/test/test_hash_readwrite.c b/app/test/test_hash_readwrite.c
index 9b192f2b5e..6373e62d33 100644
--- a/app/test/test_hash_readwrite.c
+++ b/app/test/test_hash_readwrite.c
@@ -664,8 +664,12 @@ test_hash_rw_perf_main(void)
 	printf("Results summary:\n");
 	printf("================\n");
 
-	printf("single read: %u\n", htm_results.single_read);
-	printf("single write: %u\n", htm_results.single_write);
+	printf("HTM:\n");
+	printf("  single read: %u\n", htm_results.single_read);
+	printf("  single write: %u\n", htm_results.single_write);
+	printf("non HTM:\n");
+	printf("  single read: %u\n", non_htm_results.single_read);
+	printf("  single write: %u\n", non_htm_results.single_write);
 	for (i = 0; i < NUM_TEST; i++) {
 		printf("+++ core_cnt: %u +++\n", core_cnt[i]);
 		printf("HTM:\n");
-- 
2.30.2

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

* RE: [PATCH 1/1] test/hash: report non HTM numbers for single r/w
  2022-05-10 11:57 [PATCH 1/1] test/hash: report non HTM numbers for single r/w Stanislaw Kardach
@ 2022-05-10 22:09 ` Wang, Yipeng1
  2022-05-11 11:56   ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: Wang, Yipeng1 @ 2022-05-10 22:09 UTC (permalink / raw)
  To: Stanislaw Kardach; +Cc: dev, Frank Zhao, Sam Grove, mw, upstream

> -----Original Message-----
> From: Stanislaw Kardach <kda@semihalf.com>
> Sent: Tuesday, May 10, 2022 4:58 AM
> To: Wang, Yipeng1 <yipeng1.wang@intel.com>
> Cc: Stanislaw Kardach <kda@semihalf.com>; dev@dpdk.org; Frank Zhao
> <Frank.Zhao@starfivetech.com>; Sam Grove <sam.grove@sifive.com>;
> mw@semihalf.com; upstream@semihalf.com
> Subject: [PATCH 1/1] test/hash: report non HTM numbers for single r/w
> 
> In hash_readwrite_perf_autotest a single read and write operation is
> benchmarked for both HTM and non HTM cases. However the result
> summary only shows the HTM value. Therefore add the non HTM value for
> completeness.
> 
> Fixes: 0eb3726ebcf1 ("test/hash: add test for read/write concurrency")
> 
> Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
> ---
[Wang, Yipeng] Thanks for the patch!
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>

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

* Re: [PATCH 1/1] test/hash: report non HTM numbers for single r/w
  2022-05-10 22:09 ` Wang, Yipeng1
@ 2022-05-11 11:56   ` David Marchand
  0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2022-05-11 11:56 UTC (permalink / raw)
  To: Stanislaw Kardach; +Cc: dev, Frank Zhao, Sam Grove, mw, upstream, Wang, Yipeng1

On Wed, May 11, 2022 at 12:10 AM Wang, Yipeng1 <yipeng1.wang@intel.com> wrote:
> > From: Stanislaw Kardach <kda@semihalf.com>
> >
> > In hash_readwrite_perf_autotest a single read and write operation is
> > benchmarked for both HTM and non HTM cases. However the result
> > summary only shows the HTM value. Therefore add the non HTM value for
> > completeness.
> >
> > Fixes: 0eb3726ebcf1 ("test/hash: add test for read/write concurrency")
> >
> > Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
> Acked-by: Yipeng Wang <yipeng1.wang@intel.com>

Applied, thanks.


-- 
David Marchand


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

end of thread, other threads:[~2022-05-11 11:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 11:57 [PATCH 1/1] test/hash: report non HTM numbers for single r/w Stanislaw Kardach
2022-05-10 22:09 ` Wang, Yipeng1
2022-05-11 11:56   ` David Marchand

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