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

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Dec 11 12:42:50 CET 2015


2015-12-11 08:31, Betts, Ian:
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] 
> >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.

Yes, if it gains some interest and fit in the desired scope of DPDK,
it may become a library.
 
> 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.

Yes. Maybe we can make some efforts to shrink the size of examples (generally)
to make them easy to maintain and didactic.



More information about the dev mailing list