[ovs-git] [openvswitch/ovs] 15ae9d: dp-packet: prefetch the next packet when cloning a...
Flavio Leitner
noreply at github.com
Mon Feb 10 17:41:52 UTC 2020
Branch: refs/heads/branch-2.13
Home: https://github.com/openvswitch/ovs
Commit: 15ae9db33453ff9a63f2f460450e622b2ccdefd8
https://github.com/openvswitch/ovs/commit/15ae9db33453ff9a63f2f460450e622b2ccdefd8
Author: Flavio Leitner <fbl at sysclose.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
M lib/dp-packet.h
Log Message:
-----------
dp-packet: prefetch the next packet when cloning a batch.
There is a cache miss when accessing mbuf->data_off while cloning
a batch and using prefetch improved the throughput by ~2.3%.
Before: 13709416.30 pps
After: 14031475.80 pps
Fixes: d48771848560 ("dp-packet: preserve headroom when cloning a pkt batch")
Signed-off-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list