January 12, 201610 yr Hi, I'm on unraid 6.1.6 and among other usage I have some music audio projects residing on unraid. Let's say for example I have a small 100kb file of Cubase. When I press Save from my windows 10 machine it takes a ridiculous amount of time (around 20 sec) when it should be virtually instantaneous. Doing the same from windows 7 does it extremely fast, almost instantaneous. This happens with other windows apps as well, I really doubt it's app related. On both machines if I copy large files from/to the server, the speeds are pretty much ok for my gigabit network, at least I think (around 40mb/s when writing to unraid, around 70-80mb/s when reading something from unraid). If I copy many small files of course the speed can dramatically decrease but still it doesn't justify the super slow saving process for just one file of a few KBs. I guess it is something with Samba but what... I've read many similar posts dealing with Samba issues but nothing specifically for saving files from within a windows application, so I finally had to bother you Other than that Unraid for me rocks.
January 12, 201610 yr Community Expert Normally, unRAID will use RAM to cache writes to the array. If the disks are spun down and the file is small, the copy to the RAM cache will be quite quick. Should the disk(s) be spun down, the actual write of the data to the array will take place many seconds later. Could it be that Win 10 is actually waiting for the finish of the disk write operation to report that the copy is finished? (It appears to me that ImgBurn does this when it writes an ISO file directly to the array! When ImgBurn is creating and storing a bluRay ISO, you can actually see very fast write speeds (90Mbps) until the RAM cache is filled, it then drops to the 40Mbps range until it goes to zero as it finishes the data transfer to the server. Then many, many seconds later, it reports the the operation is completed.)
January 12, 201610 yr Author Normally, unRAID will use RAM to cache writes to the array. If the disks are spun down and the file is small, the copy to the RAM cache will be quite quick. Should the disk(s) be spun down, the actual write of the data to the array will take place many seconds later. Could it be that Win 10 is actually waiting for the finish of the disk write operation to report that the copy is finished? (It appears to me that ImgBurn does this when it writes an ISO file directly to the array! When ImgBurn is creating and storing a bluRay ISO, you can actually see very fast write speeds (90Mbps) until the RAM cache is filled, it then drops to the 40Mbps range until it goes to zero as it finishes the data transfer to the server. Then many, many seconds later, it reports the the operation is completed.) Might be but I know the disks are already spinning when I'm saving.
January 12, 201610 yr Community Expert I'm pretty sure that's your problem, I was having similar issues before converting to xfs, e.g., the simple task of creating a new folder would take several seconds. See sticky thread for more info on how to convert.
February 23, 201610 yr Author So I went through all the process of converting to XFS. Access now looks overall a little bit more stable and responsive but my initial issue didn't get to change at all. Two examples: 1) Cubase: When you press to save a (say) 100kb file, I can see that it creates a new temporary file which slowly grows until it becomes 100kb. This takes lots of time (around 20-30 seconds) as mentioned in my first post. 2) Vegas: Rendering of a video project, say around 300MB, initially quite fast since it's a pretty powerful machine. The progress bar reaches 100%, but still it doesn't finish there. I have to wait several more minutes until does. Meanwhile I'm observing the same thing i.e. a new tmp file is being slowly created in the same directory which is what I'm waiting for. My unraid machine consists of 3TB WD Reds and a cheap Asrock mobo but in general copy speeds are fine. My desktop workstation is windows 10. I can post more details if needed, unless someone has another quick idea where to look at. Thanks!
February 24, 201610 yr If it works fine on Win7 but is slow on Win10 I'd try disabling SMB2&3 on the Win10 machine. It's hard to imagine this being the problem, but it's worth eliminating. https://support.microsoft.com/en-us/kb/2696547
February 24, 201610 yr Author If it works fine on Win7 but is slow on Win10 I'd try disabling SMB2&3 on the Win10 machine. It's hard to imagine this being the problem, but it's worth eliminating. https://support.microsoft.com/en-us/kb/2696547 Yes that did it! But what to do now, leave smb2&3 off forever? According to microsoft: Warning: We do not recommend that you disable SMBv2 or SMBv3. Disable SMBv2 or SMBv3 only as a temporary troubleshooting measure. Do not leave SMBv2 or SMBv3 disabled.
February 24, 201610 yr Community Expert Pretty sure ive seen it mentioned that SMBv3 is supported in 6.2..... I thought we were still waiting on a version of Samba that supports SMB3? Has that gone General Release yet as the last post I saw said this was still under development? unRAID tends to be reasonably up-to-date with Samba releases. EDIT: On checking on samba.org, it appears that the version of SMB3 supported by windows 8 is included in the current Samba. However the enhanced versions used by Windows 8.1 (SMB3.02) and windows 10 (SMB3.11) are not yet supported. Quite what this means when trying to use windows 10 with current Samba I am not sure.
February 24, 201610 yr Community Expert Pretty sure ive seen it mentioned that SMBv3 is supported in 6.2..... I thought we were still waiting on a version of Samba that supports SMB3? Has that gone General Release yet as the last post I saw said this was still under development? unRAID tends to be reasonably up-to-date with Samba releases. I believe Samba4 supports SMB3, does not yet support all its features, like multichannel.
February 24, 201610 yr Community Expert Pretty sure ive seen it mentioned that SMBv3 is supported in 6.2..... I thought we were still waiting on a version of Samba that supports SMB3? Has that gone General Release yet as the last post I saw said this was still under development? unRAID tends to be reasonably up-to-date with Samba releases. I believe Samba4 supports SMB3, does not yet support all its features, like multichannel. Yes, (I edited my post above with more detail). However unRAID has been on Samba 4 for some time (unRAID 6.1.8 is using Samba 4.1.19) so the current support is probably not enough for Windows 10?
February 24, 201610 yr If it works fine on Win7 but is slow on Win10 I'd try disabling SMB2&3 on the Win10 machine. It's hard to imagine this being the problem, but it's worth eliminating. https://support.microsoft.com/en-us/kb/2696547 Yes that did it! But what to do now, leave smb2&3 off forever? According to microsoft: Warning: We do not recommend that you disable SMBv2 or SMBv3. Disable SMBv2 or SMBv3 only as a temporary troubleshooting measure. Do not leave SMBv2 or SMBv3 disabled. I just leave it off.
February 26, 201610 yr Author I just leave it off. So then my Windows 10 machine will be "talking" with Unraid using Samba v1, if I get it right, which sounds like an ancient version. No downside to this..?
February 26, 201610 yr I just leave it off. So then my Windows 10 machine will be "talking" with Unraid using Samba v1, if I get it right, which sounds like an ancient version. No downside to this..? The downside is that it doesn't support the features in SMB v2 or higher. Edit: If you are asking could this cause issues, or data loss or, bugs. SMB v1 seems to be the only version of SMB that is completely stable with Samba right now. Honestly I think at some point it should be good to turn this back on... I'm just not sure that Samba and Windows are in sync yet. Even in the latest version. Also the latest stable version of Samba is 4.3.5 not the version that Unraid 6.1.8 is running (we tend to lag behind a little bit due)
February 26, 201610 yr Author These features (of samba v2 & v3) I guess I don't need for a simple home network storage box... Ok I will check periodically in the months to come, but what exactly would I have to check, some kind of samba/smb upgrade in Windows 10 or in Unraid? Also, very curious but I guess everyone using windows 10 has currently the same issue as I do, no?...
February 26, 201610 yr Community Expert I'm using W10 and Server 2012 r2 with smb3 and unraid with no issues.
February 27, 201610 yr These features (of samba v2 & v3) I guess I don't need for a simple home network storage box... Ok I will check periodically in the months to come, but what exactly would I have to check, some kind of samba/smb upgrade in Windows 10 or in Unraid? Also, very curious but I guess everyone using windows 10 has currently the same issue as I do, no?... You aren't alone on this. I'm really curious why johnnie.black seems to be fine...
Archived
This topic is now archived and is closed to further replies.