[ovs-git] Open vSwitch: ovs-torture: New utility. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Oct 7 23:46:54 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, master has been updated
       via  bf73bcd875f29566c8047babb73d74073415792b (commit)
       via  bb9855a249773a3e280acb110c8543a83856a5ac (commit)
       via  3e7f20e626b406740ca99c2f35a014795b9a91ff (commit)
       via  0a7ee56fdcf0ade92be6d26ee47823a8ed7ac025 (commit)
       via  0de7a4b484d685a93b251023b86eed10c0045a40 (commit)
      from  35950f0cfa75821e4db5fc767b5a1671c40c6b1a (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 bf73bcd875f29566c8047babb73d74073415792b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bf73bcd875f29566c8047babb73d74073415792b
Author: Ben Pfaff <blp at nicira.com>
		
ovs-torture: New utility.
		


commit bb9855a249773a3e280acb110c8543a83856a5ac
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bb9855a249773a3e280acb110c8543a83856a5ac
Author: Ben Pfaff <blp at nicira.com>
		
socket-util: New function lookup_hostname().
		
This is equivalent to lookup_ip() except that it accepts DNS names also.


commit 3e7f20e626b406740ca99c2f35a014795b9a91ff
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3e7f20e626b406740ca99c2f35a014795b9a91ff
Author: Ben Pfaff <blp at nicira.com>
		
socket-util: Factor inet_parse_passive() out of inet_open_passive().
		


commit 0a7ee56fdcf0ade92be6d26ee47823a8ed7ac025
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0a7ee56fdcf0ade92be6d26ee47823a8ed7ac025
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Bump up max datapath queue len.
		


commit 0de7a4b484d685a93b251023b86eed10c0045a40
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0de7a4b484d685a93b251023b86eed10c0045a40
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.


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

Summary of changes:
 datapath/datapath.h     |    2 +-
 lib/socket-util.c       |  146 ++++++++----
 lib/socket-util.h       |    8 +-
 ofproto/ofproto.c       |  109 +++++++++-
 utilities/automake.mk   |    4 +
 utilities/ovs-torture.c |  583 +++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 796 insertions(+), 56 deletions(-)
 create mode 100644 utilities/ovs-torture.c


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list