On Mon, 13 Jan 2020 10:28:00 -0500 Ryan Goodfellow <rgoodfel@xxxxxxx> wrote: > On Mon, Jan 13, 2020 at 12:41:34PM +0100, Jesper Dangaard Brouer wrote: > > On Mon, 13 Jan 2020 00:18:36 +0000 > > Ryan Goodfellow <rgoodfel@xxxxxxx> wrote: > > > > > The numbers that I have been able to achive with this code are the following. MTU > > > is 1500 in all cases. > > > > > > mlx5: pps ~ 2.4 Mpps, 29 Gbps (driver mode, zero-copy) > > > i40e: pps ~ 700 Kpps, 8 Gbps (skb mode, copy) > > > virtio: pps ~ 200 Kpps, 2.4 Gbps (skb mode, copy, all qemu/kvm VMs) > > > > > > Are these numbers in the ballpark of what's expected? > > > > I would say they are too slow / low. > > > > Have you remembered to do bulking? > > > > I am using a batch size of 256. Hmm... Maybe you can test with xdp_redirect_map program in samples/bpf/ and compare the performance on this hardware? -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer