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

Ben Pfaff blp at ovn.org
Tue Mar 20 20:48:50 UTC 2018


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


More information about the discuss mailing list