On Tue, 10 Dec 2019 at 20:28, Samudrala, Sridhar <sridhar.samudrala@xxxxxxxxx> wrote: > [...] > > The tests were performed using the xdp_rxq_info sample program with > > the following command-line: > > > > 1. XDP_DRV: > > # xdp_rxq_info --dev eth0 --action XDP_DROP > > 2. XDP_SKB: > > # xdp_rxq_info --dev eth0 -S --action XDP_DROP > > 3. xdp-perf, from selftests/bpf: > > # test_progs -v -t xdp_perf > > What is this test_progs? I don't see such ann app under selftests/bpf > The "test_progs" program resides in tools/testing/selftests/bpf. The xdp_perf is part of the series! > > > Run with mitigations=auto > > ------------------------- > > > > Baseline: > > 1. 22.0 Mpps > > 2. 3.8 Mpps > > 3. 15 ns > > > > Dispatcher: > > 1. 29.4 Mpps (+34%) > > 2. 4.0 Mpps (+5%) > > 3. 5 ns (+66%) > > > > Dispatcher (full; walk all entries, and fallback): > > 1. 20.4 Mpps (-7%) > > 2. 3.8 Mpps > > 3. 18 ns (-20%) > > Are these packets received on a single queue? Or multiple queues? > Do you see similar improvements even with xdpsock? > Yes, just a single queue, regular XDP. I left out xdpsock for now, and only focus on the micro benchmark and XDP. I'll get back with xdpsock benchmarks. Cheers, Björn