tailscale/wgengine/magicsock
Andrew Dunham bcf7b63d7e wgengine/magicsock: add hysteresis to endpoint selection
Avoid selecting an endpoint as "better" than the current endpoint if the
total latency improvement is less than 1%. This adds some hysteresis to
avoid flapping between endpoints for a minimal improvement in latency.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: If8312e1768ea65c4b4d4e13d8de284b3825d7a73
2023-05-02 08:56:16 -07:00
..
debughttp.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
debugknobs_stubs.go derp,magicsock: add debug envknobs for HTTP and derp server name (#7744) 2023-04-04 17:10:50 -07:00
debugknobs.go derp,magicsock: add debug envknobs for HTTP and derp server name (#7744) 2023-04-04 17:10:50 -07:00
discopingpurpose_string.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
magicsock_default.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2023-04-04 16:32:16 -07:00
magicsock_linux.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2023-04-04 16:32:16 -07:00
magicsock_test.go wgengine/magicsock: add hysteresis to endpoint selection 2023-05-02 08:56:16 -07:00
magicsock_unix_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
magicsock.go wgengine/magicsock: add hysteresis to endpoint selection 2023-05-02 08:56:16 -07:00
pathfinder.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00