+ Post New Thread
Results 1 to 9 of 9
Mac Thread, Mac OSX 10.6.7 slow to read smb file shares in Technical; We have integrated a hundred Macs into our network. When ever a Mac tries to read a directory on a ...
  1. #1

    Join Date
    Apr 2011
    Location
    Guangzhou, China
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Mac OSX 10.6.7 slow to read smb file shares

    We have integrated a hundred Macs into our network. When ever a Mac tries to read a directory on a Windows 2003 R2 file share or Windows 2008, it takes an inordinate amount of time. Even listing a simple sub-directory with just 3 1K files in it can take upwards of a minute.

    Now we installed an afp file share and speed is dramatically faster under exact same testing conditions.

    But of course we are a Windows and Linux shop running AD. And even if we bought three or four Mac Pros and set up afp file shares, we'd have no way to manage them.

    This problem of slow smb directory and file listing is driving us crazy. We have tested for months, replaced a core switch, tested and replaced cables, new N AP. All work perfectly with Windows client. No delays etc. Even simultaneously with Macs and Windows laptops, Windows machines are fine.

    Any suggestions, we are going crazy?

  2. #2
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    818
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    I had this exact situation and switched to using AFP shares on a Mac Pro a few weeks ago as the situation got so bad. If you search online for issues there are tens of different things you can try adjusting. A few of the top of my head:

    Tweak TCP/IP stack settings to modify delayed_ack value from 3 to 0 or 1 (this stops delayed transmission of packets to piggyback data and use less packets, try 0 for wireless clients and 1 for wired)
    Tweak TCP/IP stack settings to modify newreno value from 0 to 1 (this turns on a enhanced algorithm which came make a difference of some wireless networks)
    Check reverse DNS (this was definitely causing us some problems but I only sorted this after the switch to AFP, the Apple AD and Centrify Direct Control will, by default, send dynamic DNS updates which were clashing with the updates provided by the DHCP server).
    Make sure everything is set to use NTP so kerberos tickets will remain consistently valid.
    Disable spotlight indexing (home folders will get indexed as you log in which can cause performance issues).
    Disable Bonjour advertisements (On 10.6 don't disable Bonjour as it also now handles the unicast DNS as well, just stop advertisements)

    I think it's likely that if reverse DNS isn't perfect then the system will fallback to using mDNS lookups through Bonjour and this will introduce the delay although I've yet to re-test. My situation sounds identical to yours though, no apparently bottlenecks or problems with any of computers, but Apple systems were slow in accessing it (and unstable because of it).

    Interesting Apple are using their own SMB client in 10.7 instead of SAMBA components so this may rectify any issues or potentially make it all worse. I'm currently trying to get Kerberos working with Netatalk so we can store the shares on Linux on actual server hardware and have something that can actually scale, still playing with it at the moment though but the speed is good.

  3. #3

    Join Date
    Apr 2011
    Posts
    1
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    We had this problem too, and found that 10.6.7 is honoring IPTOS. Try setting IPTOS_LOWDELAY for a socket option on the samba server -- this solved our problem

  4. Thanks to bcodding from:

    AngryTechnician (26th April 2011)

  5. #4


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,774
    Thank Post
    262
    Thanked 2,963 Times in 2,178 Posts
    Rep Power
    838
    Another potential fix is listed here...

    http://macwindows.com/snowleopard-fi...g.html#030911b

  6. #5
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    818
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    I went through everything list on that page and still couldn't get it to work properly, the fileserver I was using was 2008R2 though so maybe some fixes only apply to older Windows products or Samba shares.

  7. #6

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,192
    Thank Post
    300
    Thanked 215 Times in 185 Posts
    Rep Power
    57
    I've read somewhere that Windows 7 uses a newer version of cifs/smb for their file sharing. Apple have decided to build their own smb client to access these shares as SAMBA doesn't work properly with this newer type. How true it is I don't know. I'll see if I can find a link to it.

  8. #7

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,192
    Thank Post
    300
    Thanked 215 Times in 185 Posts
    Rep Power
    57

  9. #8

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,044
    Thank Post
    3,579
    Thanked 1,119 Times in 1,024 Posts
    Rep Power
    377
    Not sure how much use this pdf guide is to anyone but something I put together a while back in my previous position to disable smb signing on windows 7
    Attached Files Attached Files

  10. Thanks to mac_shinobi from:

    HodgeHi (6th May 2011)

  11. #9


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,774
    Thank Post
    262
    Thanked 2,963 Times in 2,178 Posts
    Rep Power
    838
    Quote Originally Posted by HodgeHi View Post
    I assume that Windows Server 2008 uses the newer MS SMB2
    Windows 6.0 (Vista/2008) supports SMB 2.0, while Windows 6.1 (7/2008 R2) support SMB 2.1. Both are a huge improvement over the original SMB in terms of performance.



SHARE:
+ Post New Thread

Similar Threads

  1. Mac OSX Training
    By Leeoakley in forum Mac
    Replies: 7
    Last Post: 10th June 2009, 10:04 PM
  2. Running Mac OSX virtually on a mac
    By rolfea in forum Mac
    Replies: 11
    Last Post: 22nd May 2009, 05:19 PM
  3. Replies: 2
    Last Post: 17th August 2008, 10:09 AM
  4. MAC OSX NOT GETTING IP FROM DHCP
    By thegrassisgreener in forum Mac
    Replies: 4
    Last Post: 18th January 2008, 09:50 AM
  5. Replies: 4
    Last Post: 12th December 2006, 06:33 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •