dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* Question on the Ring Library
@ 2013-12-04 11:46 Sambath Kumar Balasubramanian
       [not found] ` <CAPrcauPLZrC5ve4ZX47de5JzT8fSDi6Za3Oe2wKKLpKNTuc6_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Sambath Kumar Balasubramanian @ 2013-12-04 11:46 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

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
event in the ring as is today and there is a background thread that polls
the queues and wakes up the event threads. This is similar to Linux
SOFTIRQs.The event threads are asynchronous. Is this a fair model to avoid
extra polling CPU cycles by the event threads? Is there any other
alternatives in dpdk?

Regards,
Sambath

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-12-04 21:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-04 11:46 Question on the Ring Library Sambath Kumar Balasubramanian
     [not found] ` <CAPrcauPLZrC5ve4ZX47de5JzT8fSDi6Za3Oe2wKKLpKNTuc6_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-04 13:47   ` François-Frédéric Ozog
2013-12-04 14:00     ` Sambath Kumar Balasubramanian
     [not found]       ` <CAPrcauMiBS=T8p9bd1w9_DsGoke7VY2xk=fhDXvPf_YEMrzVHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-04 20:02         ` François-Frédéric Ozog
2013-12-04 21:49           ` Sambath Kumar Balasubramanian
2013-12-04 21:25   ` Stephen Hemminger
     [not found]     ` <20131204132548.05a151fe-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org>
2013-12-04 21:47       ` Sambath Kumar Balasubramanian
     [not found]         ` <CAPrcauOxmV0nYj1oznHz2s46br=pY=9GjmemKOT5_XQK1RhcUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-04 21:51           ` Stephen Hemminger
     [not found]             ` <20131204135125.0fb7bf3f-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org>
2013-12-04 21:58               ` Sambath Kumar Balasubramanian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).