From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C6BC3A0093; Tue, 10 May 2022 13:57:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90D8841156; Tue, 10 May 2022 13:57:45 +0200 (CEST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id DCF8E4161A for ; Tue, 10 May 2022 13:57:43 +0200 (CEST) Received: by mail-lf1-f50.google.com with SMTP id bq30so28866337lfb.3 for ; Tue, 10 May 2022 04:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w0bXzifjruWfkf36SW3atnHH0PlYWyZ8ptktRAATsGY=; b=LXOmrkLeb8UzGjEWQl+CFJy3WXTFzJUc7yd53ZneX7mQlnDgzLuMnbEe38gdLSLQDo R3UHSoIlYXXNbBR/1ua+KTtUwXvIU3qVkwnDAPGOHZFEYXeuFBfvMvyIomxhfwKBNroQ zQNIFD4StofBGVw4QonpykVJNQS7rr7LxtUfQbOv7wK1t/TOvrxw8rW0Y+yDyQnqPCM2 95VKkedUfcLZd29pfa0KP6gI53hFgsVjjnCtHkcW8wZn8pFzwLdyJ8cV9MgrioKL3Yz0 hfAwOjxnSpGV0HOfVw1CNZKcw9q51XglBC5LcJ+e7dS2521t4CwO9TgacfL+4tK2J2Ly R9dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w0bXzifjruWfkf36SW3atnHH0PlYWyZ8ptktRAATsGY=; b=7O3rMHyvLFmE9N3e7uLVztle6bKnKBhVWeGU1PZy+W3lukAkJNKNz4PxB4itv7nDYt 9K8oNdTFFXwii9rtVGjt6fyDEd1/kNBda3DT6wXa7eTydzkAFzCiLO3OdTW9O+44Kpql /RAhMrs/PcLKfEEDtuoVhqHYUAjmZ5lLsJwpIlUx0Naff4h8+C1qhgU9+jbZN7xMMJon hpX79qczzRQqeoFbLiqjLlOkSxGI/RXYajEs/zUEXsTS/Dm8hXkPSe9XnRdp9DzmCS7L NxMnzUCP23/OdGd22WrZyyXiAIvly0yRKAahFXfBqZVixSZylEZmAYgMAzm05SdAPPsK 4itA== X-Gm-Message-State: AOAM531oPCsu6XGlCBb1TRSuXgXs3UPQlH6ebeG2R9ZDpLbhxIMcJU4S blJvjXIm9QAC3Oq0PY/n8itOVQ== X-Google-Smtp-Source: ABdhPJyP3D5NyNGXCTSUBkVNGHTcRFqfTVdjwuL2z9jb2lEPYpL08qMKM2QOD4AjuHQkUDIt1jYpWw== X-Received: by 2002:a05:6512:1516:b0:448:39b8:d603 with SMTP id bq22-20020a056512151600b0044839b8d603mr16038609lfb.599.1652183863443; Tue, 10 May 2022 04:57:43 -0700 (PDT) Received: from toster.office.semihalf.net ([83.142.187.84]) by smtp.gmail.com with ESMTPSA id o28-20020ac2495c000000b0047255d211b3sm1626127lfi.226.2022.05.10.04.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 04:57:43 -0700 (PDT) From: Stanislaw Kardach To: Yipeng Wang Cc: Stanislaw Kardach , dev@dpdk.org, Frank Zhao , Sam Grove , mw@semihalf.com, upstream@semihalf.com Subject: [PATCH 1/1] test/hash: report non HTM numbers for single r/w Date: Tue, 10 May 2022 13:57:34 +0200 Message-Id: <20220510115734.457718-1-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 --- 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