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