Skip to content

devtools: tcp throughput server, runtime: bump tcp buffer to 64k - #398

Merged
npry merged 2 commits into
mainfrom
npry/devtool.tcp_throughput
Sep 15, 2026
Merged

npry merged 2 commits into
mainfrom
npry/devtool.tcp_throughput

Conversation

@npry

@npry npry commented Sep 4, 2026

Copy link
Copy Markdown
Member

Simple TCP server which writes random data and sinks incoming data as fast as possible -- to be used for throughput testing. I've just been using:

$ nc $TSRS_HOST 1234 | pv > /dev/null

from a host with Go tailscaled installed to see throughput

Also adjusts the default TCP buffer size to 64kB (up from the 16kB default in netcore::Config).

@npry
npry force-pushed the npry/devtool.tcp_throughput branch 2 times, most recently from 4b0f5fc to 9c28292 Compare September 4, 2026 18:55
@npry
npry marked this pull request as ready for review September 4, 2026 19:00
Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: I464d2440180765cb4c9bb1d4a977f9006a6a6964
Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: Iac8015b94e9454047dc27ecbdd2d46076a6a6964
@npry
npry force-pushed the npry/devtool.tcp_throughput branch from 9c28292 to eeed84f Compare September 15, 2026 00:28
@npry
npry merged commit eeed84f into main Sep 15, 2026
22 of 23 checks passed
@npry
npry deleted the npry/devtool.tcp_throughput branch September 15, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants