[ovs-git] Open vSwitch: ofproto: Drop flows from datapath more quickly under heavy load. (citrix)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 8 06:16:21 UTC 2010


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, citrix has been updated
       via  86e44cbe3882a57ce6b296ec667ff0d85b2a11c8 (commit)
       via  70e1c137a20b0fa43aa830ae7ed045f29a5ea114 (commit)
       via  ac624d250c5362f113bca2ba6aa48fbd0af4f11f (commit)
       via  1986d0255b91cdf7c5d33b9fa8b7c5e178b8e420 (commit)
      from  9590517842ef5153c3cb44675d84ce63a24e7931 (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 86e44cbe3882a57ce6b296ec667ff0d85b2a11c8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=86e44cbe3882a57ce6b296ec667ff0d85b2a11c8
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Drop flows from datapath more quickly under heavy load.
		
In normal operation it makes sense to keep track of all of the flows that
have been seen recently and to cache all of them in the kernel.  Under
unusual conditions, such as those caused by network scanning tools or by an
actual targeted DoS attack against the vswitch, the number of flows can
explode to extremely high numbers (hundreds of thousands or more).  In such
a situation the vswitch needs to guard against memory exhaustion by
expiring flows more quickly and more often.  This commit implements an
inexpensive technique for determining which flows should be dropped in such
a situation.


commit 70e1c137a20b0fa43aa830ae7ed045f29a5ea114
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=70e1c137a20b0fa43aa830ae7ed045f29a5ea114
Author: Ben Pfaff <blp at nicira.com>
		
classifier: Introduce macros for iterating exact-match flows.
		
This special case of iterating through flows is easier and presumably
faster to implement using a macro.


commit ac624d250c5362f113bca2ba6aa48fbd0af4f11f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ac624d250c5362f113bca2ba6aa48fbd0af4f11f
Author: Justin Pettit <jpettit at nicira.com>
		
Revert "classifier: Introduce macros for iterating exact-match flows."
		
This reverts commit f4c7a286680a8e9bf197d088268eff37dc2b086c.

This commit was dependent on commit 4e8e42, which changed the
HMAP_FOR_EACH arguments.  This commit will be repushed using the
original arguments.


commit 1986d0255b91cdf7c5d33b9fa8b7c5e178b8e420
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1986d0255b91cdf7c5d33b9fa8b7c5e178b8e420
Author: Justin Pettit <jpettit at nicira.com>
		
Revert "ofproto: Drop flows from datapath more quickly under heavy load."
		
This reverts commit 9590517842ef5153c3cb44675d84ce63a24e7931.

This commit was dependent on commit 4e8e42, which changed the
HMAP_FOR_EACH arguments.  This commit will be repushed using the
original arguments.


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

Summary of changes:
 lib/classifier.h  |    9 +++++----
 ofproto/ofproto.c |    4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list