差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
it:mac:smb-slow [2018/11/21 14:00]
ghsrobert 再試
it:mac:smb-slow [2018/12/28 20:28] (目前版本)
ghsrobert
行 7: 行 7:
   * /^20181120^/ 今晚嘗試用 [[https://support.apple.com/en-us/HT207520|Disable local SMB directory enumeration caching - Apple Support]]   * /^20181120^/ 今晚嘗試用 [[https://support.apple.com/en-us/HT207520|Disable local SMB directory enumeration caching - Apple Support]]
     * /^20181121^/ 目前還不確定到底有沒有比較快。在家透過 VPN 連到公司再連 SMB 當然還是比較慢,不易感覺差異;到公司的話「好像」directory listing 有比較快了 <<思>>     * /^20181121^/ 目前還不確定到底有沒有比較快。在家透過 VPN 連到公司再連 SMB 當然還是比較慢,不易感覺差異;到公司的話「好像」directory listing 有比較快了 <<思>>
 +  * /^20181126^/ 今天又不死心,發現「終端機」存取 SMB volume 明明就很快,所以感覺是 Finder 的問題。再試 [[http://www.debugginlife.com/solved-very-slow-file-transfer-on-mac-shares-smbafp/|[SOLVED!] Very slow file transfer on Mac Shares (SMB/AFP) | DebugginLife.com - A blog on Technology and Life]] 講到,執行<code>sudo sysctl -w net.inet.tcp.delayed_ack=0</code>\\ Finder 的 directory listing 好像有比較快
 +    * 回家存取 NAS 似乎仍沒有比較快\\ → 再參考 [[https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra|macos - SMB share deadlocks since High Sierra - Ask Different]],在 ''/etc/nsmb.conf'' 中增列:<code>streams=yes
 +soft=yes
 +signing_required=no
 +protocol_vers_map=2
 +file_ids_off=yes</code>好像有比較好了……
 +    * 但如果還是不行,然後還要到伺服器端設定什麼 vfs_fruit 模組的話,這我實在有點苦手了。只能說這些大公司真是__
 +  * /^20181228^/ 今天再試試 Finder 中的設定:<div>
 +> <div>
 +Turn off "Show Icon Preview" on the network mounted volumes. That generally speeds up CIFS/SMB access
 +</div>
 +<div right>──[[https://discussions.apple.com/thread/7145446|SMB shares in Finder slow to navigate - Apple Community]]</div></div>
  • 上一次變更: 2018/11/21 14:00
  • ghsrobert