[ovs-discuss] Regarding queue size for each queue configured on openvswitch by using SDN (RYU) controller

Ben Pfaff blp at ovn.org
Mon Nov 13 20:14:01 UTC 2017

OVS doesn't have queues of its own.  If you want to control queuing for
the Linux kernel datapath, and the existing Linux network queuing
disciplines don't do what you want, you should create a new Linux
network queuing discipline that does what you want.

On Mon, Nov 13, 2017 at 11:52:02AM -0800, ANKUR SHETH wrote:
> Hello Ben,
> Thank you so much for your response. I appreciate your time and cooperation.
> Now that I have figured out its not possible to manage the buffer size
> using linux tc, I would like to work on the buffer for the openvswitch.
> Could you let me know if there is buffer in openvswitch where the packets
> are stored or if I need to create a buffer? I have found the functions
> related to the buffer size in the lib folder of openvswitch, but I am not
> able to understand where the function byteq_init(), etc. are called.
> Could you point me to the correct documentation where I can find the
> details about how the packet id processed in the openvswitch so that I can
> create a buffer and then manage its size using the byteq_init() function
> which is defined in the lib folder of openvswitch.
> Awaiting for your response.
> Regards,
> Ankur
> On Sat, Oct 21, 2017 at 2:25 PM, Ben Pfaff <blp at ovn.org> wrote:
> > On Fri, Oct 20, 2017 at 10:37:27PM -0700, ANKUR SHETH wrote:
> > > I am currently working on the queue control and bandwidth control for
> > > openvswitches using the SDN controller.
> > >
> > > I am able to configure the multiple queues with required max and min
> > > bandwidth rates) for the egress port , but I also want to limit the size
> > of
> > > the queue for the egress traffic for a particular port, which I am not
> > able
> > > to do.
> > >
> > > I actually intend to control the buffer size for the ingress as well as
> > > egress traffic via openvswitch.
> > >
> > > Could you please suggest on how I can achieve it or guide me to some
> > > documentation. Any help is appreciated.
> >
> > OVS doesn't have queues of its own, so this is a matter of configuring
> > Linux devices' traffic control, with "tc".  If you figure out
> > appropriate commands to do that, and you think that OVS should be able
> > to configure them for you, let us know and we can talk it over.
> >

More information about the discuss mailing list