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 E247FA00C2; Thu, 5 May 2022 19:31:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D165642862; Thu, 5 May 2022 19:30:39 +0200 (CEST) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mails.dpdk.org (Postfix) with ESMTP id 19BD742851 for ; Thu, 5 May 2022 19:30:37 +0200 (CEST) Received: by mail-lj1-f172.google.com with SMTP id c15so6479958ljr.9 for ; Thu, 05 May 2022 10:30:37 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=P6WK2La26r/WLOadGIQACtGagnI+cR8L/1kByHyE95E=; b=rz9UVf+vfxsFCPvpsgikSvdF16u/2iJP0F5uAAo8IEd9k+MaZhSqz8uR4CUHyl7dwb sHL7dpNOKqRYXh9Z/Kv92YV/2UG31DH9yKjGZ/Alc6B3o6zlSepkAL1AEgkHdE2IztBB OOaBJTaR+QFfCdquH/CNG26tqeracgQSxsAYcrurl0f3bwet1H24DzSWGo7FwYpJORqz SG3vn9qSr/GwE3LLFAKr5EnC3EvZNNYrATCstO+Nj2REb0VHA9hkWBWuLm9pL7k0UkiP SPs2uAYCNii7HeU299wktA7Rm1SU8FzeQgVTldjpReeDphYYx9XEpCIgF6tiODUhg7ny 9muQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=P6WK2La26r/WLOadGIQACtGagnI+cR8L/1kByHyE95E=; b=zzRv1exbFwxX2F4h1Jofi2fdHM066892y9C7LbN8iKiGGpq8qI02UwnKOGCY4we4nC GwkH2DeQ6mdCzCL1layJrw/MLHwAXJrBEDP7CYB45R83ug9MoC2eg5g+hFdUhyFnyweS NaOuVpX66DwoSAqmEwfrEt8u7vgZq62CEIznpTna5vHwzze8ShdOFRsV84WIh+Mi6R4q SM6hzcgTDFnes8QzrxQB+K4l9ara1xtgPJZ6Ob4RD9wkECwmdjNC0gayagd7mOQG1Tml pgJOPudxOQIP5nWVVfdShI8ec3BDM4UjhaUEWcS9N8q7nkCYAwX6UYwPB32eYPXmT9jc xopw== X-Gm-Message-State: AOAM533uM+u1a9KW8BCjON5AqSpms/QBZqwDdAEvVFz6TT75cAvfzNUZ 044HPGZDl/3dA2yJrxGvfwgVDt7HzF/OAA== X-Google-Smtp-Source: ABdhPJxYAkYbHnB7g2MnCDQnRzIjhHtQ6VJ7vXFa+tww/3ojN9gfij6AfVED5GVRXG0VoXDwUOqiUw== X-Received: by 2002:a05:651c:1781:b0:247:daa7:4358 with SMTP id bn1-20020a05651c178100b00247daa74358mr16887656ljb.477.1651771836710; Thu, 05 May 2022 10:30:36 -0700 (PDT) Received: from localhost.localdomain (89-73-146-138.dynamic.chello.pl. [89.73.146.138]) by smtp.gmail.com with ESMTPSA id z26-20020ac25dfa000000b0047255d21203sm289640lfq.306.2022.05.05.10.30.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 10:30:36 -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 11/11] test/hash: report non HTM numbers for single r/w Date: Thu, 5 May 2022 19:30:03 +0200 Message-Id: <20220505173003.3242618-12-kda@semihalf.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220505173003.3242618-1-kda@semihalf.com> References: <20220505173003.3242618-1-kda@semihalf.com> 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") Cc: yipeng1.wang@intel.com Signed-off-by: Stanislaw Kardach Sponsored-by: Frank Zhao Sponsored-by: Sam Grove --- 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