🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12972

Re: [TCP] Severe CUBIC single-flow throughput degradation over a WAN path with Linux 6.8

#12972
From: Stephen Hemminger
Date: Mon, 09 Nov 2026 03:10
77 lines
13539 bytes
On Mon, 9 Nov 2026 05:41:51 +0800
RZ Z <zrzluck99@gmail.com> wrote:

> Hi,
> 
> I've been investigating a TCP throughput issue on a VPS running Ubuntu
> 6.8.0-31-generic.
> 
> With CUBIC, a single TCP connection only achieves around 3-6 Mbps,
> while four parallel CUBIC connections reach approximately 192-204 Mbps
> combined. Switching to BBR brings single-flow throughput up to around
> 200 Mbps.
> 
> I first noticed this while using Xray (VLESS + REALITY), but
> reproduced the slowdown with plain iperf3, so the issue doesn't appear
> to be specific to Xray.
> 
> The tests were in the VPS-to-client direction, with the VPS acting as
> the TCP sender.
> 
> Here are the main results:
> 
> CUBIC, 1 flow:    ~3-6 Mbps
> CUBIC, 4 flows:   ~192-204 Mbps aggregate
> BBR, 1 flow:      ~200 Mbps
> 
> One CUBIC run achieved 4.25 Mbps with 107 retransmissions. I also
> observed cwnd values around 2-9 segments under CUBIC, compared with
> around 539-666 under BBR in separate high-throughput tests.
> 
> The VPS configuration:
> 
> Kernel:           6.8.0-31-generic (Ubuntu)
> iperf3:           3.16
> Default CC:       bbr (changed from cubic)
> Available CC:     reno cubic bbr
> Egress qdisc:     pfifo_fast (enp1s0)
> TCP ECN:          2
> TCP SACK:         1
> TCP timestamps:   1
> 
> After switching to BBR, I also checked TCP statistics and noticed
> considerable reordering-related activity.
> 
> For example, one long-lived TCP connection reported:
> 
> rtt:          83.675 ms
> cwnd:         8
> retrans:      0/29
> reordering:   114
> reord_seen:   428246
> rcv_ooopack:  94147
> 
> These statistics came from a different connection, not the original
> iperf3 test, so I'm not sure whether the reordering activity is
> related to the throughput issue.
> 
> I also encountered a similar problem on another server with a
> different configuration and an entirely independent client network.
> Switching to BBR helped there too, although I haven't collected
> equivalent plain-TCP iperf3 results from that setup.
> 
> Could packet reordering or TCP loss recovery explain why CUBIC
> performs so poorly here? I'm also wondering whether any relevant
> changes have been made since Linux 6.8.
> 
> I understand that CUBIC can be sensitive to packet loss, but the
> difference between single-flow CUBIC and both parallel CUBIC and
> single-flow BBR seems unusually large.
> 
> Any suggestions on what to investigate next would be appreciated.
> 
> Thanks!

Is this a regression, was it always this way? 
It would also help to look at pcap traces and/or TCP statistics.
Technical Details
Message-ID: <20261108191029.51572dfd@phoenix.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359007-linux-kernel-netdev=dewy.ru
References: <CAGjTmwaxHE2acYOoDsCJGSmmfBdHm35Dc2EM5RCXX9+9R+6vdw@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359007-linux-kernel-netdev=dewy.ru
From: stephen@networkplumber.org (Stephen Hemminger)
Newsgroups: linux.kernel.netdev
Subject: Re: [TCP] Severe CUBIC single-flow throughput degradation over a
 WAN path with Linux 6.8
Date: Sun, 8 Nov 2026 19:10:29 -0800
Organization: Usenet Network
Message-ID: <20261108191029.51572dfd@phoenix.local>
References: <CAGjTmwaxHE2acYOoDsCJGSmmfBdHm35Dc2EM5RCXX9+9R+6vdw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="259980"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:9c+qA2Po7fZgciM663Fp/THEdgo= sha256:jp4U3YvabOTWzyqiUFlvMn5jlxK2h5R+lSfDWkcs8qg=
	sha1:+ZWVsSmUCYHfVgU5B+784XBDxSc= sha256:ISCkH+npG52FrNaRw3ug2Dsj2X4AzyJLVmo5NTHSW3M=
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 3FC3A11032A; Mon,  9 Nov 2026 06:11:04 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=networkplumber-org.20260707.gappssmtp.com
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 tSeiJFb06GX5;
	Mon,  9 Nov 2026 06:10:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-359007-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=quarantine dis=none) header.from=networkplumber.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id BA1D71136B2; Mon,  9 Nov 2026 06:10:44 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 5C345619107; Mon,  9 Nov 2026 03:10:37 +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=1794193832;
	b=zF5bZFXOM+m1uyrnfibzqsqBrwfp0JJqvpAyg7A8PLNJv+Q7S8F6VjbyDLmXZZkiR+PE
	 fM9n7IhsbwCm6hma9MIL0Bty837V+TEyIx1xkqUpnM9E9K130zfiHOXmk/t1T2PPQ8Rbx
	 8JhrwOGuKtFI5Ks+mzvtswA/1ceqpTsiygVj7CjZ9EXmtyynWBjLESsXLD8iz/n+tNbLl
	 DbrMSARLUKqzzS43jVyF76cqRDCU7kIwz/o38m5/MpFxCgGbkTZdhns7niDC09DNTipba
	 P/qmAto9/pRJr8p+Q4vXIRZ46ZJt/Vnf0VKL2BygE8V+9WP65qZ6NAfwBKufMOv9EgQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794193832;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=harov6bGKXNbIaXbn3EkhNugTypkiw1014DpITyDDfw=;
	b=IvvcSGEJXr/2NiO6Bmy0oY+seaB3tOwh1AcS2R3QsDMJU+Os0YcsMif2rsJ7LMn96OdT
	 5eS7mWCxQ8HZG/Q2pOgTruKoqBzzW79eTK+0w4/CpPXmfqekgngIWDRbt9wxAvd3I1zQv
	 xShREeXTK/yT44JfzKI7/SyIG4xSbek0s93nr+u0/ufbKvyFg/y1LS9UD/y7HOtjwSeKx
	 7w1Ftq+t2UMVYyzXqSRd2lxF9djPtHZaXPrqo3ySe1X6UarnkxnnKVVOiurKUOeHJKvVi
	 rox0dG6lv5K/lQmAPEPemTw8Fb5mvWptlWWxSspUWcBXeMlcZYm8yH2Ib/wu/EW1glg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=gWKBiOBL;
	dmarc=pass header.from=networkplumber.org;
	spf=pass smtp.mailfrom=networkplumber.org;
	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 CC89A606A33B;
	Mon,  9 Nov 2026 03:10:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=gWKBiOBL
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.48
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794193832;
	b=18R7o9HMtAIY/rxnT9u8FnCIuJlqO3kGmZt7kuI0xzl0tHbdHsr2q1mPlserAFgvf0E5
	 LLVNKLlf7SsTXLGFlZsrC3ixbIO6lW+GaV0pQWoEKA1lYaVHXtXGqfRXzybFneGOUORKn
	 TeRPoTMemZ5Xboc4MPG4GbRHxwMcP2a7/2GKI145V5ED1sDTcvmG+AV/LlhMpaeSWiEf/
	 QLtCeGsrK/KSAJ/zHnnfy9fYkP0U/G704gGq1u1njSrF6kigdLh+8PVND7EVaaFyqgrHi
	 TcZZAlbbvTbDDScTZ/REhY6kBeBEmouHrcjz/EOsqbw1eL/Zd/gDeW7B9w/gQ0Zp1HQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794193832;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc:
	 Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=harov6bGKXNbIaXbn3EkhNugTypkiw1014DpITyDDfw=;
	b=ZdYOdDvIn3exlhAEUCvwkpZBzpQF7W9tW1BEFHwhwZ+ilj5j/e65g0DkkJiSqenaXLOw
	 uok8zhZj1d9YMACtIL6AsS9bjtP129B6epqZfVixZryuOr6etxMRp5YNqS2B2tnym6KIo
	 ctkb+F+Xd7EAk8a7MCihuFWfKq3CKZL7jf9S/r8A/PUR23cCxFSC0IdxVwPwefW7EYa8t
	 svopmN30Qi6SWmpizQY3T7myQMY2BIPXbqRg+NMmZtwNDIKo2yqlOyu1gungjhelOaFM6
	 kTFYTzlviOjleQBE8qYt/+JtjkM0k2uhpDio8qWRYVyJuYQXawSgfCc8M/if+TMuEew==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=networkplumber.org;
	spf=pass smtp.mailfrom=networkplumber.org;
	dkim=pass header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=gWKBiOBL;
	arc=none smtp.remote-ip=209.85.216.48
X-Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E44F606A320
	for <netdev@vger.kernel.org>; Mon,  9 Nov 2026 03:10:31 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7E44F606A320
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=networkplumber.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=networkplumber.org
X-Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-3ad2b3b1c02so227370a91.1
        for <netdev@vger.kernel.org>; Sun, 08 Nov 2026 19:10:31 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1794193831; x=1794798631; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:mime-version:references
         :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=harov6bGKXNbIaXbn3EkhNugTypkiw1014DpITyDDfw=;
        b=gWKBiOBLd+HgFioVhnby8UJUd18CiLBS9iamoSTg9OzvWUVgK7QlJbHnK3gVYFOjjh
         eyn9XeCWbHaoyIAjE3E6Bi8CIsrCaggKiD8/edGVeGY25Vd9Hz1/+Yp1fB1KJ2W0UnP6
         NuDkMbFePSGNMeB0m7fdBDlBCShT4VdvND7UQr8kb7zM9PBS7HEJzm3rOw6D04dv5n0W
         S2oSMKWKRujcr197v8rthfAzKZ5DRcD7u1IsBmQTrktulIybpejCRPKmfR3BgeIM7dZ1
         rXsI2gmkW0F65K2j3Zdwl/O6BnjflVuNGLKL3bGsiGHVhstynmy/n45Si/+37gT0yi0p
         /3vw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1794193831; x=1794798631;
        h=content-transfer-encoding:content-type:mime-version:references
         :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=harov6bGKXNbIaXbn3EkhNugTypkiw1014DpITyDDfw=;
        b=Zb2eLwmPX31/d1FxIOA4b01KOWuhhzuiMMAmWYi7bGZtaXlKYZYgRNqxladVaKU8M2
         bIG3tIz23dIGlaOavM9sRrH2V0QAgeuI9c+pkDI9+G75d6mnng/w9SqcbqGduOrR4HNX
         HYsIu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002:a17:90b:1652:b0:3a7:e11c:4e6e with SMTP id 98e67ed59e1d1-3b12d5d4b51mr2627336a91.59.1794193830814;
        Sun, 08 Nov 2026 19:10:30 -0800 (PST)
X-Received: from phoenix.local (204-195-112-43.wavecable.com. [204.195.112.43])
        by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b1278d1191sm5284479a91.8.2026.11.08.19.10.30
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sun, 08 Nov 2026 19:10:30 -0800 (PST)
X-Cc: netdev@vger.kernel.org
X-In-Reply-To: <CAGjTmwaxHE2acYOoDsCJGSmmfBdHm35Dc2EM5RCXX9+9R+6vdw@mail.gmail.com>
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