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/cmd
Andrew Dunham 8d3acc9235 util/sysresources, magicsock: scale DERP buffer based on system memory
This adds the util/sysresources package, which currently only contains a
function to return the total memory size of the current system.

Then, we modify magicsock to scale the number of buffered DERP messages
based on the system's available memory, ensuring that we never use a
value lower than the previous constant of 32.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ib763c877de4d0d4ee88869078e7d512f6a3a148d
2 years ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner all: update tools that manage copyright headers 2 years ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 2 years ago
derper net/tshttpproxy: don't proxy through ourselves 2 years ago
derpprobe cmd/derpprobe: allow running all probes at the same time 2 years ago
dist release/dist: add forgotten license headers 2 years ago
get-authkey all: replace /kb/ links with /s/ equivalents 2 years ago
gitops-pusher Add support for OAuth tokens #7394 (#7393) 2 years ago
hello all: update copyright and license headers 2 years ago
k8s-operator cmd/k8s-operator: disable HTTP/2 for the auth proxy 2 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg all: update copyright and license headers 2 years ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2 years ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy all: update copyright and license headers 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy sniproxy: add promote-https (#7487) 2 years ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: update copyright and license headers 2 years ago
stunc all: update copyright and license headers 2 years ago
sync-containers cmd/sync-containers: update latest and stable tags 2 years ago
tailscale cmd/tailscale/cli: make serve and funnel visible in list (#7737) 2 years ago
tailscaled util/sysresources, magicsock: scale DERP buffer based on system memory 2 years ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper all: update copyright and license headers 2 years ago
tsconnect cmd/tsconnect: allow root directory to be passed in 2 years ago
tsshd all: update copyright and license headers 2 years ago
viewer all: update tools that manage copyright headers 2 years ago