[dpdk-dev] Question on the Ring Library

2013-12-04 Thread François-Frédéric Ozog
magnitude higher than DPDK. Hope this helps. Fran?ois-Fr?d?ric De : Sambath Kumar Balasubramanian [mailto:sambath.balasubramanian at gmail.com] Envoy? : mercredi 4 d?cembre 2013 15:01 ? : Fran?ois-Fr?d?ric Ozog Cc : dev at dpdk.org Objet : Re: [dpdk-dev] Question on the Ring Library Thanks

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread François-Frédéric Ozog
t; Envoy??: mercredi 4 d?cembre 2013 12:47 > ??: dev at dpdk.org > Objet?: [dpdk-dev] Question on the Ring Library > > Hi, > > The ring library seems to be an excellent IPC. But looking at one use > case where the fast path code posts events to event thread for example, the >

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Sambath Kumar Balasubramanian
Understood. Thanks for getting back. Regards, Sambath On Wed, Dec 4, 2013 at 1:51 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Wed, 4 Dec 2013 13:47:10 -0800 > Sambath Kumar Balasubramanian wrote: > > > Thanks Stephen. I was going to do prototype something similar (not do

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Stephen Hemminger
On Wed, 4 Dec 2013 13:47:10 -0800 Sambath Kumar Balasubramanian wrote: > Thanks Stephen. I was going to do prototype something similar (not doing > the wakeup inline but using a background thread) > and is it a worthwhile effort to move this as a feature of the RTE ring or > is it best left at th

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Sambath Kumar Balasubramanian
. > > > > Hope this helps. > > > > Fran?ois-Fr?d?ric > > > > *De :* Sambath Kumar Balasubramanian [mailto: > sambath.balasubramanian at gmail.com] > *Envoy? :* mercredi 4 d?cembre 2013 15:01 > *? :* Fran?ois-Fr?d?ric Ozog > *Cc :* dev at dpdk.org &

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Sambath Kumar Balasubramanian
Thanks Stephen. I was going to do prototype something similar (not doing the wakeup inline but using a background thread) and is it a worthwhile effort to move this as a feature of the RTE ring or is it best left at the application level. On Wed, Dec 4, 2013 at 1:25 PM, Stephen Hemminger < stephe

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Stephen Hemminger
On Wed, 4 Dec 2013 03:46:36 -0800 Sambath Kumar Balasubramanian wrote: > Hi, > > The ring library seems to be an excellent IPC. But looking at one use > case where the fast path code posts events to event thread for example, the > event thread will spend some cycles polling the ring rather tha

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Sambath Kumar Balasubramanian
Thanks Fran?ois-Fr?d?ric. That puts real good perspective on the cost for the vent assuming each packet in the fast will result in an event. If event rate is orders of magnitude less than the packet rate, then I guess we can still achieve 10G since the "extra cost" will be in the event thread and n

[dpdk-dev] Question on the Ring Library

2013-12-04 Thread Sambath Kumar Balasubramanian
Hi, The ring library seems to be an excellent IPC. But looking at one use case where the fast path code posts events to event thread for example, the event thread will spend some cycles polling the ring rather than waiting for the event. One approach could be a fast path code basically posts the