Skip to content

Commit

Permalink
ofproto-dpif: Implement multi-threaded miss handling.
Browse files Browse the repository at this point in the history
This patch factors flow miss handling into its own module,
ofproto-dpif-upcall which can utilize multiple threads to process
misses.  For some important benchmarks, this change improves Open
vSwitch flow setup performance by roughly 50x (that's 50 times not
50%) in my testing.

Signed-off-by: Ethan Jackson <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
ejj committed Aug 11, 2013
1 parent ad3efdc commit e1ec7dd
Show file tree
Hide file tree
Showing 6 changed files with 1,108 additions and 532 deletions.
2 changes: 2 additions & 0 deletions ofproto/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ ofproto_libofproto_a_SOURCES = \
ofproto/ofproto-dpif-mirror.h \
ofproto/ofproto-dpif-sflow.c \
ofproto/ofproto-dpif-sflow.h \
ofproto/ofproto-dpif-upcall.c \
ofproto/ofproto-dpif-upcall.h \
ofproto/ofproto-dpif-xlate.c \
ofproto/ofproto-dpif-xlate.h \
ofproto/ofproto-provider.h \
Expand Down
Loading

0 comments on commit e1ec7dd

Please sign in to comment.