[ovs-dev] [PATCH] ofproto: Increase default datapath max_idle time.
Joe Stringer
joestringer at nicira.com
Sun Sep 14 22:13:24 UTC 2014
Thanks, applied to master.
On 15 September 2014 09:41, Ethan Jackson <ethan at nicira.com> wrote:
> Acked-by: Ethan Jackson <ethan at nicira.com>
>
>
> On Thu, Sep 11, 2014 at 3:03 PM, Joe Stringer <joestringer at nicira.com>
> wrote:
> > The datapath max_idle value determines how long to wait before deleting
> > an idle datapath flow when operating below the flow_limit. This patch
> > increases the max_idle to 10 seconds, which allows datapath flows to be
> > remain cached even if they are used less consistently, and provides a
> > small improvement in the supported number of flows when operating around
> > the flow_limit.
> >
> > Signed-off-by: Joe Stringer <joestringer at nicira.com>
> > ---
> > ofproto/ofproto.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
> > index 1b8709a..d60b198 100644
> > --- a/ofproto/ofproto.h
> > +++ b/ofproto/ofproto.h
> > @@ -267,7 +267,7 @@ int ofproto_port_dump_done(struct ofproto_port_dump
> *);
> > )
> >
> > #define OFPROTO_FLOW_LIMIT_DEFAULT 200000
> > -#define OFPROTO_MAX_IDLE_DEFAULT 1500
> > +#define OFPROTO_MAX_IDLE_DEFAULT 10000 /* ms */
> >
> > const char *ofproto_port_open_type(const char *datapath_type,
> > const char *port_type);
> > --
> > 1.7.10.4
> >
>
More information about the dev
mailing list