You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Josh Bleecher Snyder 965dccd4fc net/tstun: buffer outbound channel
The handoff between tstun.Wrap's Read and poll methods
is one of the per-packet hotspots. It shows up in pprof.

Making outbound buffered increases throughput.

It is hard to measure exactly how much, because the numbers
are highly variable, but I'd estimate it at about 1%,
using the best observed max throughput across three runs.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
dns net/dns/resolver: race well-known resolvers less aggressively 3 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
dnsfallback net/dnsfallback: regenerate 3 years ago
flowtrack net/packet, wgengine/filter: support SCTP 4 years ago
interfaces net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
netcheck net/{interfaces,netcheck}: rename some fields, funcs 3 years ago
netns netns_linux: remove special handling for tests. 3 years ago
netstat all: adapt to opaque netaddr types 4 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 4 years ago
packet net/packet: use netaddr AppendTo methods 4 years ago
portmapper net/portmapper: rename ErrGatewayNotFound to ErrGatewayRange, reword text 3 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 3 years ago
speedtest Implemented Commandline Download Speedtest (#2064) 3 years ago
stun tstest/integration: add testNode.AwaitListening, DERP+STUN, improve proxy trap 4 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 5 years ago
tsaddr net/tsaddr: simplify TailscaleServiceIP 4 years ago
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 4 years ago
tstun net/tstun: buffer outbound channel 3 years ago