Re: [ovs-dev] [PATCH v4] ofproto: Reduce bundle memory use.

2016-08-15 Thread Jarno Rajahalme
> On Aug 15, 2016, at 11:19 AM, Ben Pfaff wrote: > > On Mon, Aug 15, 2016 at 10:57:32AM -0700, Ben Pfaff wrote: >> On Mon, Aug 15, 2016 at 10:43:45AM -0700, Jarno Rajahalme wrote: >>> On Aug 14, 2016, at 5:34 PM, Ben Pfaff wrote: On Mon, Aug 08, 2016 at 11:26:30AM -0700, Jarno

Re: [ovs-dev] [PATCH v4] ofproto: Reduce bundle memory use.

2016-08-15 Thread Ben Pfaff
On Mon, Aug 15, 2016 at 10:57:32AM -0700, Ben Pfaff wrote: > On Mon, Aug 15, 2016 at 10:43:45AM -0700, Jarno Rajahalme wrote: > > > > > On Aug 14, 2016, at 5:34 PM, Ben Pfaff wrote: > > > > > > On Mon, Aug 08, 2016 at 11:26:30AM -0700, Jarno Rajahalme wrote: > > >> Instead of storing the (big) s

Re: [ovs-dev] [PATCH v4] ofproto: Reduce bundle memory use.

2016-08-15 Thread Ben Pfaff
On Mon, Aug 15, 2016 at 10:43:45AM -0700, Jarno Rajahalme wrote: > > > On Aug 14, 2016, at 5:34 PM, Ben Pfaff wrote: > > > > On Mon, Aug 08, 2016 at 11:26:30AM -0700, Jarno Rajahalme wrote: > >> Instead of storing the (big) struct ofputil_flow_mod, create the new > >> rule and/or create the rule

Re: [ovs-dev] [PATCH v4] ofproto: Reduce bundle memory use.

2016-08-15 Thread Jarno Rajahalme
> On Aug 14, 2016, at 5:34 PM, Ben Pfaff wrote: > > On Mon, Aug 08, 2016 at 11:26:30AM -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. This change reduces

Re: [ovs-dev] [PATCH v4] ofproto: Reduce bundle memory use.

2016-08-14 Thread Ben Pfaff
On Mon, Aug 08, 2016 at 11:26:30AM -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. This change reduces the size of a bundle flow mod from > 3.5kb to 272 bytes,