Q: Why are SMB connections so much slower than AFP on my Mac Servers?
I work in a school with a mix of Mac and PC clients and servers. My Mac servers all serve out file sharing to both AFP and SMB. When my Mac clients connect to the Mac servers via SMB, it takes several seconds, sometimes up to a minute before the login screen appears. When I connect via AFP, the login window appears instantaneously. I have also noticed that when the Macs connect to Windows servers, which are obviously SMB, the same long delay occurs. It's manageable, but because it's so quick with AFP, I wonder why the delay?
My biggest concern is that Yosemite connects via SMB by default. Right now everyone is running Mavericks, which will still assume you're asking it to connect via AFP when you don't specify the afp:// in the address. My Yosemite beta machine does the opposite, it assumes SMB when the address doesn't specify. When all my clients make the switch next year, I'm expecting much longer than usual connection times for my mac users who are not technically inclined and who are used to just typing a word or phrase in the "Connect to:" dialog box, rather than an actual address (such as afp://server, they would currently just type "server" and it fills in the rest for them).
Thanks for any help with this. I would love to find out how to speed up the SMB connections.
Mac mini, OS X Server, OS X 10.9.4 with Server 3.1.2 running on a Mac mini
Posted on Oct 13, 2014 9:26 AM
So, your problem is with AFP shares? This original post was about SMB shares. Incidentally, I think the issue I originally described in this post has, over time, resolved itself. All the Macs are on a mix of Yosemite and El Capitan now, many of them completely re-imaged, and our network admin has been 'tweaking' the network for while. I don't know what the magic juju was, but SMB is much more reasonable now. Still marginally slower than AFP, but negligible. However, that brings me to this point:
As you say, AFP is 'Depreciated,' since the release of Yosemite more or less finalized the shift of the default protocol to SMB3. However, for us, AFP is still the fastest and most reliable protocol to use for Macs on our network. What's better is that I have configured individual shares to be either accessible both or AFP only, which has allowed me to set certain limits on types of devices that can connect.
So, if you're having an issue with AFP, that may require it's own discussion thread. Though, it is difficult for me to see how it could be an issue with Mac OS X itself and seems far more likely to be related to something specific to your setup. But even if it is a fundamental issue with the OS, one that is just specifically pronounced in your environment, then you should start off a new topic on the matter. Also pursue http://www.apple.com/feedback or http://bugreport.apple.com.
I hope you get your issues resolved!
Posted on Mar 31, 2016 5:23 AM