[ovs-discuss] ovs-ofctl memory consumption is large compared to flow bundle size [formatting correction]

Michael Ben-Ami mbenami at digitalocean.com
Wed Mar 21 20:42:23 UTC 2018

Thank you so much Ben and team! Assuming it is merged, we will deploy as
part of our next OVS upgrade. In the meantime, we have found conjunctive
matchers to be a solid workaround to help with limiting the size of the
flow bundle, and in turn the consumed memory.

On Tue, Mar 20, 2018 at 4:48 PM, Ben Pfaff <blp at ovn.org> wrote:

> On Mon, Mar 19, 2018 at 10:04:00PM -0700, Ben Pfaff wrote:
> > On Mon, Mar 12, 2018 at 03:47:16PM -0400, Michael Ben-Ami via discuss
> wrote:
> > > We found that when we add a flow bundle of about 25MB of textual flows,
> > > ovs-ofctl ballooned in resident memory to around 563MB. Similarly for a
> > > bundle about half the size at 12.4MB, ovs-ofctl hit 285MB.
> >
> > I have a branch in my "reviews" repository that should fix this:
> >         https://github.com/blp/ovs-reviews/tree/memory
> >
> > It's not quite ready to post for formal review (the commit messages need
> > work and it probably leaks some memory), but if you have a minute to
> > test it out, please do consider it.
> I polished it up and sent it out for review:
>         https://patchwork.ozlabs.org/project/openvswitch/list/?
> series=34920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180321/9f69e37b/attachment.html>

More information about the discuss mailing list