[ovs-dev] [PATCH] datapath: optimize flow compare and mask functions
jesse at nicira.com
Thu Jun 27 17:00:37 UTC 2013
On Sat, Jun 22, 2013 at 5:32 AM, Andy Zhou <azhou at nicira.com> wrote:
> For architectures can load and store unaligned long efficiently, use 4
> or 8 bytes operations. This improves the efficiency compare to byte wise
> This patch is uses ideas and code from a patch submitted by Peter Klausler
> titled "replace memcmp() with specialized comparator". The flow compare
> function is essentially his implementation. The original patch
> mentioned 7X speed up with this optimization.
> Co-authored-by: Peter Klausler <pmk at google.com>
> Signed-off-by: Andy Zhou <azhou at nicira.com>
By the way, I'm intentionally waiting on this patch until things
stabilize a bit.
More information about the dev