From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 66E598DA2 for ; Thu, 29 Oct 2015 17:21:50 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 29 Oct 2015 09:21:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,215,1444719600"; d="scan'208";a="838122144" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga002.jf.intel.com with ESMTP; 29 Oct 2015 09:21:48 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.98]) by IRSMSX106.ger.corp.intel.com ([169.254.8.229]) with mapi id 14.03.0248.002; Thu, 29 Oct 2015 16:21:47 +0000 From: "Kulasek, TomaszX" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/5] Performance thread example application Thread-Index: AQHRElwKPUKFdPCD+Ee7REud9mPu1J6CpYcA Date: Thu, 29 Oct 2015 16:21:47 +0000 Message-ID: <3042915272161B4EB253DA4D77EB373A14E0DE5C@IRSMSX102.ger.corp.intel.com> References: <1446131325-13019-1-git-send-email-ian.betts@intel.com> In-Reply-To: <1446131325-13019-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 v2 0/5] Performance thread example 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: Thu, 29 Oct 2015 16:21:50 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ibetts > Sent: Thursday, October 29, 2015 16:09 > To: dev@dpdk.org > Cc: Betts, Ian > Subject: [dpdk-dev] [PATCH v2 0/5] Performance thread example > application >=20 > From: Ian Betts >=20 > This example comprises 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 > A simple pthread shim in the form of a hello world example is also > included. >=20 > Ian Betts (5): > doc: add performance-thread sample application guide > examples: add cooperative scheduler subsytem for > performance-thread app > examples: add l3fwd-thread in performance-thread sample app > examples: add pthread-shim in performance-thread sample app > config: add build files for performance-thread >=20 Series Acked-by: Tomasz Kulasek