From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B1A7C58C3 for ; Wed, 18 Nov 2015 11:04:26 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 18 Nov 2015 02:03:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,312,1444719600"; d="scan'208";a="841347244" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga001.fm.intel.com with ESMTP; 18 Nov 2015 02:03:42 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.251]) by IRSMSX154.ger.corp.intel.com ([169.254.12.98]) with mapi id 14.03.0248.002; Wed, 18 Nov 2015 10:03:40 +0000 From: "Kulasek, TomaszX" To: "Betts, Ian" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 1/2] examples: add performance thread sample application Thread-Index: AQHRIeGJhU5kCle2A0esXkWEFDGWHp6hjIvg Date: Wed, 18 Nov 2015 10:03:40 +0000 Message-ID: <3042915272161B4EB253DA4D77EB373A14E1EF54@IRSMSX102.ger.corp.intel.com> References: <1447762268-25980-1-git-send-email-ian.betts@intel.com> In-Reply-To: <1447762268-25980-1-git-send-email-ian.betts@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Betts, Ian" Subject: Re: [dpdk-dev] [PATCH v3 1/2] examples: add performance thread sample application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 10:04:27 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ibetts > Sent: Tuesday, November 17, 2015 13:11 > To: dev@dpdk.org > Cc: Betts, Ian > Subject: [dpdk-dev] [PATCH v3 1/2] examples: add performance thread > sample application >=20 > From: Ian Betts >=20 > This example comprises a layer 3 forwarding derivative intended to > facilitate characterization of performance with different > threading models, specifically:- >=20 > 1. EAL threads running on different physical cores > 2. EAL threads running on the same physical core > 3. Lightweight threads running in an EAL thread >=20 > Purpose and justification >=20 > Since dpdk 2.0 it has been possible to assign multiple EAL threads to > a physical core ( case 2 above ). > Currently no example application has focused on demonstrating the > performance constraints of differing threading models. >=20 > Whilst purpose built applications that fully comprehend the DPDK > single threaded programming model will always yield superior > performance, the desire to preserve ROI in legacy code written for > multithreaded operating environments makes lightweight threads > (case 3 above) worthy of consideration. >=20 > As well as aiding with legacy code reuse, it is anticipated that > lightweight threads will make it possible to scale a multithreaded > application with fine granularity allowing an application to more > easily take advantage of headroom on EAL cores, or conversely occupy > more cores, as dictated by system load. >=20 > To explore performance with lightweight threads a simple cooperative > scheduler subsystem is being included in this example application. > If the expected benefits and use cases prove to be of value, it is > anticipated that this lightweight thread subsystem would become a > library in some future DPDK release. >=20 > Signed-off-by: Ian Betts > --- Acked-by: Tomasz Kulasek