[ovs-git] Open vSwitch: ofproto-dpif-upcall: Hardcode max_idle to 1500ms. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jan 29 20:32:17 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  0a8763fcb31bfca0d8d854c235c531005088fcb9 (commit)
      from  08d74a962e302b752f53a9c367053a39068104ed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0a8763fcb31bfca0d8d854c235c531005088fcb9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0a8763fcb31bfca0d8d854c235c531005088fcb9
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-upcall: Hardcode max_idle to 1500ms.
		
Before this patch, OVS tried to guess an optimal max idle time for
datapath flows based on the number of datapath flows relative to the
limit.  This caused instability because the limit was based on the
dump duration which was affected by the max idle time.  This patch
chooses instead to hardcode the max idle time to 1.5s except in
extreme case where the datapath flow limit is exceeded.  1.5s was
chosen to ensure pings occurring at once per second stay cached in the
datapath.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 ofproto/ofproto-dpif-upcall.c |   25 ++++---------------------
 tests/ofproto-dpif.at         |   10 ++--------
 2 files changed, 6 insertions(+), 29 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list