From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.52.54 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796222917; b=5MyjeeUyrMS8Cdgu01WIULr0/dA9HvfhsximbWXVveM3t5hHtUnRpVLsnygs80IYX+WP dNiwna2UerzotLMCs4/p3LHeCPIbuJeQQ1tyFf4AeSzPVZuADNGS+nbCKUDVYg7sCjvt3 s5/JsUx/XeabTfs7yC8lCjgsRBgfA6yAtQYILFDsTuHftOwsHseT45tpaJ3fl49VczwiX lQ5Chb6oGa6ik/iQF6G9Lh6HgLM28J8ucnUXLKOYYzLk4t0JX7m7XZuAWQIznda98YzUS l2e+BD4JuNllejfm4IWQojOTegNE2tMpJV6ARKEvohAp7+yECzjGE+o2adPUUUc+Bwg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796222917; h=DMARC-Filter:DKIM-Signature:Received:Received:Message-ID:Date: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=8BLFexz2PXMLBeZyXLY79O3ZRyw6eruZcLMhKbp+DcU=; b=i7GihG9m5d6+UqiKM78cJTlVUJCHCsJSZ+AqF3enqZBR9CC5H3LMoX1L2rek+krsXkf6 gAEdIf9DY8efXvrC5Tz3ol/jN1zUJHTLkKtFob6XjdqyFPfMHG0h4wlqCnw+9K/w1RNv5 b0CZL+kKeXbOceTDt5MA5zOsY2TqTTjs84WIeMWOIhtuHf7+w2+1Ed4ZIG2rgXOOHyWSw xn57Xm084hS7UMEERz2y6ZmyKgsBtFY1pMKFMCbT3FhvyeHa0DuzIw9AhlcalFUAw3CjA 40pzMT/IBkKXrVKieZYBFXN0/jUjdpvSU5hiOj35qNPHoyX6DMWwY8JHjqiHLwtkyHg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=eL4gfw8+; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.52.54 Received: from BL2PR02CU003.outbound.protection.outlook.com (mail-eastusazon11011054.outbound.protection.outlook.com [52.101.52.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02226606A31A; Wed, 2 Dec 2026 14:48:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 02226606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=eL4gfw8+ ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EyU75XE7kbUwfEL2vKiw72EBKKtWCngbQix2PveEkwFySBakYlt5XgRyts623QNOi2FEgJyQKpANE6kRDN6yM5Thxe4Gu/v1yx/5b4zNqmHwsgHX9QUcV/LrN8Ht3Yqd6vG5SnwK465IX9S7I33zFDun2U4LDhbNPr+zwd/fQDjfa4G1wPFqo2fPK8yzAxWNXsv3+xTXL3qovvpMKXtOJr84s8TGP6NgIzEsMgVIkvIQR2COXWJTKmzRRQpXVNEJv5nIscy2MpJ0PWQ0gUzDYQ6zfRIMmuCykM7dKe4pV6RmEI+prG4I62Vz+xRjbxDpoLPj4xz/qGJ/h1b6e/LTRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8BLFexz2PXMLBeZyXLY79O3ZRyw6eruZcLMhKbp+DcU=; b=yNRyk98nHsZlvbvZV/lU3gVNGyuZTg61cF3F8rcowjHumdqU1pS0vlpwVk80MInu0VtpHyTeUrMMODDc8HK050UWTnGjqZeopm1xEijYp3o+dukQ14o+oO1Wroy4/UU52fYeGoDaMi6OSWpYM18ibqcUWlZ3qEBRQSFf8ut0wOvNFlrV1S9myTXZC6p+VuxYBLDZyF0N5m8l6CxrE2y5dSBdazXOporGk5KLJOLjTAt16L8l3x+BR6N/bLn14cO1fM1c0Yzlb4d45EduhGHRjnmxeGsAyNMKiI1zbajoI0j4rVcnnoEEttMidEOAzfljThCvn0WkYfY1eRW9bwGAyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8BLFexz2PXMLBeZyXLY79O3ZRyw6eruZcLMhKbp+DcU=; b=eL4gfw8+10niPyPdfG/NBTGOeo8CDfqtT+0R9OIKpGYAsJBxCbGC9lLTpmat/kRTop4ZZu/xyaajsmqYTbKm/GLLZoJbDnnfAbZiW9Am+IcNiA02CDHt5sJQwygwG3bZNgk0KSAb3kUx+JNTauEWUprnNihzoEsbLn87qQ3FUjcXZvUrL1SJWUENTvLIkPCjzLQ3IFbvWuC4c7dBSDXDAWYKQGztRYSvXmpOn0AHemyNHSOsiD+TIbKDqwj584IYnYjwGt0NXS7tl971bSZr+k+uuLDgR9ZienbNxukI+XOMObw0QP2n8iYgVIB3ajjjPm0Px5MPOKTUcNNWXr3Z4w== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from CHAPR12MB999248.namprd12.prod.outlook.com (2603:10b6:610:2ff::22) by DS0PR12MB8561.namprd12.prod.outlook.com (2603:10b6:8:166::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Wed, 2 Dec 2026 14:48:29 +0000 Received: from CHAPR12MB999248.namprd12.prod.outlook.com ([fe80::4972:8062:d74e:b205]) by CHAPR12MB999248.namprd12.prod.outlook.com ([fe80::4972:8062:d74e:b205%6]) with mapi id 15.21.0688.009; Wed, 2 Dec 2026 14:48:29 +0000 Message-ID: <42308b93-e0f3-4770-89e8-799e6d8f7901@nvidia.com> Date: Wed, 2 Dec 2026 15:48:22 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2] net/mlx5e: Prefetch the packet a few strides ahead in the linear MPWQE path To: Antonio Quartulli Cc: netdev@vger.kernel.org, saeedm@nvidia.com, tariqt@nvidia.com, mbloch@nvidia.com, leon@kernel.org, cratiu@nvidia.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, sdf@fomichev.me, linux-rdma@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261104195241.1883539-1-antonio@mandelbit.com> <674eb8ef-c93f-4926-a760-62df154ed3eb@mandelbit.com> <20261125215233.3422038-1-dtatulea@nvidia.com> <20261201112031.2657332-1-dtatulea@nvidia.com> <20261201141133.1747734-1-antonio@mandelbit.com> Content-Language: en-US From: Dragos Tatulea In-Reply-To: <20261201141133.1747734-1-antonio@mandelbit.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0187.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ca::9) To CHAPR12MB999248.namprd12.prod.outlook.com (2603:10b6:610:2ff::22) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CHAPR12MB999248:EE_|DS0PR12MB8561:EE_ X-MS-Office365-Filtering-Correlation-Id: 1cbfe5aa-5dc0-4d2c-c40d-08df508353e3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|23010399003|376014|7416014|56012099006|10067099003|261026140227099003|261028144727099003|261022105027099003|261021123027099003|261026121527099003|261022075727099003|261009223027099003|22082099003|18002099003|11063799006|4143699003; X-Microsoft-Antispam-Message-Info: d/mzTAz3VEcQghvUCMyNvOXADsoVNXK4xG69bwhlD1NQnj1qvds1yV5eM0YivskyzMrnRs+vsO8t97Czgj9bpjKTpOJjNCs+g+ed+ywt3BrWbo9Q98NA8hLt5dLEwHvJBcHKT9fplS8UwMQnIiEbIx3dVUctPfFtdoDOFHPM0O4htRfSStACA5IJc4OI6YbeV3rozK+RniPufkR4G5IKRyOW5CpwJUY7ioOiXd7fPNpAwKw/dCXoIHm/PRB5fZs2SKxxTdZiHu9y7P8xdTIsBjCo1kHaSI6Lidn1ZJ+bAcfBudnMUzZ29IQak2/CwGNA2zXl6hQTXHXr1AyWFbzCx2JhDENWw5g+q0w24ztAB1H/Du3z4IsopiCRJzT7u+xupUvug03lBNFyPPDjClHrjQfvyU5zwyfkOMzRR6OJlznNNuVNJBFJJ8B/8bq98zPKtVrzZ8tK1Zg4wBIoNNDeGrH4U+p+9XJ7058/8pWeKICYCJE76iVeHDwvb16/RfIvzmBz8Wto8N7WqOeQF9BkWIvP/mKxCIm06UpASpf2bo+M1ftxIiuYrwijFsDdz8IGYYtPeHx18eT5/suF+oP4cuXGw7s29mGRQAZBxcnKooQWlspkqNDU+fvH5uSk0MqYBbvZnPrRyfovM/jDHe/P8msvBgGGtjrXHSv1s55L7aE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CHAPR12MB999248.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(23010399003)(376014)(7416014)(56012099006)(10067099003)(261026140227099003)(261028144727099003)(261022105027099003)(261021123027099003)(261026121527099003)(261022075727099003)(261009223027099003)(22082099003)(18002099003)(11063799006)(4143699003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MUtYbFBHc0ZIdWdBd0lFWWhpM0NueUxNWWVzWWV5OWRQZXQ2M0dXTnRFYlRq?= =?utf-8?B?VkNGNWxwR2RMUlVoMUpPU1ZOUkIwRDRKejFFckJwU2ZxczZtTFJDcmN1ZnZp?= =?utf-8?B?WUZtYm95TC84OGNIaldDMzZuYWJUM1hXTkhoVkFQaS9WZHNGN1BRQk55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3Z0EvZzFPSG9ZQ1AwWGZBdnRFWTNwY0lnaHpL?= =?utf-8?B?SlFZTzYwbkNGcmVEUGpQWk12Q0hUUENjK0xZajkra0N5OEFlejR2aFZBVTZi?= =?utf-8?B?NmJtblNUa0VvbTZ3UlJlQll6RWMrN0tiR244L2lpTXpOQ0FlT3JDallFaDhy?= =?utf-8?B?Z3FYekNOc0J5eDdTb2hCNWQyVlg3SFhrSVlyOTVxTDBhS0t2WXBaSnVyamFN?= =?utf-8?B?UU5mSURWNFlHUTZBUVlNYlcrd2JYRlNrWXRnVjV1ZzlGaE1tZkp2UUZaQVho?= =?utf-8?B?VG1kdE90OGJVWHl2WnVKNXAyaHh4TWV3TmY4c3dDV1FYR0RRQlNETU5MZFVY?= =?utf-8?B?RkFoUGY4RnZRK21lclVYOEJ3dTJ0TVNhU1B4RTZ6NHVORHZWWW1tUT09?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cbfe5aa-5dc0-4d2c-c40d-08df508353e3 X-MS-Exchange-CrossTenant-AuthSource: CHAPR12MB999248.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 14:48:29.0448 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xoICLLbZ8DcsAit5YDc4sn7Rmbel4dG3Rv508Zp7HXtduvgvzYDpTA9Zi0ntB0kuGesrFZG+IO1Y3l8F9GJLWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8561 Hi Antonio, On 01.12.26 15:11, Antonio Quartulli wrote: > Hi Dragos, > > On 01/12/2026 12:20, Dragos Tatulea wrote: >> I was trying to reproduce this and am not able to see such a large diff. >> Any steps on how to reproduce this? >> >> I ran 3 ovpn tunnels over a single queue, one TCP stream per queue and >> was a very small diff. > > Thanks a lot for trying ovpn out :-) > I re-measured today and found why: my numbers were taken with the ovpn > code we are working on, not with the ovpn in net-next, and the two > behave very differently herei (we are testing GRO/GSO and other > techniques to squeeze every single Bps out of it!). > > Same setup as before (Ryzen 9 9950X, ConnectX-5, MTU 1500, stock ring > and coalescing, one RX queue with its IRQ on a dedicated CPU, AES-GCM, > mean of 3 rounds), Gb/s: > > off v2 v2 w/o shinfo > net-next ovpn, 1 tunnel 17.8 17.9 17.9 > net-next ovpn, 3 tunnels 18.0 20.5 19.7 > ovpn perf branch, 1 tunnel 33.0 44.9 37.5 > ovpn perf branch, 3 tunnels 30.8 41.3 38.1 > > ("3 tunnels" is your layout: 3 tunnels over a single queue, one TCP > stream each.) > > With the net-next ovpn the sender is the bottleneck: without GSO, every > packet is encrypted in the sending application's context, which caps a > tunnel at about 18 Gb/s. The receiver gets cheaper with v2, but that > doesn't show as throughput. That's the small difference you saw. > > Our perf branch adds UDP GSO/GRO batching to ovpn (Ralf Lici's series on > openvpn-devel) and other RX/TX work, which makes the receiving CPU the > bottleneck. There v2 gives +34-36%, also with your layout. The > skb_shared_info line is worth +20% of that with one tunnel and +8% with > three; my earlier "+4-5% without it" came from an older version of our > GRO code and is outdated. > > If you want to try it: the branch is antonio/ovpn-perf-next at > https://github.com/mandelbitdev/ovpn-net-next (4a8182fa1798). It needs > its own kernel (it changes UDP GRO too); the tunnels can be set up with > the ovpn-cli of its selftests. > > The quickest way to see the throughput effect without ovpn is plain TCP > with several flows on one RX queue, the application on another CPU: > > receiver: ethtool -L combined 1 > echo > /proc/irq//smp_affinity_list > taskset -c iperf3 -s > sender: iperf3 -c -P 4 -t 20 > Is cpuB on same L3 cache domain with cpuB? > That gives here, mean of 3 rounds: > > off v2 > TCP, 4 streams, Gb/s 56.1 89.8 +60% > RX CPU cycles/packet 1172 664 -43% > TCP, 1 stream, Gb/s 50.4 49.5 > RX CPU cycles/packet 1176 663 -44% > > With 4 streams and no prefetch the RX CPU is saturated and drops (about > 10 million TCP retransmits per 20 s run, 130 thousand with v2). A single > stream stays at about 50 Gb/s either way, so there the gain shows only > as RX CPU time. > > I can share the scripts I used for both if they help. > Yes, this would be useful. I took your kernel and still can't see the added benefit. > Ah, one last note: for convenience I run my tests on a single host, with > the two ports of the CX5 connected to each other and two netns that set > them apart (but as long as you have enough cores, this shouldn't make a > difference for us). > That's also how I am testing it. Thanks, Dragos