[ovs-dev] [PATCH v2 26/26] ofproto: Reduce bundle memory use.

Jarno Rajahalme jarno at ovn.org
Fri Jul 29 23:36:36 UTC 2016


> On Jul 29, 2016, at 4:25 PM, Ben Pfaff <blp at ovn.org> wrote:
> 
> On Thu, Jul 28, 2016 at 05:56:18PM -0700, Jarno Rajahalme wrote:
>> Instead of storing the (big) struct ofputil_flow_mod, create the new
>> rule and/or create the rule criteria for matching at bundle message
>> insert time.  These can be uninitialized right after the start phase
>> during the commit, which may also reduce the total memory needed
>> during the bundle commit.
>> 
>> Signed-off-by: Jarno Rajahalme <jarno at ovn.org>
> 
> This #if 0's some code, in two places.  Do you mean for that to go into
> the repo?

No, I'll remove those!

  Jarno




More information about the dev mailing list