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
Mihai Parparita 97b6d3e917 sockstats: remove per-interface stats from Get
They're not needed for the sockstats logger, and they're somewhat
expensive to return (since they involve the creation of a map per
label). We now have a separate GetInterfaces() method that returns
them instead (which we can still use in the PeerAPI debug endpoint).

If changing sockstatlog to sample at 10,000 Hz (instead of the default
of 10Hz), the CPU usage would go up to 59% on a iPhone XS. Removing the
per-interface stats drops it to 20% (a no-op implementation of Get that
returns a fixed value is 16%).

Updates tailscale/corp#9230
Updates #3363

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
1 year ago
..
connstats net/connstats: fix ticker in NewStatistics (#7225) 1 year ago
dns various: pass logger.Logf through to more places 1 year ago
dnscache tstest: add method to Replace values for tests 1 year ago
dnsfallback various: pass logger.Logf through to more places 1 year ago
flowtrack all: update copyright and license headers 1 year ago
interfaces all: use tstest.Replace more 1 year ago
memnet net/memnet: rename from net/nettest 1 year ago
netaddr all: update copyright and license headers 1 year ago
netcheck sockstats: switch label to enum 1 year ago
neterror all: update copyright and license headers 1 year ago
netknob all: update copyright and license headers 1 year ago
netns net/interfaces, net/netns: add node attributes to control default interface getting and binding 1 year ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 1 year ago
netutil all: replace /kb/ links with /s/ equivalents 1 year ago
packet all: update copyright and license headers 1 year ago
ping all: update copyright and license headers 1 year ago
portmapper sockstats: switch label to enum 1 year ago
proxymux all: update copyright and license headers 1 year ago
routetable net/routetable: include unknown flags in the routetable doctor output 1 year ago
socks5 net/socks5: add password auth support 1 year ago
sockstats sockstats: remove per-interface stats from Get 1 year ago
speedtest all: update copyright and license headers 1 year ago
stun all: use Go 1.20's bytes.Clone 1 year ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 1 year ago
tsaddr all: replace /kb/ links with /s/ equivalents 1 year ago
tsdial all: update copyright and license headers 1 year ago
tshttpproxy all: use tstest.Replace more 1 year ago
tstun wgengine: start logging DISCO frames to pcap stream 1 year ago
wsconn all: update copyright and license headers 1 year ago