Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under backpressure

From: Simon Schippers

Date: Fri Dec 04 2026 - 03:08:36 EST


On 11/25/26 16:23, Simon Schippers wrote:
> While working on the veth BQL series [1], I noticed that veth was
> sometimes faster with BQL enabled than without it. Debugging this showed
> two reasons, both in how veth handles a full ptr_ring since commit
> dc82a33297fc ("veth: apply qdisc backpressure on full ptr_ring to reduce
> TX drops"):

Hi, a small update:

I noticed that my previously used Ubuntu Realtime Kernel
(6.8.1-1015-realtime) on the Host reduced performance in a weird way.
I therefore reran the benchmarks (on 7.0.0-44-generic) and the patchset
still improves the performance consistently, sometimes even more. Here
are the new numbers, benchmarked with AI assistance, compared to the old
ones on the Realtime Kernel:

realtime host generic host
net-next series net-next series
one sender, threaded NAPI
pktgen, 64 byte UDP 1.08 Mpps +24.8% 3.02 Mpps +36.4 +-0.4%
iperf3 TCP 32.7 Gbit/s +1.4% 31.7 Gbit/s +71.5 +-7.8%
iperf3 UDP, 64 byte 362 Mbit/s +1.4% 847 Mbit/s +1.5 +-0.4%

one sender, softirq NAPI
pktgen, 64 byte UDP 0.53 Mpps -1.8% 3.32 Mpps +21.0 +-0.7%
iperf3 TCP 21.4 Gbit/s -0.4% 26.9 Gbit/s -4.4 +-2.0%

two iperf3 senders, one queue
TCP, softirq NAPI 25.8 Gbit/s +51.9% 34.4 Gbit/s +12.4 +-4.9%
TCP, threaded NAPI 22.5 Gbit/s +15.0% 27.8 Gbit/s +36.7 +-2.7%
UDP, threaded NAPI 701 Mbit/s +15.2% 1069 Mbit/s +3.1 +-0.3%