selftests: net: Fix slow configurations in big_tcp_tunnels.sh
authorAlice Mikityanska <alice@isovalent.com>
Sat, 22 Aug 2026 12:03:08 +0000 (15:03 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Aug 2026 15:42:28 +0000 (08:42 -0700)
commit1d62b83fb75125344693db8ebf970653db529f40
treeb2562439718f723a8edc3c9e1c80ecdd868b2fdf
parentf7d0400bd3452ed6915592b1929ba1d39d8e6552
selftests: net: Fix slow configurations in big_tcp_tunnels.sh

The combination of checksum offload disabled (that causes software GSO)
and a debug kernel is inherently slow. Depending on the CPU power and
load, RTT may increase, limiting sk_pacing_rate, so tcp_tso_autosize
caps SKBs at around 40 segments, and zero BIG TCP packets are produced.

Increase sysctl net.ipv4.tcp_min_tso_segs and set a bigger initial value
of CWND in these configurations to force BIG TCP.

Fixes: 5cb53743e1ff ("selftests: net: Add a test for BIG TCP in UDP tunnels")
Signed-off-by: Alice Mikityanska <alice@isovalent.com>
Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260822120308.1165200-5-alice.kernel@fastmail.im
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/big_tcp_tunnels.sh