On Mon, Jul 11, 2016 at 01:09:22PM +0200, Jesper Dangaard Brouer wrote: [...] > This patch is based on top of Brenden's patch 11/12, and is mean to > replace patch 12/12. > > Prefetching is very important for XDP, especially when using a CPU > without DDIO (here i7-4790K CPU @ 4.00GHz). > > Program xdp1: touching-data and dropping packets: > * 11,363,925 pkt/s == no-prefetch > * 21,031,096 pkt/s == brenden's-prefetch > * 21,062,728 pkt/s == this-prefetch-patch > > Program xdp2: write-data (swap src_dst_mac) TX-bounce out same interface: > * 6,726,482 pkt/s == no-prefetch > * 10,378,163 pkt/s == brenden's-prefetch > * 10,622,350 pkt/s == this-prefetch-patch > I see the same XDP numbers in my setup with this patch as well.
[...]