diff options
author | Magnus Karlsson <[email protected]> | 2020-11-16 12:12:47 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-11-17 22:07:40 +0100 |
commit | 3106c580fb7cf26691c1ce3aba2223f3ae56d846 (patch) | |
tree | fd8b06d91a34b79b6f9b456ed2d6509033f39e1b /tools/perf/scripts/python/compaction-times.py | |
parent | 9349eb3a9d2ae0151510dd98b6640dfaeebee9cc (diff) |
i40e: Use batched xsk Tx interfaces to increase performance
Use the new batched xsk interfaces for the Tx path in the i40e driver
to improve performance. On my machine, this yields a throughput
increase of 4% for the l2fwd sample app in xdpsock. If we instead just
look at the Tx part, this patch set increases throughput with above
20% for Tx.
Note that I had to explicitly loop unroll the inner loop to get to
this performance level, by using a pragma. It is honored by both clang
and gcc and should be ignored by versions that do not support
it. Using the -funroll-loops compiler command line switch on the
source file resulted in a loop unrolling on a higher level that
lead to a performance decrease instead of an increase.
Signed-off-by: Magnus Karlsson <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions