Jump to content
Silverbolt

6.7.0 Slow SMB Download Throughput

15 posts in this topic Last Reply

Recommended Posts

I recently upgraded to Unraid 6.7.0, and I'm suddenly seeing poor throughput when downloading files from the server through SMB from a Macbook Pro running Windows 10 and connected through 5 GHz WiFi. I usually get around 300-500 Mb/s, but on 6.7.0, it peaks at around 6 Mb/s. Connecting via Ethernet doesn't have this issue. Uploading files to the server through SMB doesn't have this issue. Downloading files via SFTP doesn't have this issue, either. Oddly enough, it works fine when booted into macOS and connecting through SMB.

 

Rolling back to 6.6.7 restores the fast SMB throughput I was seeing before the upgrade. Any idea why this is happening?

onigiri-diagnostics-20190519-1954.zip

Share this post


Link to post

Hi there,

 

This is a very weird issue you're having and not sure how we can go about recreating it or why this would be a problem in the first place or how Unraid would be causing it.  Just to confirm, this is the scenario:

 

 - You have Windows 10 installed on a Macbook Pro connected to your network via WiFi

 - Prior to 6.7, you would be able to copy files over the network to this device at 300-500 mbps

 - After 6.7, you are limited to 6 mbps

 - This behavior does exhibit itself on any other devices, wired or wireless, nor does it happen on the same device when booted into Mac OS

 

First question would be if you use another wireless device with Windows (on non-Mac hardware), what happens?

Share this post


Link to post

Yes, that's all correct. I have an Intel NUC running Windows 10 that is close to the router. I usually have it wired, but I disconnected it and connected it to WiFi, and it had the same slow SMB throughput as the Macbook in Windows 10.

Share this post


Link to post

Having a similar issue since 6.7.0.  Connected over ethernet to a Mac mini.  1080p video files that played fine before are stuttering a bit.

Share this post


Link to post
On 5/31/2019 at 5:39 PM, Silverbolt said:

Any other thoughts on what's happening or ideas on how to troubleshoot this issue?

Long shot, but just curious.  If you right click on Windows icon and go to Settings -> Network & Internet -> Change Adapter Options and double click your Wifi connection, what is your speed listed as?

 

I lost power last week for a few days, and lost some router configs, and my channel width was all set back to 20 MHz and I was connecting in at 72 Mbps on some devices.

 

Share this post


Link to post

It shows the speed of my WiFi connection as 866.5 Mbps. I can download from my Unraid server at normal speed using SFTP and HTTP. It's just SMB that seems to have issues.

Share this post


Link to post
Posted (edited)

having same issue Unraid 6.7 top speed from Array to windows >10mb/s funny enough if im within a VM and transfer the same files it is about 10 % faster maybe even 20%  25-30 mb/s

Edited by Fiservedpi

Share this post


Link to post

Adding my findings to the list as I think I'm having this same issue....

  1. Upload speed doesn't seem to be affected, my uploads are 3 x the speed of my downloads across the same network connection, which suggests it's not a network issue.
  2. From any VM (Windows 10 and lubuntu) on the unraid server there's no degradation in read performance from the unraid share
  3. If I read from a windows share inside the windows VM across the network there is no degradation of performance, which rules out a network issue

So that backs up the theory that it's an SMB issue, but doesn't seem to affect the "network adapter" being used by the VMs 🤨

Share this post


Link to post

There are some LAN speed testing programs out there.  I have used one of them is the distant past.  (  LAN speed test   on Google will find them for you. I believe I used the one from TutoSoft.)  You will want to bypass using your cache drive by setting up a special "test" share that does not use cache as a part of your testing.  Make sure that you generate a very large file (>10GB) when you test as you don't want to be measuring the transfer speed to and from the RAM buffer. 

 

Speaking from a personal experience, finding the solution to these types of problems is a tough nut to crack.  In my case, I found out that I was using an outdated RealTek NIC MB driver on a Win7 computer.  Updating the driver with the latest driver release from the MB manufacturer fixed the problem.  

Share this post


Link to post

It's not a network issue, I used LAN speed test for my initial investigations. I have no cache drive so no problems there. As a work around for my particular issue, I moved from using Plex on docker, which was giving me read speeds of 8Mbps, resulting in choppy playback, to putting it on a VM, which as I said above has no such performance issues, and now I am getting 40+Mbps and no more chop. Note that this is the exact same physical machine,  physical network card and physical network. As I said before, Windows and Linux VMs perform brilliantly, it's only trying to access the share from the unraid itself or from inside a docker that's got problems.

It's a fairly fundamental problem for anyone with this issue, I could get around it by mounting all my shares through a VM but I don't want to have to do that, so I hope it's being looked into

Share this post


Link to post

Similar experience with poor SMB performance, especially simultaneous read/write performance.

Does not appear to be network, as iperf and rsync run at gigabit.

Tested a Windows Server 2019 VM running on same Unraid server, get much better SMB performance.

See test details and results at the end of this post:

https://blog.insanegenius.com/2019/06/10/unraid-in-production-a-bit-rough-around-the-edges-and-terrible-smb-performance/

 

 

Share this post


Link to post

So, I messed around with Windows networking settings, and I was able to get better throughput by enabling TCP timestamps with this PowerShell command: Set-NetTCPSetting -SettingName Internet -Timestamps Enabled

You probably need to reboot for it to take effect.

 

I have no idea why this worked or why I didn't need it enabled with 6.6.7, so I have no idea if it will work for anybody else. It would be nice if someone could find the real reason for this issue, but I'm at least glad that I have normal throughput on my Windows machines again.

Share this post


Link to post

I have the same issue her on my MacBook Pro MacOS 10.14.6 UnRaid 6.7.2

SMB Download averaging at 37MB/s

SMB Upload averaging at 117MB/s

@limetech Are there any informations how to address this issue?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.