You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Tucker
21695cdbf8
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
...
Investigating battery costs on a busy tailnet I noticed a large number
of nodes regularly reconnecting to control and DERP. In one case I was
able to analyze closely `pmset` reported the every-minute wake-ups being
triggered by bluetooth. The node was by side effect reconnecting to
control constantly, and this was at times visible to peers as well.
Three changes here improve the situation:
- Short time jumps (less than 10 minutes) no longer produce "major
network change" events, and so do not trigger full rebind/reconnect.
- Many "incidental" fields on interfaces are ignored, like MTU, flags
and so on - if the route is still good, the rest should be manageable.
- Additional log output will provide more detail about the cause of
major network change events.
Updates #3363
Signed-off-by: James Tucker <james@tailscale.com>
2 weeks ago
..
defaultroute_bsd.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
defaultroute_darwin.go
all: remove AUTHORS file and references to it
3 months ago
interfaces.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_android.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_bsd.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
interfaces_bsdroute.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
interfaces_darwin.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_darwin_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_default_route_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_defaultrouteif_todo.go
netns,wgengine: add OpenBSD support to netns via an rtable
2 months ago
interfaces_linux.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_linux_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_test.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_windows.go
all: remove AUTHORS file and references to it
3 months ago
interfaces_windows_test.go
all: remove AUTHORS file and references to it
3 months ago
loghelper.go
all: remove AUTHORS file and references to it
3 months ago
loghelper_test.go
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
2 weeks ago
netmon.go
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
2 weeks ago
netmon_darwin.go
all: remove AUTHORS file and references to it
3 months ago
netmon_darwin_test.go
all: remove AUTHORS file and references to it
3 months ago
netmon_freebsd.go
all: remove AUTHORS file and references to it
3 months ago
netmon_linux.go
all: remove AUTHORS file and references to it
3 months ago
netmon_linux_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
netmon_polling.go
all: remove AUTHORS file and references to it
3 months ago
netmon_test.go
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
2 weeks ago
netmon_windows.go
all: remove AUTHORS file and references to it
3 months ago
polling.go
all: remove AUTHORS file and references to it
3 months ago
state.go
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
2 weeks ago