Files
tailscale/tstest
Brad Fitzpatrick a538761334 tstest/membudget: measure with one TUN and UDP queue
Since 2e6fcb4f6 opened up to min(16, GOMAXPROCS) TUN and UDP queues on
Linux, each queue's reader pins a ~128 KiB packet buffer per address
family. On a 16-core machine that raised the measured startup cost
from ~2.3 MiB to ~7.5 MiB, at the edge of the 8 MiB budget, and the
test failed about a third of the time. iOS, which the budget protects,
only ever opens one queue, so set TS_DEBUG_MAX_QUEUES=1 as the test
previously did for TS_DEBUG_WG_BATCH_SIZE.

It failed within 4 runs under flakestress before, and passes 16,427
runs now.

Updates #deflake

Change-Id: I0697a8a9fe2ad3b1742d0ac2a93796bd3aceecbc
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-12-04 13:51:57 -08:00
..