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 8DCD7A31F3 for ; Fri, 18 Oct 2019 19:24:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 63B001C0B9; Fri, 18 Oct 2019 19:24:03 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 71A4E1C035 for ; Fri, 18 Oct 2019 19:24:02 +0200 (CEST) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9IHJxXu082342; Fri, 18 Oct 2019 13:23:57 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vqh5g16cp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2019 13:23:57 -0400 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x9IHLVuY086621; Fri, 18 Oct 2019 13:23:56 -0400 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vqh5g16ca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2019 13:23:56 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x9IHGqEa027529; Fri, 18 Oct 2019 17:23:55 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma02dal.us.ibm.com with ESMTP id 2vq0bshh5c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2019 17:23:55 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x9IHNsok54395286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Oct 2019 17:23:54 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 36AC6C605D; Fri, 18 Oct 2019 17:23:54 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2DA6BC6059; Fri, 18 Oct 2019 17:23:53 +0000 (GMT) Received: from davids-mbp.usor.ibm.com (unknown [9.70.85.176]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 18 Oct 2019 17:23:53 +0000 (GMT) To: Honnappa Nagarahalli , "Ananyev, Konstantin" , "olivier.matz@6wind.com" , "sthemmin@microsoft.com" , "jerinj@marvell.com" , "Richardson, Bruce" , "david.marchand@redhat.com" , "pbhagavatula@marvell.com" Cc: "dev@dpdk.org" , Dharmik Thakkar , "Ruifeng Wang (Arm Technology China)" , "Gavin Hu (Arm Technology China)" , "stephen@networkplumber.org" , nd References: <20190906190510.11146-1-honnappa.nagarahalli@arm.com> <20191009024709.38144-1-honnappa.nagarahalli@arm.com> <20191009024709.38144-2-honnappa.nagarahalli@arm.com> <2601191342CEEE43887BDE71AB97725801A8C68545@IRSMSX104.ger.corp.intel.com> <2601191342CEEE43887BDE71AB97725801A8C68A99@IRSMSX104.ger.corp.intel.com> <2601191342CEEE43887BDE71AB97725801A8C6A2DA@IRSMSX104.ger.corp.intel.com> <7df09c22-5b8b-77d8-1e8a-a2714e732036@linux.vnet.ibm.com> From: David Christensen Message-ID: Date: Fri, 18 Oct 2019 10:23:52 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-10-18_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910180154 Subject: Re: [dpdk-dev] [PATCH v4 1/2] lib/ring: apis to support configurable element size 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" >> Tried this on a Power9 platform (3.6GHz), with two numa nodes and 16 >> cores/node (SMT=4). Applied all 3 patches in v5, test results are as >> follows: >> >> RTE>>ring_perf_elem_autotest >> ### Testing single element and burst enq/deq ### SP/SC single enq/dequeue: >> 42 MP/MC single enq/dequeue: 59 SP/SC burst enq/dequeue (size: 8): 5 >> MP/MC burst enq/dequeue (size: 8): 7 SP/SC burst enq/dequeue (size: 32): 2 >> MP/MC burst enq/dequeue (size: 32): 2 >> >> ### Testing empty dequeue ### >> SC empty dequeue: 7.81 >> MC empty dequeue: 7.81 >> >> ### Testing using a single lcore ### >> SP/SC bulk enq/dequeue (size: 8): 5.76 >> MP/MC bulk enq/dequeue (size: 8): 7.66 >> SP/SC bulk enq/dequeue (size: 32): 2.10 >> MP/MC bulk enq/dequeue (size: 32): 2.57 >> >> ### Testing using two hyperthreads ### >> SP/SC bulk enq/dequeue (size: 8): 13.13 >> MP/MC bulk enq/dequeue (size: 8): 13.98 >> SP/SC bulk enq/dequeue (size: 32): 3.41 >> MP/MC bulk enq/dequeue (size: 32): 4.45 >> >> ### Testing using two physical cores ### SP/SC bulk enq/dequeue (size: 8): >> 11.00 MP/MC bulk enq/dequeue (size: 8): 10.95 SP/SC bulk enq/dequeue >> (size: 32): 3.08 MP/MC bulk enq/dequeue (size: 32): 3.40 >> >> ### Testing using two NUMA nodes ### >> SP/SC bulk enq/dequeue (size: 8): 63.41 >> MP/MC bulk enq/dequeue (size: 8): 62.70 >> SP/SC bulk enq/dequeue (size: 32): 15.39 MP/MC bulk enq/dequeue (size: >> 32): 22.96 >> > Thanks for running this. There is another test 'ring_perf_autotest' which provides the numbers with the original implementation. The goal is to make sure the numbers with the original implementation are the same as these. Can you please run that as well? > RTE>>ring_perf_autotest ### Testing single element and burst enq/deq ### SP/SC single enq/dequeue: 42 MP/MC single enq/dequeue: 59 SP/SC burst enq/dequeue (size: 8): 6 MP/MC burst enq/dequeue (size: 8): 8 SP/SC burst enq/dequeue (size: 32): 2 MP/MC burst enq/dequeue (size: 32): 3 ### Testing empty dequeue ### SC empty dequeue: 7.81 MC empty dequeue: 7.81 ### Testing using a single lcore ### SP/SC bulk enq/dequeue (size: 8): 6.91 MP/MC bulk enq/dequeue (size: 8): 8.87 SP/SC bulk enq/dequeue (size: 32): 2.55 MP/MC bulk enq/dequeue (size: 32): 3.04 ### Testing using two hyperthreads ### SP/SC bulk enq/dequeue (size: 8): 11.70 MP/MC bulk enq/dequeue (size: 8): 13.56 SP/SC bulk enq/dequeue (size: 32): 3.48 MP/MC bulk enq/dequeue (size: 32): 3.95 ### Testing using two physical cores ### SP/SC bulk enq/dequeue (size: 8): 10.86 MP/MC bulk enq/dequeue (size: 8): 11.11 SP/SC bulk enq/dequeue (size: 32): 2.97 MP/MC bulk enq/dequeue (size: 32): 3.43 ### Testing using two NUMA nodes ### SP/SC bulk enq/dequeue (size: 8): 48.07 MP/MC bulk enq/dequeue (size: 8): 67.38 SP/SC bulk enq/dequeue (size: 32): 13.04 MP/MC bulk enq/dequeue (size: 32): 27.10 Test OK Dave