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 D610CA0350 for ; Wed, 1 Jul 2020 10:43:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B7221C1E1; Wed, 1 Jul 2020 10:43:06 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id DEFEC1C1E1 for ; Wed, 1 Jul 2020 10:43:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593592984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3b8hDcc/5PtTW4ZcJvC0qyF54ShJaHCoge8JB9vXvqc=; b=E29ur/NrCx/9PjuQ0PC9R/JMGdl1ZXTood/VsvnxHjMH0qDgmuzmzgIzSwW8k0wYRic+Li VwcZeNRKXbnOA7l+rPuNwMILe/ymaHNacdjHNEgbngHyR9TnmhHvur60qF7uld3FaoVTJo nD2maZrRsGgDMkEyTPlYSoIrnVI3lHs= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-472-M8M_xtcvPyWfe6oVWebLJg-1; Wed, 01 Jul 2020 04:43:02 -0400 X-MC-Unique: M8M_xtcvPyWfe6oVWebLJg-1 Received: by mail-ua1-f70.google.com with SMTP id h10so5191743uar.6 for ; Wed, 01 Jul 2020 01:43:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3b8hDcc/5PtTW4ZcJvC0qyF54ShJaHCoge8JB9vXvqc=; b=KA5MNwy08JCuTnUnb+AKopRjMy8thbIBUMG4qs4L3m/mv6FvWqD8JKH5aSMcs6q4Ad dybZ3tVfKwt1qSq189afvgTR4w7zaF8aph68U26UuD3g7G/qDUmVtb2W+muEpKWZ9U9T OGQ8yqV1hvguya1SWCWGgXAcwNSlE+Z0LPZkR7HoLx5GD3t79jQnxaZyLIjB7TFpl4O1 V8lsPIfxUjIlc1KiACBgB3KcpIxbhMAppVy2+MB4IPq26oDgQ4GZ2OY0EVckFd9aw/hz +SGPw++VjL5oG9GLOEBVPN82YFuBbXAO4rI8yYvkL8c0Jk1sEcYF4OTIj/EngMfWEXKE O3vg== X-Gm-Message-State: AOAM533tiSqYDQJb3OWiZOacVXMKq2+nlg8+xbKD2mce923I+tGdPjwY lMKroUDU786AVnIj/itKYjJZxmmcNrY9cEmJFxrAmvRdsqhHsf5UmAG6ci8L6UQD0ESE6tI//2g fRodgRSPG/dWIanB0mpP+B8s= X-Received: by 2002:a67:2fc6:: with SMTP id v189mr17453174vsv.198.1593592981976; Wed, 01 Jul 2020 01:43:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfVeW0n1o4cggOo9554U87c64oBiU0wSBVlkOcbszUjOdBJcfOXQkeCXiU14VKDJk6QLGj9fAS8eP2JG9pwCc= X-Received: by 2002:a67:2fc6:: with SMTP id v189mr17453166vsv.198.1593592981744; Wed, 01 Jul 2020 01:43:01 -0700 (PDT) MIME-Version: 1.0 References: <20200608055846.46971-1-feifei.wang2@arm.com> In-Reply-To: From: David Marchand Date: Wed, 1 Jul 2020 10:42:50 +0200 Message-ID: To: "Ananyev, Konstantin" Cc: Feifei Wang , Honnappa Nagarahalli , Ola Liljedahl , Joyce Kong , Gavin Hu , Ruifeng Wang , "dev@dpdk.org" , "nd@arm.com" , "stable@dpdk.org" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 Tue, Jun 9, 2020 at 1:25 PM Ananyev, Konstantin 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 > Acked-by: Konstantin Ananyev Applied, thanks. -- David Marchand