> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ibetts > Sent: Thursday, December 3, 2015 10:28 > To: dev at dpdk.org > Cc: Betts, Ian > Subject: [dpdk-dev] [PATCH v5 0/4] examples: add performance-thread > > From: Ian Betts <ian.betts at intel.com> > > This patchset comprises a layer 3 forwarding derivative intended to > facilitate characterization of performance with different threading > models, specifically:- > > 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 > > Purpose and justification > > 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. > > 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. > > 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. > > 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. > > > Changes in this version > * None > Idenitical with the V4 patchset, which comprised 2 patches. > V5 is divided into more 5 patches. > > > Ian Betts (4): > doc: add sample application guide for performance-thread > examples: add lthread subsystem for performance-thread > examples: add l3fwd-thread example in performance-thread > examples: add pthread_shim example to performance thread > > -- > 2.1.4
Series Acked-by: Tomasz Kulasek <tomaszx.kulasek at intel.com>