ofproto-dpif: Run fast internally.
authorEthan Jackson <ethan@nicira.com>
Wed, 27 Mar 2013 18:33:22 +0000 (11:33 -0700)
committerEthan Jackson <ethan@nicira.com>
Mon, 1 Apr 2013 22:59:10 +0000 (15:59 -0700)
commit8fa4d1d0bf8f47c8404dbdf6a12cb60106617f8c
tree6ad42a38e5fce424b6761322acfd869e56600c40
parent8844e035421b9f2bf15edb1513146d865c5886d5
ofproto-dpif: Run fast internally.

ofproto-dpif is responsible for quite a few book keeping tasks in
addition to handling flow misses.  Many of these tasks (flow
expiration, flow revalidation, etc) can take many hundreds of
milliseconds, during which no misses can be handled.  The ideal
long term solution to this problem, is to isolate flow miss
handling into it's own thread.  However, for now this patch
provides a 5% increase in TCP_CRR performance, and smooths out
results during revalidations.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c