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 23:01:28 +0000 (16:01 -0700)
commit3ff576b335ca6cad1dfc1d916c9cc5a98297f2ef
tree791e23a47bd8bea69cfaee39c9a4e71defe9ae43
parent9eb0b058ce080da913900cece35e0ce2d1bb35b5
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