From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E1E0FA046B for ; Tue, 25 Jun 2019 08:06:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF8FF1BB78; Tue, 25 Jun 2019 08:06:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 035871BB6F for ; Tue, 25 Jun 2019 08:06:42 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5P64vVj002917; Mon, 24 Jun 2019 23:06:39 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=mhsRTyAdNkWMBY4s3zmiMlEoCWlj8pd083GDCrc9cnY=; b=Ti4mb8It8qORuVpKgow/aig1pkr+oggogk0plBYhaxFiXpRDbVdGx7yw+kNlmCK26AXX 3Yntb6HeRyPIkv+w3O2ZxGTJ79MITyOEv3TvAochjjOdQex67sipJSW46eAMpH3zorBd HFSBTYiG8JkA2iWQuwmuO9iSJoJIJW4/W/gql8bYHmALAb2mrsX+wWVL2G+C2YC3SJ9T j08bEbfN/mDriOolAoNmzIDQ408p104EfVqyBtWS0AQZHDyiDjAEe0rRyJvnuHAdo4DK tMokH9B6yVw7+pkMiihormq6iOZmUF10Fnnhnzymk7V3NDJu+2zXx7IMX2mmqvoeHi9U Eg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2tb9wx8tbg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2019 23:06:38 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 24 Jun 2019 23:06:37 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.58) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 24 Jun 2019 23:06:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mhsRTyAdNkWMBY4s3zmiMlEoCWlj8pd083GDCrc9cnY=; b=FUF3MeKu/jvgyZvbQiQYZDEoDKYY9YKD5/S+XGIq4DBPgEzSQiaxmUKxUiJD0i9i5+HLa/DuC4Ovfa17LCTIMwTz31O+zobguQ2O3JKbS5x+DWzao6/MbuTkvN30Bb7oMRzvcah3YkCBOUdLW5YiDaCJI6gzIY+M0wwkfr8sZfg= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2438.namprd18.prod.outlook.com (20.179.91.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 06:06:35 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::75fd:a528:a1bf:bef4]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::75fd:a528:a1bf:bef4%3]) with mapi id 15.20.2008.017; Tue, 25 Jun 2019 06:06:35 +0000 From: Jerin Jacob Kollanukkaran To: Jerin Jacob Kollanukkaran , Erik Gabriel Carrillo , "jerin.jacob@caviumnetworks.com" CC: "mattias.ronnblom@ericsson.com" , "pbhagavatula@caviumnetworks.com" , "Honnappa.Nagarahalli@arm.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v8 1/1] eventdev: add new software event timer adapter Thread-Index: AQHVJrvCfq1ud6UxGUyMWIGvjYomd6aqWhLwgAGQi3A= Date: Tue, 25 Jun 2019 06:06:35 +0000 Message-ID: References: <1560957270-56531-2-git-send-email-erik.g.carrillo@intel.com> <1560961558-26005-1-git-send-email-erik.g.carrillo@intel.com> <1560961558-26005-2-git-send-email-erik.g.carrillo@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.248.176] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fab2d1f0-3f49-448e-2ed5-08d6f9334748 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2438; x-ms-traffictypediagnostic: BYAPR18MB2438: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:418; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(346002)(39860400002)(396003)(366004)(199004)(189003)(13464003)(102836004)(86362001)(68736007)(66066001)(2906002)(6506007)(14444005)(53546011)(256004)(76176011)(316002)(6116002)(3846002)(110136005)(26005)(2501003)(7696005)(186003)(14454004)(99286004)(478600001)(229853002)(6436002)(305945005)(74316002)(33656002)(5660300002)(25786009)(8936002)(52536014)(486006)(446003)(55016002)(9686003)(6246003)(53936002)(54906003)(7736002)(81166006)(81156014)(476003)(71200400001)(71190400001)(76116006)(11346002)(66476007)(73956011)(66946007)(66556008)(64756008)(66446008)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2438; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: J9DRhw0eDhw3kK1hiwFCO0mJzJWq7G6Qh811Futug2xtzr7/VepTXOmRNQfafUCxRJ1ga1fPF4x3smWdulK8U0qLfz/7fkQnBnIsJ1MRcgrUXfiXcG/KC8vl/D7ugIs3IIv0DLSClV0e9CsvwTky4oervxtvYYmoA6o7EUxu7LR7G6/Gb8A5UBTVx3GQ4W9B5GdxQEOrgEyz1IJkwW8MT5ApD7r+q7GODUaVlpQNQJh6l/s4IaxwnH3I7wgRHqNDWkcMUVct1JVdCQytc6EgvJ/vffErntLvsQA23ljuX1QmgNrzX8NhuRgwQoy77Ybximi26KakG+tYCz2LHUznqAaH0DOj5sgnLr78UqjLg40Nbhh2Ilhi8KkL9j4NrGOPHgQv4BeGeRmyGpaOO3rNKHXOPllePh6fsE5Ip+Oa7R0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: fab2d1f0-3f49-448e-2ed5-08d6f9334748 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 06:06:35.1866 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2438 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-25_04:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH v8 1/1] eventdev: add new software event timer adapter 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" > -----Original Message----- > From: Jerin Jacob Kollanukkaran > Sent: Monday, June 24, 2019 11:43 AM > To: Erik Gabriel Carrillo ; > jerin.jacob@caviumnetworks.com > Cc: mattias.ronnblom@ericsson.com; pbhagavatula@caviumnetworks.com; > Honnappa.Nagarahalli@arm.com; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v8 1/1] eventdev: add new software event t= imer > adapter >=20 > > -----Original Message----- > > From: dev On Behalf Of Erik Gabriel Carrillo > > Sent: Wednesday, June 19, 2019 9:56 PM > > To: jerin.jacob@caviumnetworks.com > > Cc: mattias.ronnblom@ericsson.com; pbhagavatula@caviumnetworks.com; > > Honnappa.Nagarahalli@arm.com; dev@dpdk.org > > Subject: [dpdk-dev] [PATCH v8 1/1] eventdev: add new software event > > timer adapter > > > > This patch introduces a new version of the event timer adapter software > > PMD. In the original design, timer event producer lcores in the primary= and > > secondary processes enqueued event timers into a ring, and a service co= re in > > the primary process dequeued them and processed them further. To > > improve performance, this version does away with the ring and lets lcor= es > > insert timers directly into timer skiplist data structures; the service= core > > directly accesses the lists as well, when looking for timers that have = expired. > > > > To compare the burst and non-burst performance of the original and new > > versions of the software event timer adapter, I ran the following > > commands: > > > > $ sudo ./build/app/dpdk-test-eventdev -c 0xFFE -s 0xC --vdev=3Devent_sw= 0 \ > > -- --test=3Dperf_queue --plcores=3D4,5,6 --wlcore=3D7,8,9 --stlist=3Dp = \ -- > > prod_type_timerdev --worker_deq_depth=3D32 > > > > $ sudo ./build/app/dpdk-test-eventdev -c 0xFFE -s 0xC --vdev=3Devent_sw= 0 \ > > -- --test=3Dperf_queue --plcores=3D4,5,6 --wlcore=3D7,8,9 --stlist=3Dp = \ -- > > prod_type_timerdev_burst --worker_deq_depth=3D32 > > > > With the new version, I see a 151% improvement in throughput for the no= n- > > burst case, and a 270% improvement in throughput for the burst case. > > I also see a 53% improvement in arm latency in the non-burst case and a= 65% > > improvement in arm latency in the burst case. > > > > Note: To perform the test, I commented out a check in the original ver= sion > > that checks the adapter tick interval against a minimum value. > > > > Signed-off-by: Erik Gabriel Carrillo >=20 > Acked-by: Jerin Jacob Applied to dpdk-next-eventdev/master. Thanks.