Comment on Performance, memory and CPU usage tests of Tailscale, Netbird, Zerotier
iso@lemy.lol 1 year ago
Nice test! I’m a Tailscale user and I liked it being faster than others. I don’t care about memory usage but curious why there is a big gap 🤔 Like its using 20x more memory than Zerotier.
shevchuk@lemm.ee 1 year ago
Tailscale is written in Go with lots of dependencies. It also has a lot more features, to the point some would call it bloated. That would explain those 55 MB idle memory usage difference. But those 245 MB after iperf3 test though… I can’t explain, but it’s consistent and repeatable.
dan@upvote.au 1 year ago
Is it possible the others are using the Wireguard kernel module? In that case, a lot of the memory usage will be in kernel/system memory, and just looking at the app’s memory usage won’t be the full story.
shevchuk@lemm.ee 1 year ago
Netbird uses kernel Wireguard module, right. Is there a way to measure kernel memory / CPU usage attributed to Wireguard? Zerotier, which has the lowest memory usage, does not use Wireguard at all, they have their own custom protocol and is userspace IIRC.
dan@upvote.au 1 year ago
Not that I’m aware of, unfortunately.