patch 'test/hash: report non HTM numbers for single thread' has been queued to stable release 20.11.6

Xueming Li xuemingl at nvidia.com
Tue Jun 21 10:01:28 CEST 2022


Hi,

FYI, your patch has been queued to stable release 20.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/23/22. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/23bfe0031f9ef749bf66cb623de15396dbb586ef

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 23bfe0031f9ef749bf66cb623de15396dbb586ef Mon Sep 17 00:00:00 2001
From: Stanislaw Kardach <kda at semihalf.com>
Date: Tue, 10 May 2022 13:57:34 +0200
Subject: [PATCH] test/hash: report non HTM numbers for single thread
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit af0892af4227802a184d111a86db82924c220979 ]

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 at semihalf.com>
Acked-by: Yipeng Wang <yipeng1.wang at intel.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 4860768a64..f40fec74dd 100644
--- a/app/test/test_hash_readwrite.c
+++ b/app/test/test_hash_readwrite.c
@@ -670,8 +670,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.35.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-06-21 15:37:50.336100868 +0800
+++ 0022-test-hash-report-non-HTM-numbers-for-single-thread.patch	2022-06-21 15:37:48.997784443 +0800
@@ -1 +1 @@
-From af0892af4227802a184d111a86db82924c220979 Mon Sep 17 00:00:00 2001
+From 23bfe0031f9ef749bf66cb623de15396dbb586ef Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit af0892af4227802a184d111a86db82924c220979 ]
@@ -20 +23 @@
-index 9b192f2b5e..6373e62d33 100644
+index 4860768a64..f40fec74dd 100644
@@ -23 +26 @@
-@@ -664,8 +664,12 @@ test_hash_rw_perf_main(void)
+@@ -670,8 +670,12 @@ test_hash_rw_perf_main(void)


More information about the stable mailing list