[ovs-discuss] How to set a hard max flow limit in OVS

Adel Belkhiri adel.belkhiri at gmail.com
Tue Sep 24 16:49:00 UTC 2019

Thank you Ben for your reply.

Actually, I tried that (many times) but it didn't work. I tried :
sudo ovs-vsctl --no-wait set Open_vSwitch . other_config:flow_limit=1500
and :
sudo ovs-appctl upcall/set-flow-limit 1500

but neither one has an impact on the number of flows cached by the kernel
datapath. This number is checked using the commands :
sudo ovs-appctl upcall/show
and :
sudo ovs-dpctl dump-flows|wc -l

My Openvswitch version is 2.11.90.

Any other suggestions in this regards ?

Thank you.

Le ven. 20 sept. 2019 à 20:44, Ben Pfaff <blp at ovn.org> a écrit :

> On Fri, Sep 20, 2019 at 12:18:33PM -0400, Adel Belkhiri wrote:
> > Hello everybody,
> >
> > Does anyone know how to set a hard limit for the number of flows that can
> > be installed by ovs-vswitchd in the datapath ?
> >
> > I tried this command "ovs-appctl upcall/set-flow-limit   number" (where
> > number is between 1000 and 200000) but it doesn't have any impact. This
> > command indicates that the number is set successfully but when I use the
> > command "sudo ovs-appctl upcall/show" I can see that the limit increases
> > beyond the one that is set.
> >
> > Any idea how to set this limit ?
> Set other-config:flow-limit in the Open_vSwitch table using the
> database, as documented in ovs-vswitchd.conf.db(5).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190924/51b8d89d/attachment.html>

More information about the discuss mailing list