Re: [lng-odp] RSS in ODP

2018-01-12 Thread Oriol Arcas
gt;>>> On 4 January 2018 at 20:51, Oriol Arcas <or...@starflownetworks.com> >>>>> wrote: >>>>> >>>>>> Bill, Petri, Bogdan, >>>>>> >>>>>> Thank you for your fast feedback. It's been incredibly instructive. >>>>>> We were >&g

Re: [lng-odp] RSS in ODP

2018-01-12 Thread Bala Manoharan
ngineer >>>>> Starflow Networks >>>>> >>>>> On Thu, Jan 4, 2018 at 11:01 AM, Bogdan Pricope < >>>>> bogdan.pric...@linaro.org> >>>>> wrote: >>>>> >>>>> > I guess, the issue is not how to hash

Re: [lng-odp] RSS in ODP

2018-01-12 Thread Oriol Arcas
thread (core): >>>> > sched.sync guarantees that at one moment one queue is scheduled to a >>>> > single thread but not on the same thread all the times - this may be >>>> > enough for some implementations (to avoid some locks) but not enough >>>> > for others.

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Bala Manoharan
gt;>> > understand correctly, Bill suggests classification + sched queues, >>> > where each queue is assigned to a different sched group that is >>> > assigned to a single thread/core. >>> > >>> > Other idea is to use direct mode (+ RSS), where each worker

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Bill Fischofer
(+ RSS), where each worker is polling > >> > from the its own pktin all the time (odp_pktin_recv()). > >> > > >> > On 4 January 2018 at 10:24, Savolainen, Petri (Nokia - FI/Espoo) > >> > <petri.savolai...@nokia.com> wrote: > >> > > > &g

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Oriol Arcas
assigned to a single thread/core. >> > >> > Other idea is to use direct mode (+ RSS), where each worker is polling >> > from the its own pktin all the time (odp_pktin_recv()). >> > >> > On 4 January 2018 at 10:24, Savolainen, Petri (Nokia - FI/Espoo) >> > <petri.s

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Bala Manoharan
its own pktin all the time (odp_pktin_recv()). > > > > On 4 January 2018 at 10:24, Savolainen, Petri (Nokia - FI/Espoo) > > <petri.savolai...@nokia.com> wrote: > > > > > > > > >> -----Original Message- > > >> From: lng-odp [mailto:lng-odp-boun...@lists.l

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Oriol Arcas
-Original Message- > >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Oriol > >> Arcas > >> Sent: Wednesday, January 03, 2018 7:12 PM > >> To: LNG ODP Mailman List <lng-odp@lists.linaro.org> > >> Subject: [lng-odp] RS

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Bogdan Pricope
wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Oriol >> Arcas >> Sent: Wednesday, January 03, 2018 7:12 PM >> To: LNG ODP Mailman List <lng-odp@lists.linaro.org> >> Subject: [lng-odp] RSS in OD

Re: [lng-odp] RSS in ODP

2018-01-04 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Oriol > Arcas > Sent: Wednesday, January 03, 2018 7:12 PM > To: LNG ODP Mailman List <lng-odp@lists.linaro.org> > Subject: [lng-odp] RSS in ODP > > Hello and happy

Re: [lng-odp] RSS in ODP

2018-01-03 Thread Bill Fischofer
ODP has several mechanisms for controlling workload distribution. The hash functions can distribute packets from a given PktIO to a group of queues, however the classifier is the most flexible means of controlling this. A CoS defines a target queue for the flow. This is the queue that receives

[lng-odp] RSS in ODP

2018-01-03 Thread Oriol Arcas
Hello and happy new year, In our company we are looking into scaling the odp_schedule() calls. Currently we are manually doing Receive Side Scaling, which requires one CPU to receive all the packets and pass them to other worker CPU in a flow-deterministic way (i.e., not spreading the packets