🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26826

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

#26826
From: Simon Schippers
Date: Fri, 04 Dec 2026 08:07
32 lines
10425 bytes
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%
Technical Details
Message-ID: <1a478eba-51d3-4228-8e71-f62298ef57b4@tu-dortmund.de>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ro.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377177-linux-kernel-netdev=dewy.ru
References: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ro.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377177-linux-kernel-netdev=dewy.ru
From: simon.schippers@tu-dortmund.de (Simon Schippers)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under
 backpressure
Date: Fri, 4 Dec 2026 09:07:46 +0100
Organization: Usenet Network
Message-ID: <1a478eba-51d3-4228-8e71-f62298ef57b4@tu-dortmund.de>
References: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2712489"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:SCQOs0kEEdUHj5MZoE2aqwusubg= sha256:k5MgSl5+jfzKNKc0Vo88AOmjtYXA/jeads+Iklihtro=
	sha1:O4VZQHAdTstTb/Z+Bn6Uhkq6e/U= sha256:+v5wS5ThXvLw5CkiVl3mc+Jc6QLojtlGWPub6jO/LVY=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B5AA7117B61; Fri,  4 Dec 2026 11:08:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.298
X-Spam-Status: No, score=-3.298 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=tu-dortmund.de
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JgkVH1PFIXsM;
	Fri,  4 Dec 2026 11:08:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377177-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=tu-dortmund.de
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id E2D32117AFF; Fri,  4 Dec 2026 11:08:35 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 84071258EF; Fri,  4 Dec 2026 08:08:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796371709;
	b=5OenuTNgW1GZ/ejguA7S33OMadoFiDaeGkydE4jCsvFKSV/8aT5M3g17xDD41cYAi76O
	 5vrLPXNFcFWKHPvl/to+SqroyBZW/MF9TMdFsjd1WrjrV/V+1ulQQ76Xx19zaok7aZUBz
	 uaI9rk/Xs1Rr3TLvUp00BAHlQkiusa8QFjJnkXlcWtHrVb7TDAZ1Rombt2mE3CDbF9HIN
	 P55+yjd4B3LcKk3yQXlg2yMuh9HVRiB/PaKir9BWZxjtrV7SeO1M0nvZrSdkP59enVq0Z
	 SGx5LgFWWyUUEB3doHzFAx2IXG5r4a3t6EWnTvDZ9UJ31Wug6gHLLpG19XVjEKdnZPw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796371709;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=njGWlGrMHlFGONXmJjsQCt6olqPtTz0cWHSscLTN75g=;
	b=n+R88MQuCmDB6XiISMJzth4wLNr5Rw3h4OGdT1sA2RZ0oq+UbqgB8APEBHKgNKObrUGE
	 cR+Phymo+Z8uTGxFpq1Jbta+wjWNRaT3xAZLpOYLYcwd46LHgoHPi+J0663nHefTp7bzE
	 oeI3WFjBhJisGOkpLTStv2fDKxzuvOY/jY/iUWDBuQn9Q7S9TbDpq7wPRUguh9I2dJb5b
	 nUmc2LjDlD++y9MMP39kShcHH+blOCgtbvCxXjm883/9552Vadj90lpJU72do3opAaktQ
	 bFvkuIrtF3XiyNk4byEFTuT2rhqFKfpcLqeXdGZdpYxXgnUI+xEuKrNmXwDYBW4Ynfw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=tu-dortmund.de header.i=@tu-dortmund.de header.a=rsa-sha256 header.s=unimail header.b=sDiNX5ar;
	dmarc=pass header.from=tu-dortmund.de;
	spf=pass smtp.mailfrom=tu-dortmund.de;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id DF923606A33B;
	Fri,  4 Dec 2026 08:08:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=tu-dortmund.de header.i=@tu-dortmund.de header.a=rsa-sha256 header.s=unimail header.b=sDiNX5ar
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=129.217.128.51
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796371708;
	b=gDucVedTGsqsUujOf59kQoeau6gKSm1qHVDngEgnddDXqVhGJi11TK8a6A3Kgcy0gxPw
	 B/yyPGHgO39sSzQNFmxBW9IE/wN7nkMWxz9vheEahTpzVPvmMQPAcKj0pbBAoe1/R0ZAb
	 dj007utjTzMLI0K30tV2NQYBQjaNekQpY4Ed9t06daWvzRVVaW60cEPYi2Gw22ZNhZMOC
	 iPZel38i6BQHoIDMFwRQA9PzE3lWtNYoa8L1ypMCHUu9e7mqB55L+lI5ko9YvoWDyvIPY
	 MWMBvuerIK+anTSeBuRrg9zqSjtEtdq0GtCxQIVrAWZ/7LH8qWaoh6ZXzppoSWVKQYw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796371708;
	h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=njGWlGrMHlFGONXmJjsQCt6olqPtTz0cWHSscLTN75g=;
	b=wHda4VA5QjNkaG9+ZAEsirZWDZNzqtzdMLBT2KaMit2OBjAOl+C2LcU/d/2Wf/GJs8GN
	 kTmnfKjxSADLxif/TVjmAKvtjFoJLOC4fLcIdyivmgJEwd0OczJ8t9K4fO/MPq5FrDnVM
	 UEuYrdGXLtWbx27zGuyG/JiBjzoAmdxarjLNAZK74f/VQR8EVehm4TYqNu0tIp0HG0yRC
	 QIduvF2TRSfyPV7KlY2OHqFaDbnyqzBNVBAMhEQfLLquiPURJji0NNO5B9yc3SObkQJ4A
	 9dBeLDK92YRCB1OZDCLuRG+26PWJPVMtYMGhOlS33DHUsWRWQGJvGBrreJSyzC1G+NA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=tu-dortmund.de;
	spf=pass smtp.mailfrom=tu-dortmund.de;
	dkim=pass header.d=tu-dortmund.de header.i=@tu-dortmund.de header.a=rsa-sha256 header.s=unimail header.b=sDiNX5ar;
	arc=none smtp.remote-ip=129.217.128.51
X-Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20358606A32D;
	Fri,  4 Dec 2026 08:08:25 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 20358606A32D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tu-dortmund.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tu-dortmund.de
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tu-dortmund.de;
	s=unimail; t=1796371676;
	bh=njGWlGrMHlFGONXmJjsQCt6olqPtTz0cWHSscLTN75g=;
	h=Date:Subject:To:Cc:References:From:In-Reply-To;
	b=sDiNX5arBELNbo9KfWyYuOw+TD43/KCcoxW5thDrzkYIcM4TqUCCigZd6xao79tVl
	 oaJUbEDLNoZW+V/ha/DfULCI8hB/TkPdFEcpRnMRPvq/NRjc8cT0V0DDKaOHQosjeG
	 q6hxaUnzWH3HRY/rRCQ6d2czXLQJym20IldLM4RQ=
X-Received: from [129.217.186.248] ([129.217.186.248])
	(authenticated bits=0)
	by unimail.uni-dortmund.de (8.19.0.2/8.19.0.2) with ESMTPSA id 6B487ku6010571
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Fri, 4 Dec 2026 09:07:54 +0100 (CET)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
        "David S. Miller"
 <davem@davemloft.net>,
        Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>,
        Paolo Abeni <pabeni@redhat.com>,
        Jesper Dangaard Brouer <hawk@kernel.org>,
        Tim Gebauer <tim.gebauer@tu-dortmund.de>,
        Jonas Köppeler <j.koeppeler@tu-berlin.de>,
        "Michael S. Tsirkin" <mst@redhat.com>,
        Jason Wang <jasowangio@gmail.com>, Alexei Starovoitov <ast@kernel.org>,
        Daniel Borkmann <daniel@iogearbox.net>,
        John Fastabend <john.fastabend@gmail.com>,
        Stanislav Fomichev <sdf@fomichev.me>, bpf@vger.kernel.org,
        linux-kernel@vger.kernel.org
X-In-Reply-To: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>