From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D8DDAA0540 for ; Mon, 13 Jul 2020 17:23:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C33231D657; Mon, 13 Jul 2020 17:23:00 +0200 (CEST) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id D8F4E1D37F for ; Mon, 13 Jul 2020 17:22:57 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id f18so13556605wml.3 for ; Mon, 13 Jul 2020 08:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QoqzXiwXAQrU43Ny0VNQqTvoHPQxkZ/RUCS1p1l575s=; b=GspMtDJTIoETpu6f1x9EQ+yjfDtXD4IibGYxdQuBYEWwMPE1ISL7u47imF70wSPRpA 2FpMGmU8B/A8A8F5uT7RsgPh8dyM/4EBPc3kl8qG51bGcTnyHqHcRAV0TM/HY/rhF+RJ FVB6OZ+rqhCb6S0DzaljnPXUnVjcMSGRePykB+RUDwlVNaFoogwtYLi4c5qob870gTC+ j7/8VopDpYlL+nSQpK3+Us/xjhECUI5Cp/a17I95hCT7CVyLg7CdXzn3963SYeAT5ph2 VUMJAULBQcL4zxQvXuiRpjU2lmgBLKW5lXYWYP0bDYChsV+fF0Iu//f9+zPXc+W41/YO zg9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QoqzXiwXAQrU43Ny0VNQqTvoHPQxkZ/RUCS1p1l575s=; b=qLTh//LmGcMnMGJp6kvCJysNSahVKyOTqbJcR7b+csh7UcvmCCpP1kh8gr5bNbcvRW MRpVxy1n/E8NVdNI0GPGiSu/sf2Wnsmdvv1ymAWn8/gXjdUUNUnSjPO1LWz1g2xcckNA gU+HJs/1oNCGS/MKdd0XWfWNrrNehUzjh7T6XXjWGCfBpW15Vy5bFsON/cdu9TDmgYHM 9v/aLMZe1wWdfBG117tdtKQYIrTwP6b8Ac4ckJ2jQ8xu7zMHrirne6Xub1sYnQayhtsR o4T0ydVMyZkvBFbD+FOOwD9K6yH5FGJP4+SZNH4WAY1kicUfiElmADLthyovAWEXbqX5 +11A== X-Gm-Message-State: AOAM533PrnGRxaf4G6cceiOVFmaPw1SA61CzTgkJSpI2eilKcqmtnihG ZHd/vv64HD8yv8QTqFo54Y+Abw== X-Google-Smtp-Source: ABdhPJwdraDynP15dpWAu7Zdg/LyB58focR7RvUU4gAoprVAKC1r2iVDK7DDimqVaLO1Xwdj2VgksA== X-Received: by 2002:a7b:cbcb:: with SMTP id n11mr384696wmi.99.1594653777674; Mon, 13 Jul 2020 08:22:57 -0700 (PDT) Received: from 6wind.com (2a01cb0c0005a600345636f7e65ed1a0.ipv6.abo.wanadoo.fr. [2a01:cb0c:5:a600:3456:36f7:e65e:d1a0]) by smtp.gmail.com with ESMTPSA id k20sm23028503wmi.27.2020.07.13.08.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 08:22:57 -0700 (PDT) Date: Mon, 13 Jul 2020 17:22:56 +0200 From: Olivier Matz To: Feifei Wang Cc: Honnappa Nagarahalli , Konstantin Ananyev , Ruifeng Wang , Ola Liljedahl , Dharmik Thakkar , dev@dpdk.org, nd@arm.com, stable@dpdk.org Message-ID: <20200713152256.GS5869@platinum> References: <20200608054938.46599-1-feifei.wang2@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200608054938.46599-1-feifei.wang2@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-stable] [PATCH] test/ring_perf: fix error statistics in bulk enq/dequeue X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Mon, Jun 08, 2020 at 01:49:38PM +0800, Feifei Wang wrote: > In size 32 bulk ring enq/dequeue performance test, the "Total count" > statistics is incorrect. For example, running the test on lcore 25 and > lcore 26, the output is as follows: > > The test command: > $sudo ./arm64-armv8a-linuxapp-gcc/app/test -l 25-26 > RTE>>ring_perf_autotest > > Bulk enq/dequeue count on size 32 > Core [25] count = 288268 > Core [26] count = 288281 > Total count (size: 32): 1066323 > > Fixed it by reset the counter at the beginning of each loop. The > revised output is as follows: > > Bulk enq/dequeue count on size 32 > Core [25] count = 285643 > Core [26] count = 285688 > Total count (size: 32): 571331 > > Fixes: 759cf9b5632c ("test/ring: enhance mp/mc coverage") > Cc: stable@dpdk.org > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang > Reviewed-by: Phil Yang Reviewed-by: Olivier Matz