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 41D12A0350; Wed, 1 Jul 2020 10:43:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C50C31C1EE; Wed, 1 Jul 2020 10:43:07 +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 B07261C1E7 for ; Wed, 1 Jul 2020 10:43:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593592986; 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=Q0g/ZEYlUBhQB5PqduK1CKdZ3Id/E++b+0VcxmoCbDGi6/Ph8H+GFvr2IgdnxgD0uOxxT3 3L0BwymKfcCjqQwMn1l8g8Qfpn7cOBfRv+vTmb0lcc+Pt1oLLSICJ8Gdj25LMRP7EEyiNu haW8KHY0bAnB6fW+Q1T3LiqIJLvpxy8= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-134-M7gYeN6HMv6Pmr-kVWLhIQ-1; Wed, 01 Jul 2020 04:43:02 -0400 X-MC-Unique: M7gYeN6HMv6Pmr-kVWLhIQ-1 Received: by mail-vs1-f72.google.com with SMTP id v25so6296335vsa.20 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=qr1xdw22ykMc4IoT0OMTUOeDLwrPlpHq+0f02SrXXPfHkwLRRMMd14/6tlPgCiZbR9 75pGITgutJXoJWmqnTkQdokEWOu/i92m430NBrLe2GTQdNnbgtAoq/0PtjlwMUbsY/wa QaG2mS9ZvYB7giAmiw1kzsUH6TE1XyiRH07iBt4Sj2f1kJ4+fKtLJCopIEw9+/RjTeCd DeApIKiEe0RmbEFSvlBbTIt9rz/dCRWaDtr7mwQ+y5mxHY/oBISqFltZe5jqMx1IoD/y Y9pKWNyf/lNbz9X/gf5SRFY9auHtAMIyKORlip9ALEsac2v+cEfRanNVVJqnQSziET3X X0IQ== X-Gm-Message-State: AOAM533oPP2v72Dd65qGvoLXxzeE5jHo9PxB4dWAVCKJohl+9oUDWnKr zgLA0KELqT2i7uvVRO73O0/r5X1XX+ccatQeXyFjEDYh0P7fylOBSrB5E9qtVETY4jT67EB6muj 09PM+vQ3Ed/88tsSgKiU= X-Received: by 2002:a67:2fc6:: with SMTP id v189mr17453173vsv.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-dev] [dpdk-stable] [PATCH] test/ring_perf: fix error statistics in bulk enq/dequeue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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