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 59485A046B for ; Mon, 24 Jun 2019 08:13:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF2F81BF48; Mon, 24 Jun 2019 08:13:08 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C5DAE1BF47 for ; Mon, 24 Jun 2019 08:13:07 +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 x5O667cQ006292; Sun, 23 Jun 2019 23:13:03 -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=f85jRhBoWvY0PzqGI8QrvR/6EqbkmVR8cf1fLQhNSew=; b=u3QRFPnfitf3KTMFuUf5BmWpfQYMChf0jvRTDnyjmTUQJwXGiaIoSvT93pQ0B9NhWrCL MkUW63sv5W3VYklo5wdNQdACt+8bPD/T4ldaW8QL+J0vM44LaKxPYpGOSIp16gM1J6gv Vsjjx9VoY1vcuYgip2cXUjjF61KMIePETRRYfgzR5vGm3DlPNkj51A23CYLsnIeRA5dJ SGJ5DA16paUenAss5i/AOJzd9IYbmtJ/KoTPKyuxbO/i1exaxURklTFGLv0i/gGnLlqH 0LVLYuwPBl+JNbxNT329iLEJjsod9aF9n20Mp/cXuUTth3iI/0Vh/dPnWuPmUozfL8Ca iw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2tarxr80tp-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 23 Jun 2019 23:13:03 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 23 Jun 2019 23:13:02 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.56) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 23 Jun 2019 23:13:02 -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=f85jRhBoWvY0PzqGI8QrvR/6EqbkmVR8cf1fLQhNSew=; b=GRGj8x01J4QkTL5lmFrfJ8t6STlzDuR2/OIp0qaJQBVEu9E1XObFcB0vDJ3HNKOJLAPqWqjD7D0SKulPBP62sgGuA8UwnKA/sb8sKhAyikgeo2EyDZ8G5Qq/F0ltFmzTJ0RDi4IZyZ5mQvZGgt3Ceziwu/CggdmR0aI9heZdbPo= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2615.namprd18.prod.outlook.com (20.179.94.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Mon, 24 Jun 2019 06:12:57 +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.014; Mon, 24 Jun 2019 06:12:57 +0000 From: Jerin Jacob Kollanukkaran To: 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: AQHVJrvCfq1ud6UxGUyMWIGvjYomd6aqWhLw Date: Mon, 24 Jun 2019 06:12:57 +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: <1560961558-26005-2-git-send-email-erik.g.carrillo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1fd6f79-7606-4433-1640-08d6f86b00b3 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2615; x-ms-traffictypediagnostic: BYAPR18MB2615: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:605; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(396003)(346002)(136003)(366004)(376002)(189003)(199004)(13464003)(478600001)(6436002)(229853002)(476003)(11346002)(2501003)(446003)(2906002)(53936002)(52536014)(25786009)(66476007)(73956011)(86362001)(66946007)(5660300002)(316002)(66556008)(64756008)(66446008)(6116002)(3846002)(110136005)(54906003)(486006)(76116006)(68736007)(7696005)(8936002)(14454004)(186003)(99286004)(66066001)(14444005)(256004)(4326008)(71200400001)(71190400001)(53546011)(102836004)(55236004)(81156014)(26005)(55016002)(305945005)(33656002)(81166006)(6246003)(9686003)(7736002)(76176011)(6506007)(74316002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2615; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: vn7XEeX+7JADClQmSIuMFnHNIIxJEHL8FGop5kTN64Pj+A47dYHSKr8X34ZpCcIzY92rdJKIasZqs9F0P+noUcIWFDZhr4L2e/NnViIBXopqDnWlB0OdxL236RAwOtV+tFqMozuypmjog31EQmCfbBnZobjIWAZc4KEtjQHc/t8+qWTwJihYvUu4R/Fq7O1JPorq7/il726OyPL3vlkNMf/YzDijpaqunilRXTYk8WNTcu3TdIv9jqp9RDSuAwhfYSuK/A6bPsvE50b4eCAWSoK8pAokDPt29cZ7/oITlSr00WN/fe8Q86gJVW4xkTcKYNIkPRXeO2MLVnc8pskf5Gah9a6dwo3BbX8S/Mj0PqH9rlRbzgNECHgCVXLB4KakIyGgJX139xGYx1L8z3kuM/Ysbi9UGIA8YzM2XfXi6AU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b1fd6f79-7606-4433-1640-08d6f86b00b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 06:12:57.4480 (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: BYAPR18MB2615 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-24_05:, , 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: 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 >=20 > This patch introduces a new version of the event timer adapter software > PMD. In the original design, timer event producer lcores in the primary a= nd > secondary processes enqueued event timers into a ring, and a service core= in > the primary process dequeued them and processed them further. To > improve performance, this version does away with the ring and lets lcores > insert timers directly into timer skiplist data structures; the service c= ore > directly accesses the lists as well, when looking for timers that have ex= pired. >=20 > 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: >=20 > $ sudo ./build/app/dpdk-test-eventdev -c 0xFFE -s 0xC --vdev=3Devent_sw0 = \ > -- --test=3Dperf_queue --plcores=3D4,5,6 --wlcore=3D7,8,9 --stlist=3Dp \ = -- > prod_type_timerdev --worker_deq_depth=3D32 >=20 > $ sudo ./build/app/dpdk-test-eventdev -c 0xFFE -s 0xC --vdev=3Devent_sw0 = \ > -- --test=3Dperf_queue --plcores=3D4,5,6 --wlcore=3D7,8,9 --stlist=3Dp \ = -- > prod_type_timerdev_burst --worker_deq_depth=3D32 >=20 > With the new version, I see a 151% improvement in throughput for the non- > 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 6= 5% > improvement in arm latency in the burst case. >=20 > Note: To perform the test, I commented out a check in the original versi= on > that checks the adapter tick interval against a minimum value. >=20 > Signed-off-by: Erik Gabriel Carrillo Acked-by: Jerin Jacob