summaryrefslogtreecommitdiffstats
path: root/block/Kconfig.iosched
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2020-10-08 16:12:18 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2020-10-09 16:35:01 +0200
commitc3f01fdcedf9459b2a27b22287414ab3a0d5d818 (patch)
tree3e656fa260264bbc9e0f7518a030ba39d05c6e89 /block/Kconfig.iosched
parentMerge branch 'libbpf: auto-resize relocatable LOAD/STORE instructions' (diff)
downloadlinux-c3f01fdcedf9459b2a27b22287414ab3a0d5d818.tar.xz
linux-c3f01fdcedf9459b2a27b22287414ab3a0d5d818.zip
xsk: Introduce padding between ring pointers
Introduce one cache line worth of padding between the producer and consumer pointers in all the lockless rings. This so that the HW adjacency prefetcher will not prefetch the consumer pointer when the producer pointer is used and vice versa. This improves throughput performance for the l2fwd sample app with 2% on my machine with HW prefetching turned on. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/1602166338-21378-1-git-send-email-magnus.karlsson@gmail.com
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions