Hi guys, we are running a fileserver for a company with ~10 Mac OS Mavericks (not all up to date). The Samba server is running on Centos 5 with official Samba from Centos. We see big big lagging while browsing the fileserver. Some directories du to the activy of the company contains more than 4000 files (small one). Everything is fine if we connect with Windows or Linux machine, but with Mac Os it's a nightmare with smb.Sometimes it takes more than 5 minutes to open a directory. We've tried sshfs wich work seamlessly considering speed. But we would like to stick with SMB (feature wise)We've tuned anything we could within the server configuration without any results, same with the client side googling what we could.We've also try, latest Fedora and latest Samba, even Ubuntu without any results. Since few days, and for few Mac we see same problem even in directories with few files in it. Any help would be appreciated. C.
I seem to recall a situation where it has to enumerate all the different filename case combinations [upper/lower/mixed] before it displays it on OSX. I think a search of the list might turn up the post. I've done a few searches and turn up this: [Which doesn't jive with my above recollection. I hope someone else has a suggestion. More searches might turn it up too.] http://article.gmane.org/gmane.network.samba.general/122053/match=mac+very+slow http://www.macwindows.com/snowleopard-filesharing.html#091709k http://thread.gmane.org/gmane.network.samba.general/133370/focus=133417 You can do your own searches on the list here: http://search.gmane.org/?query=osx+slow&author=&group=gmane.network.samba.general&sort=relevance&DEFAULTOP=and&xP=Zosx%09Zfilenam%09Zslow&xFILTERS=Gnetwork.samba.general---A HTH -Greg ct> Hi guys, ct> we are running a fileserver for a company with ~10 Mac OS Mavericks (not all up to date). ct> The Samba server is running on Centos 5 with official Samba from Centos. ct> We see big big lagging while browsing the fileserver. Some ct> directories du to the activy of the company contains more than 4000 files (small one). ct> Everything is fine if we connect with Windows or Linux machine, ct> but with Mac Os it's a nightmare with smb.Sometimes it takes more ct> than 5 minutes to open a directory. ct> We've tried sshfs wich work seamlessly considering speed. But we ct> would like to stick with SMB (feature wise)We've tuned anything we ct> could within the server configuration without any results, same ct> with the client side googling what we could.We've also try, latest ct> Fedora and latest Samba, even Ubuntu without any results. ct> Since few days, and for few Mac we see same problem even in ct> directories with few files in it. ct> Any help would be appreciated. ct> C. ct>
I have encountered this problem myself, and when used over a vpn the problem becomes exponentially worse in proportion to higher ping times. The problem is, at least according to all the effort I have poured into solving the problem, within finder itself. There is some funkiness to the way finder uses the meta data of a file that just plain makes it slow when browsing SMB shares. On one network I manage that has about 15 macs on it, we have found that installing DAVE makes a fair difference. to be clear, it doesn't make it fast like a windows machine, but it at least brings it up to comparable for small directories and usable for large ones (though there are no directories with 4,000 items in them). I tried some alternate file browsers too, with mixed results; the network users haven't found DAVE bad enough at this point to experiment, though. My preference would be to either dump finder or dump SMB, but in my experience both of those create more problems than they solve. I would be interested to hear what you end up doing... -- Computerisms Bob Miller 867-334-7117 / 867-633-3760 http://computerisms.ca On Tue, 2014-09-02 at 11:29 +0200, chris tillian wrote:> Hi guys, > we are running a fileserver for a company with ~10 Mac OS Mavericks (not all up to date). > The Samba server is running on Centos 5 with official Samba from Centos. > We see big big lagging while browsing the fileserver. Some directories du to the activy of the company contains more than 4000 files (small one). > Everything is fine if we connect with Windows or Linux machine, but with Mac Os it's a nightmare with smb.Sometimes it takes more than 5 minutes to open a directory. > We've tried sshfs wich work seamlessly considering speed. But we would like to stick with SMB (feature wise)We've tuned anything we could within the server configuration without any results, same with the client side googling what we could.We've also try, latest Fedora and latest Samba, even Ubuntu without any results. > Since few days, and for few Mac we see same problem even in directories with few files in it. > Any help would be appreciated. > C. > > > >
Le Tue, 2 Sep 2014 11:29:32 +0200 chris tillian <christillian at live.com> ?crivait:> Since few days, and for few Mac we see same problem even in > directories with few files in it. Any help would be appreciated.Try disabling the unix extensions. Alternatively, NFS works perfectly well with Macs... -- ------------------------------------------------------------------------ Emmanuel Florac | Direction technique | Intellique | <eflorac at intellique.com> | +33 1 78 94 84 02 ------------------------------------------------------------------------
On Tue, Sep 2, 2014 at 5:29 AM, chris tillian <christillian at live.com> wrote:> Hi guys, > we are running a fileserver for a company with ~10 Mac OS Mavericks (not all up to date). > The Samba server is running on Centos 5 with official Samba from Centos.Well, I see part of your problem. The base Samba for RHEL 5, CentOS 5, Scientific Linux 5, etc., is 3.0.33. There is an update package called 'samba3x" which will at least get you to a 3.6.6 release. However, CentOS 5 has gotten *long* in the tooth. You should really consider updating to at least CentOS 6, if not CentOs 7. (Personally, I recommend Scientific Linux 7, for reasons to long to go into here.) CentOS 6 will *at least* get you to Samba 3.6.9.> We see big big lagging while browsing the fileserver. Some directories du to the activy of the company contains more than 4000 files (small one).> Everything is fine if we connect with Windows or Linux machine, but with Mac Os it's a nightmare with smb.Sometimes it takes more than 5 minutes to open a directory. > We've tried sshfs wich work seamlessly considering speed. But we would like to stick with SMB (feature wise)We've tuned anything we could within the server configuration without any results, same with the client side googling what we could.We've also try, latest Fedora and latest Samba, even Ubuntu without any results. > Since few days, and for few Mac we see same problem even in directories with few files in it. > Any help would be appreciated. > C.Start with the base Samba update, or test it on another server. Even if there's a specific MacOS interaction killing you, I'd hope that most of it has already been addressed by more recently releases. The other question is, *why* are you using CIFS when you don't have to? Modern versions of MacOS, and CentOS certainly support NFS, and that works much better with the underlying ownership and nature of the file system for Linux boxes in almost all environments. CIFS is useful for cross-platform compatibility, and not necessarily good for performance.