I tried to delete and recreate the container, but there’s still this insane power consumption.
For comparison, cloudflared doing a tunnel to hundreds of users takes 0.06% of CPU time on the same server
I tried to delete and recreate the container, but there’s still this insane power consumption.
For comparison, cloudflared doing a tunnel to hundreds of users takes 0.06% of CPU time on the same server
That’s weird. I closed the docker on that specific machine (ryzen 5), copied the docker-compose directory (=same config) on an i5-6500T and now it’s using just 0.1% of CPU time.
Go back to ryzen and it’s 8% again 🤷
One thing you could try doing if you feel up to it is to build Tailscale from source code. Often when built for your specific machine, performance improves.
I just checked my AMD box and tailscale there can consume ~15% of cpu time when the tunnel is under active use. When it’s not used it’s ~1.5%. But it’s a low power old AMD cpu though (AMD G-T56N), so I’m not use if it compares to Ryzen 5. On my intel machine, it’s ~5% when under active use, and idle at ~0.5%.
I use tailscale on my Ruzen system, and it always stays under 1% usage. Usually below 0.5%.
Isn’t CPU % is per thread?