diff options
author | Daniele Di Proietto <diproiettod@vmware.com> | 2015-06-15 19:06:39 +0100 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2015-06-15 15:03:50 -0700 |
commit | 72a5e2b8fc8c7c316c0b9feb96b7be5b19265c7c (patch) | |
tree | dadcf07db878200c2a47ca91c6561a00d85b81ea /datapath-windows/ovsext/Switch.c | |
parent | 9fc789b9062818161890d165e0bc71621209404a (diff) | |
download | openvswitch-72a5e2b8fc8c7c316c0b9feb96b7be5b19265c7c.tar.gz |
dpif-netdev: Prefetch next packet before miniflow_extract().
It appears that miniflow_extract() in emc_processing() spends a lot of
cycles waiting for the packet's data to be read.
Prefetching the next packet's data while parsing removes this delay.
For a single flow pipeline the throughput improves by ~10%. With a
more realistic pipeline the change has a much smaller effect (~0.5%
improvement)
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Switch.c')
0 files changed, 0 insertions, 0 deletions