Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

Slow SMB/AFP share file listing

Hi!


Got problem with SMB/AFP share... Have MB Pro and WD My Book Live NAS. With Windows computer and even Android phone everything works flawless, even R/W speeds are 4 times slover than on Mac. The setting is Mac via Wifi connected to Airport Extreme and WD My Book Live is wired to Airport Extreme. Getting R/W speeds 22/16 MB/s... BUT, when opening folders with 100+ files, than it hangs up for 10sec to even few minutes.

Tried these solution, but they didn't work:

https://discussions.apple.com/thread/2172049?answerId=12245148022#12245148022&messageID=12245148&amp%3b#1224514 8

https://discussions.apple.com/thread/2570416?start=15&tstart=0


They were actual with 10.6, maybe in 10.8 somtehing has changed un workaround is something else.

Someone got ideas to fix that?


Thanks in advance!

Martin

MacBook Pro, OS X Mountain Lion (10.8.5)

Posted on Oct 15, 2013 9:41 AM

Reply
37 replies

Oct 15, 2013 11:46 PM in response to Linc Davis

NAS vendor forwarded me to Apple. And I believe that this is not NAS problem, as it only doesn't work as intended with Mac OS. And second - it isn't first problem with SMB in Mac OS, as You saw in these other posts.. so, I would think that IT IS MAC OS problem. I would even say that problem could be in Finder. One thing I noticed - it "hangs up" only when opening directory for the first time. Second time directory opens immediately. In first times it is generating some cache or something? (Thumbnails are disabled)


P.S.
This NAS is normal for home usage (I think so).

Oct 17, 2013 9:45 AM in response to martinsskutans

Yeah, and load the icons. The point of the test is to isolate the file listing time. You said that ls -l was slower than ls, but how slow was it? Did it take longer than it should have? I would try ls -l vs Finder on some directory with a huge number of files that don't have custom icons (so the icons don't also have to download).


There might be a real way to test this by checking Finder's network I/O usage, but I don't know how.

Oct 17, 2013 10:54 AM in response to martinsskutans

Please read this whole message before doing anything.

This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.


These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.


Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.


Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands.


Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.


Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.


Step 1


Triple-click anywhere in the line of text below on this page to select it:

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef

Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.

Step 2


Repeat with this line:

{ sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef

This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.


Step 3

{ launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef

Step 4

ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef

Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.


Step 5

osascript -e 'tell application "System Events" to get name of login items' | open -ef

Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output.


You can then quit Terminal.

Oct 17, 2013 11:03 AM in response to Linc Davis

STEP 1:

Text document blank.


STEP 2:

Entered paswword, got no warning.


Text doc. contained


org.samba.smbd

org.samba.nmbd

org.cindori.AuthHelper

com.oracle.java.Helper-Tool

com.microsoft.office.licensing.helper

com.elgato.eyeconnectd

com.adobe.SwitchBoard


STEP 3:

Text doc. caontained


com.greenworldsoft.syncfolders.35584

com.google.Chrome.29248

OpenObject.fuspredownloader.47024

at.appscape.degrees.27136

com.google.android.mtpagent.9712

com.sparrowmailapp.sparrow.35232

com.skype.skype.35056

Groths.TrimEnabler.37168

com.getdropbox.dropbox.27664

org.thebends.iphonedisk.mobile_fs_util

com.paragon.ntfs.trial

com.oracle.java.Java-Updater

com.google.keystone.user.agent

com.google.GoogleContactSyncAgent

com.akamai.single-user-client


STEP 4:

Text doc. contained


/Library/Components:



/Library/Extensions:

ATTOCelerityFC8.kext

ATTOExpressSASHBA2.kext

ATTOExpressSASRAID2.kext

ArcMSR.kext

CalDigitHDProDrv.kext

HighPointIOP.kext

HighPointRR.kext

PromiseSTEX.kext

SoftRAID.kext



/Library/Frameworks:

AEProfiling.framework

AERegistration.framework

Adobe AIR.framework

AudioMixEngine.framework

Log4Cocoa.framework

NyxAudioAnalysis.framework

OSXFUSE.framework

PluginManager.framework

iTunesLibrary.framework



/Library/Input Methods:



/Library/Internet Plug-Ins:

Default Browser.plugin

JavaAppletPlugin.plugin

Quartz Composer.webplugin

QuickTime Plugin.plugin

SharePointBrowserPlugin.plugin

SharePointWebKitPlugin.webplugin

nsIQTScriptablePlugin.xpt



/Library/Keyboard Layouts:



/Library/LaunchAgents:

com.adobe.AAM.Updater-1.0.plist

com.oracle.java.Java-Updater.plist



/Library/LaunchDaemons:

com.adobe.SwitchBoard.plist

com.elgato.EyeConnect.plist

com.microsoft.office.licensing.helper.plist

com.oracle.java.Helper-Tool.plist

org.cindori.AuthHelper.plist

org.samba.nmbd.plist

org.samba.smbd.plist



/Library/PreferencePanes:

JavaControlPanel.prefPane

MacFUSE.prefPane

NTFSforMacOSX.prefPane

OSXFUSE.prefPane



/Library/PrivilegedHelperTools:

com.box.sync.iconhelper

com.microsoft.office.licensing.helper

org.cindori.AuthHelper



/Library/QuickLook:

iBooksAuthor.qlgenerator

iWork.qlgenerator



/Library/QuickTime:

AppleIntermediateCodec.component

AppleMPEG2Codec.component



/Library/ScriptingAdditions:

Adobe Unit Types.osax

TotalFinder.osax



/Library/Spotlight:

Microsoft Office.mdimporter

iBooksAuthor.mdimporter

iWork.mdimporter



/Library/StartupItems:



/etc/mach_init.d:



/etc/mach_init_per_login_session.d:



/etc/mach_init_per_user.d:



Library/Address Book Plug-Ins:

SkypeABDialer.bundle

SkypeABSMS.bundle



Library/Fonts:



Library/Frameworks:

SamsungKiesFoundation.framework

SamsungKiesSerialPort.framework



Library/Input Methods:

.localized



Library/Internet Accounts:

V1



Library/Internet Plug-Ins:

Picasa.plugin



Library/Keyboard Layouts:



Library/LaunchAgents:

com.akamai.single-user-client.plist

com.google.GoogleContactSyncAgent.plist

com.google.keystone.agent.plist



Library/PreferencePanes:



Library/Services:

.localized


STEP 5:

Text doc. contained


iTunesHelper, Dropbox, Trim Enabler, Skype, Sparrow, Android File Transfer Agent, Degrees, Sync Folders, TotalFinder, fuspredownloader, WDQuickView

Slow SMB/AFP share file listing

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