Windows Kills SMB Speeds When Using Tailscale
Dan Salmon experienced reduced SMB transfer speeds on Windows using Tailscale, linked to interface metric prioritization. Adjusting the metric restored speeds, and he plans to switch to Linux and upgrade hardware.
Read original articleDan Salmon reported experiencing significantly reduced SMB transfer speeds while using Tailscale on a Windows machine. The issue arose during an attempt to transfer an ISO file from a TrueNAS SMB share, despite the NAS being capable of saturating a gigabit link. Salmon suspected that Tailscale was the cause, as quitting the application previously restored transfer speeds. The problem was linked to Windows' interface metric system, which determines the preferred network interface based on link speed. The Tailscale interface, advertising a link speed of 100Gbps, was assigned a lower metric than the gigabit NIC, leading Windows to prioritize it for all traffic. To resolve the issue, Salmon increased the interface metric for Tailscale using PowerShell, ensuring that the Ethernet interface was used for general traffic while reserving Tailscale for specific Tailnet traffic. After making this adjustment, transfer speeds returned to near-gigabit levels. Salmon also expressed a desire to switch to a Linux distribution and upgrade the NIC to 10G in the future.
- Tailscale can negatively impact SMB transfer speeds on Windows due to interface metric prioritization.
- Windows assigns lower metrics to faster interfaces, affecting traffic routing.
- Adjusting the interface metric for Tailscale can restore normal transfer speeds.
- PowerShell can be used to modify interface metrics when the Control Panel is ineffective.
- Future plans include switching to Linux and upgrading network hardware.
Related
Perfect NAS Solution
The author optimized their NAS solution by transitioning to more efficient hardware, utilizing NVMe SSDs, implementing a robust backup strategy, and emphasizing power management for cost-effective performance and data redundancy.
Tailscale SSH
Tailscale SSH manages SSH authentication on a tailnet, encrypts connections, supports re-authentication for high-risk connections, maintains existing configurations, and uses ACLs for user and device access control.
Taildrop lets you send files between your personal devices on Tailscale network
Tailscale's Taildrop, in public alpha, enables secure file transfers between personal devices on a Tailscale network, supporting multiple operating systems and allowing resumption of interrupted transfers.
What performance should you get from different types of storage?
The article examines external storage performance with Macs, revealing that real-world speeds often differ from advertised figures, particularly for Time Machine backups, and emphasizes the importance of updated NAS software.
Tailscale HTTPS Certificate on Synology NAS
Simmo Saan explains how to secure access to a Synology NAS using Tailscale, detailing the use of an undocumented command for HTTPS certificates and automating renewal every 90 days.
This is the OS working as designed, switching to Linux won’t help. Tailscale needs to do a better job reporting link characteristics.
But... Again, not a Windows problem. It is easy to fix by just advertising a longer route. But that implies you won't clobber other things. By default a more specific route will be chosen so a longer route advertised on the TS interface won't be selected.
How do other OSes handle the situation of having two interfaces with identical routes to a given destination ?
I don't see a better solution than using link speed, but I haven't thought about it too deeply.
Yes, turns out running overlay/VPN type things disrupts traffic patterns. This is a non-story.
But we're talking about using wireguard on a local network, so the actual interesting question is: why does it cause the performance to plummet? Is it an implementation issue or something more fundamental?
I expect some performance impact. I don't expect a three orders of magnitude impact (which is what 355 KB/s imputes).
What oddly coincidental timing ... I finished setup of Tailscale just yesterday and ran into this exact issue when testing it. I didn't think too much of it and blamed the USB connection I'm using to connect my external drive.
It makes me a little happy when a new CLI is able to do something the old GUI cannot!
I decided to brute force it, by editing my hosts file on Windows and adding a custom entry for the static IP assigned to the 10GbE adapter in TrueNAS. So if my NAS was named "mynas" I'd add a "mynas10" entry in hosts file.
Don't take me wrong, I think tailscale is absolutely great, I'm just interested in trying Zerotier for a while since it has integration with OPNSense (in the GUI, I know tailscale works fine if you install the package and configure it manually).
I treated myself to 10GbE a while ago, and it feels like the protocol side of this is something that just gets overlooked. Unclear why. Maybe people just assume once it works, it works?
Related
Perfect NAS Solution
The author optimized their NAS solution by transitioning to more efficient hardware, utilizing NVMe SSDs, implementing a robust backup strategy, and emphasizing power management for cost-effective performance and data redundancy.
Tailscale SSH
Tailscale SSH manages SSH authentication on a tailnet, encrypts connections, supports re-authentication for high-risk connections, maintains existing configurations, and uses ACLs for user and device access control.
Taildrop lets you send files between your personal devices on Tailscale network
Tailscale's Taildrop, in public alpha, enables secure file transfers between personal devices on a Tailscale network, supporting multiple operating systems and allowing resumption of interrupted transfers.
What performance should you get from different types of storage?
The article examines external storage performance with Macs, revealing that real-world speeds often differ from advertised figures, particularly for Time Machine backups, and emphasizes the importance of updated NAS software.
Tailscale HTTPS Certificate on Synology NAS
Simmo Saan explains how to secure access to a Synology NAS using Tailscale, detailing the use of an undocumented command for HTTPS certificates and automating renewal every 90 days.