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 4919CA05D3 for ; Fri, 26 Apr 2019 20:51:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1BCC1B73E; Fri, 26 Apr 2019 20:51:08 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140052.outbound.protection.outlook.com [40.107.14.52]) by dpdk.org (Postfix) with ESMTP id E829E1B6F0 for ; Fri, 26 Apr 2019 20:51:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OFdCD5TAx/57xtfgeszauUyBkgmT7wPYik1Nuh5DnAQ=; b=jpdQTpWpDiDbByn8ObE5cv5jeDFp1oSk8CytUzsXzQAUhC84gDMrJxDd5acKHb5qeyhnmJWb1X1cmQ2zG5JdxTmv/hvDooaHLsWEjujLja3LXHqYwozM40BxGiyh/HMRTlw0nEGgmz3d54xX+d9lrgox6OMJI52mLiOvJV27x2Q= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB5245.eurprd08.prod.outlook.com (20.179.31.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Fri, 26 Apr 2019 18:51:05 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78%2]) with mapi id 15.20.1835.010; Fri, 26 Apr 2019 18:51:05 +0000 From: Honnappa Nagarahalli To: Erik Gabriel Carrillo , "jerin.jacob@caviumnetworks.com" CC: "mattias.ronnblom@ericsson.com" , "pbhagavatula@caviumnetworks.com" , "dev@dpdk.org" , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH v6 1/1] eventdev: add new software event timer adapter Thread-Index: AQHU/ELts+y6YgrQc0i0ywnsJjBy/6ZOyG1g Date: Fri, 26 Apr 2019 18:51:05 +0000 Message-ID: References: <1555945059-14808-1-git-send-email-erik.g.carrillo@intel.com> <1556291660-12373-1-git-send-email-erik.g.carrillo@intel.com> <1556291660-12373-2-git-send-email-erik.g.carrillo@intel.com> In-Reply-To: <1556291660-12373-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: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b80dcb54-e8b9-4b22-a160-08d6ca782334 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB5245; x-ms-traffictypediagnostic: VE1PR08MB5245: nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 001968DD50 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(346002)(396003)(39860400002)(376002)(13464003)(199004)(189003)(3846002)(316002)(66066001)(186003)(68736007)(110136005)(54906003)(86362001)(73956011)(76116006)(5660300002)(64756008)(66476007)(102836004)(52536014)(97736004)(6506007)(26005)(74316002)(53546011)(55016002)(14454004)(66446008)(66946007)(229853002)(66556008)(6436002)(71200400001)(71190400001)(305945005)(7736002)(33656002)(99286004)(76176011)(53936002)(7696005)(486006)(14444005)(11346002)(4326008)(256004)(508600001)(476003)(72206003)(6116002)(2501003)(446003)(8936002)(6246003)(2906002)(25786009)(9686003)(81166006)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5245; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: snMCKvEGEvXxRxUIXjP5WDTwWXn+/VGCgLrROaDLiIjoi6zHeNn3sMTaqX0fwysXU9dHRHa1a8zRhRzcfepwhT2+V543WjH50oKj+cQhcxGR8f9QW9mV59CLXJ8xLelYgCdV0HCdi1xmuNvplMikKU4hD7hFneAxrOlWDJaCKf1hGFaSyNlPicwR0GQ68r+RwGLCD2qsdrZCsl0REACvM/2ngKKQr/nH5QccgvWNur8RUm6GR843BeUVwuVzr94RC8iv3F0Eqf/a6bQbFUE9C6mJkT5SkfWffgcDher83I66x0o2W+Hp8an8qTdNzOkop7nGeOsX+Swk0J5112w5lwHV4NY13V1rk0ETSKQKlhN69LCmVQRY8c05kcF10Ug2k4brary52vWRqytFktJlgZiq4wMcu0BrLdWROSV+mVI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: b80dcb54-e8b9-4b22-a160-08d6ca782334 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2019 18:51:05.2990 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5245 Subject: Re: [dpdk-dev] [PATCH v6 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" Message-ID: <20190426185105.pCZ5b9OJ64cwyqkz4VR8i-byCdd8z04wXmsU7sz9Jnc@z> Hi Erik, A quick question. > -----Original Message----- > From: dev On Behalf Of Erik Gabriel Carrillo > Sent: Friday, April 26, 2019 10:14 AM > To: jerin.jacob@caviumnetworks.com > Cc: mattias.ronnblom@ericsson.com; pbhagavatula@caviumnetworks.com; > dev@dpdk.org > Subject: [dpdk-dev] [PATCH v6 1/1] eventdev: add new software event timer > adapter >=20 > This patch introduces a new version of the event timer adapter software P= MD. > In the original design, timer event producer lcores in the primary and > 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 in both > primary and secondary processes insert timers directly into timer skiplis= t data > structures; the service core directly accesses the lists as well, when lo= oking for > timers that have expired. How do you ensure concurrent access to the timer skiplist? Are you using an= y locks or is it a lock-free data structure?