[ovs-git] Open vSwitch: upcall: Cache the number of flows from the datapath. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jan 21 23:39:42 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  64ca9472f0b0f40b94abe2adf5d397bdf3d5e7b3 (commit)
      from  dfe37e6abd276de01f686bbdf28cbf48e92cd1dc (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 64ca9472f0b0f40b94abe2adf5d397bdf3d5e7b3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=64ca9472f0b0f40b94abe2adf5d397bdf3d5e7b3
Author: Joe Stringer <joestringer at nicira.com>
		
upcall: Cache the number of flows from the datapath.
		
Fetching the number of flows in the datapath has been causing
unnecessary contention on the kernel ovs_lock in recent TCP CRR tests.
This patch caches this number for up to 100ms in the userspace to reduce
such kernel calls.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Co-authored-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off--by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif-upcall.c |   36 ++++++++++++++++++++++++++++++------
 1 file changed, 30 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list