[dpdk-dev] [PATCH v10 0/4] examples: add performance-thread

Betts, Ian ian.betts at intel.com
Fri Dec 11 09:31:49 CET 2015


-----Original Message-----
From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] 
Sent: Friday, December 11, 2015 1:41 AM
To: Betts, Ian
Cc: dev at dpdk.org; Kulasek, TomaszX
Subject: Re: [dpdk-dev] [PATCH v10 0/4] examples: add performance-thread

>Applied, thanks
>The patch to mark it experimental and disable it has also been applied.
>The huge codebase has been integrated to give visibility.
>We need to discuss it more and decide how to continue (as a lib or drop).

Thanks Thomas,
When you analyze the "huge" codebase it breaks into 3 parts: 

1. A common l-thread subsystem ( ~2Kloc ) 
2. An l3fwd derived example ( ~2Kloc)
3. An hello world example pthread shim ( ~700loc )

If there is interest in lightweight threads the hope/expectation is that the l-thread
subsystem would become an rte library. On the scale of things I would describe 
it as an average sized lib in DPDK terms.

As for the examples, obviously there needs to be some example, but perhaps 
it is not so critical if they are retained in the present form, at least this is the only
place I can see to save lines of code.

Ian




More information about the dev mailing list