Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Slow SMB share browsing on Mavericks

I've been having serious slows browsing from Mountain Lion on an SMB share on my CentOS server. I'd googled around and done all the things suggested which improved things marginally.

I was really excited when I learned that Mavericks was supposed to have better SMB support with "SMB2," so I downloaded it yesterday and upgraded my 2013, i7 Mac Mini in the hopes that this would fix the browsing problem.

Unfortunately there was only a very very slight improvemnt in browsing directories on my SMB share. I also have older machines running Snow Leopard and browsing the same directories on the server side by side with the machine running Mavericks there is a 4-10 second, and sometimes longer, difference in the amount of time it takes to show the items in those directories.

If anyone has a way making Mavericks browse SMB shares just as fast as Snow Leopard I would be very happy to hear about it.

Mac mini, OS X Mavericks (10.9)

Posted on Oct 23, 2013 11:11 AM

Reply
14 replies
Sort By: 

Oct 28, 2013 6:52 PM in response to jdjohnso

I've found that there are 2 problems, 1) The OS itself still has bad SMB support and 2) Finder adds a lot of time too (god knows what it's trying to do).


I've partially solved the problem by using a 3rd party file browser, the one I chose might not suit everyone, but it is pretty snappy, it's called muCommander and is free.


Otherwise, in finder, I found switching off as many columns (such as size, file type and date) as possible also speeds things up. And of course switching off previews for files.


Also if you're accessing a Linux server with an SMB share, I suggest looking into installing Netatalk, which gives you AFP access to your linux machine, which is lightning fast in comparison. Unfortunatley my server is pretty old, and taking it offline to install Netatalk is not a reality so I'm hoping Apple will fix their SMB support.

Reply

Oct 29, 2013 2:02 AM in response to LeoLaw

I have found that Mavericks is slow at accessing Linux SMB shares, Windows 7 SMB shares appear to be OK.


I have both Ubuntu and CentOS SMB servers, both have the same slow access issues. I tried updating Samba on my Ubuntu machine to Samba4 and it made no difference to the speed (note that Samba4 is in Alpha).


As Windows uses similar versions of Samba that Mavericks is using (and has no issues) I'm picking it'll be an Apple update that solves this - especially considering it's 'slow' rather than 'not working'.

Reply

Oct 29, 2013 2:18 AM in response to userofalltrades

OK, they've updated SMB protocols with OS X 10.9 but nothing has change in terms of speed (or it's even worse). The problem is that it has been for many years that OS X is very slow at accessing smb files... I'm loosing hope they'll fix it soon.


I have SBS at work and it's realy frustraiting how the Mac works with it.

Reply

Oct 29, 2013 12:29 PM in response to LeoLaw

To follow up with some additional testing I found that this was only an issue through a wired adapter. I use an MBA and as soon as I flicked over to wireless I was getting the performance I'd expect from a wireless transfer to my samba servers (both CentOS and Ubuntu).


This will be my workaround for now.


Information on transferring files:

5GB file up to Ubuntu samba server...

Over wireless: about 10 minutes

Over wired currently: estimated at 8-12 hours

Over wired expected: about 4 minutes


Maybe an issue with the USB->Ethernet driver? My one is a 10/100 adapter.

Reply

Oct 30, 2013 10:45 AM in response to LeoLaw

I have had the same issue I have the MBP connected through SMB to a server that my company VPNs and it populates the window so very slow working with files off the server is impossible. I called apple they ran a test to capture some data and told me they would get back to me in a couple days. I have delt with slow connections before using snow leopard with a NAS but his is unusable. Very frustrating. If there is something that i need to do I would i just need a solution. I have tried all the past solution i have read about today like the nsmb.cong file nothing, turning Internet sharing on nothing, using cfis:// nothing. The company I work for was planning on switching to all mac in the art department this was the test machine. I am the one that was pushing for it this really is disappointing I mean I love my mac I have been working with them for years i just started at this compnay and they were why behind in tech. I just hope something happens with this.

Reply

Dec 9, 2013 2:08 PM in response to LeoLaw

I have embarked on a testing mission... Using Wireshark I managed to see that packets were being dropped when transferring over the network - the same patterns didn't exist with the same transfer over wireless or the same transfer wired to a Windows server.


So I Googled a little and came up with the following command:

ping -c 1 -D -s 1500 smbserver


It basically pings the server with an MTU of 1500, to which I got:

ping: sendto: Message too long


Note that I also get this error on a Windows server - but what may be the issue is that when your software gets this response it is supposed to automatically decrease the MTU until it finds the optimal one for transfer of packets - something that Mavericks appears to be doing with Windows servers but not with Linux ones.


So using the ping command I can find an optimal MTU for transfer:

ping -c 1 -D -s 1320 smbserver


Now I get the answer:

round-trip min/avg/max/stddev = 0.829/0.829/0.829/0.000 ms


I had to mess around trying to find the optimal level but it gives you an idea on the test. After this I take my number and go to:

System Preferences -> Network -> USB Ethernet -> Advanced... -> Hardware -> Configure: Manually -> MTU Custom: 1320


After this, I disconnected my shares, re-established them and then tried another transfer up to my Linux server. Success! Granted it's not what I'd deem to be full speed, but to get a 5GB transfer down from 8 hours to 30 minutes seems better. It has taken it from completely unusable to tolerable.


I'm not entirely sure what the root of the problem is as I'm not a networking expert, as the stepping back of MTU appears to work on a Windows server and not a Linux one, and it worked fine in previous versions of OS X, my guess is that it is driver and/or stack related.


BTW I tried updating to 10.9.1 via the Developer download before trying this, the 10.9.1 upgrade didn't fix the issue for me before I went troubleshooting.

Reply

Dec 11, 2013 10:45 AM in response to userofalltrades

Thank you very much for your informative post.

I tried what you described and did find the MTU size that did not get the packet loss, however as soon as I set this in the preferences and re-mounted my share I tested again and it changed, always to a number lower than I set. As the lowest limit is 1280 on 10.9 I'm now stumped yet again.

Any ideas?

Reply

Jan 1, 2014 5:21 AM in response to userofalltrades

This saved my network!


My problem: I had to wait very long for the SMB shares to mount. I never had this issue with Mountain Lion or previous OS X versions. Note that the actual access speed once the shares were mounted was normal.


This manual setting of the maximum transmission unit was the key to getting things working again! I set mine to 1320.


Thank you so much. My mount problem has been solved by your post!

Reply

Feb 4, 2014 5:30 AM in response to LeoLaw

*sigh*

After I've exhausted all the options trying to find the fault at my NAS, I noticed the fast Windows 7 speeds, then I started looking at Mavericks.... ;( yeah, it's painfull ;(


I wonder if there are a developer build ready that might be looking at this?

Reply

Mar 8, 2014 10:55 AM in response to Hevisko

I had a problem writing to the share as Mavericks uses SMB 2 (super slow on Mac, but not on windows)- I posted this in another thread:


I had this problem - trying to copy 65K files that were small - 500k or less each. Estimated time was 2 days (only 25gb of data total).


I found this link http://www.zdnet.com/mavericks-smb2-problem-and-fixes-7000022519/


And used the last solution - I unmounted the remote share and connected using CIFS - finder, Go , Connect to server then enter as cifs://server/share - now it says 30 minutes estimated time - I am on 1Gb wired connection - I thought it was an wireless issue, but no. It is a broken SMB2 implementation.

Reply

Slow SMB share browsing on Mavericks

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.