Dell EMC Powerscale Onefs: Macos Network Storage User Experience and Performance Optimizations
Total Page:16
File Type:pdf, Size:1020Kb
Best Practices Dell EMC PowerScale OneFS: macOS Network Storage User Experience and Performance Optimizations Abstract This document describes performance and user-experience optimizations for Apple® macOS® 10.14 (Mojave), 10.15 (Catalina), and 11 (Big Sur) with the Dell EMC™ PowerScale™ OneFS operating system version 9.2. June 2021 H17613.2 Revisions Revisions Date Description February 2019 Initial release March 2019 Minor updates April 2019 Updates on .DS_Store behavior and flow control recommendations June 2021 Updated for macOS 10.15 and 11. Added recommendations and troubleshooting advice. Acknowledgments Special Thanks: Thomas Berglund The following members of Dell EMC storage engineering staff produced this paper: Author: Gregory Shiff Support: Simon Haywood, Rafal Szczesniak The information in this publication is provided “as is.” Dell Inc. makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose. Use, copying, and distribution of any software described in this publication requires an applicable software license. This document may contain certain words that are not consistent with Dell's current language guidelines. Dell plans to update the document over subsequent future releases to revise these words accordingly. This document may contain language from third party content that is not under Dell's control and is not consistent with Dell's current guidelines for Dell's own content. When such third party content is updated by the relevant third parties, this document will be revised accordingly. Copyright © 2019–2021 Dell Inc. or its subsidiaries. All Rights Reserved. Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. [6/4/2021] [Best Practices] [H17613.2] 2 Dell EMC PowerScale OneFS: macOS Network Storage User Experience and Performance Optimizations | H17613.2 Table of contents Table of contents Revisions............................................................................................................................................................................. 2 Acknowledgments ............................................................................................................................................................... 2 Table of contents ................................................................................................................................................................ 3 Executive summary ............................................................................................................................................................. 5 Audience ............................................................................................................................................................................. 5 1 Introduction ................................................................................................................................................................... 6 2 Network storage protocols and macOS ....................................................................................................................... 7 2.1 SMB multichannel in macOS 11.3 ...................................................................................................................... 7 3 Editing sysctl.conf ......................................................................................................................................................... 9 3.1 TCP delayed acknowledgment (delayed_ack) ................................................................................................... 9 3.1.1 Delayed ack: macOS 10.14 and 10.15 ............................................................................................................... 9 3.1.2 Delayed ack: macOS 11 ..................................................................................................................................... 9 3.1.3 Adjusting delayed ack ......................................................................................................................................... 9 4 Defaults and com.apple.desktopservices ................................................................................................................... 11 4.1 .DS_Store files on network shares ................................................................................................................... 11 5 Editing /etc/nsmb.conf ................................................................................................................................................ 12 5.1 SMB signing ...................................................................................................................................................... 12 5.2 SMB session signing ........................................................................................................................................ 13 5.3 SMB change notifications ................................................................................................................................. 13 5.4 Force SMB protocol version ............................................................................................................................. 14 5.5 Enabling alternate data streams (named streams) .......................................................................................... 14 5.6 Apple SMB extensions ..................................................................................................................................... 15 5.6.1 Disabling Apple extensions: macOS 10.14 ...................................................................................................... 15 5.6.2 Disabling Apple SMB extensions: macOS 10.15 and 11 ................................................................................. 15 5.7 Prefer wired connections for SMB multichannel ............................................................................................... 16 5.8 Example /etc/nsmb.conf ................................................................................................................................... 16 6 Flow control, jumbo frames, and macOS ................................................................................................................... 17 7 Setting boot arguments for improved network performance ...................................................................................... 19 7.1 Increasing network memory allocation ............................................................................................................. 19 7.2 Configuring ServerPerfMode ............................................................................................................................ 19 7.3 Appending Boot Arguments .............................................................................................................................. 20 8 Spotlight search of network volumes ......................................................................................................................... 22 8.1 Enabling Spotlight search ................................................................................................................................. 22 8.2 Performing Spotlight searches of network volumes ......................................................................................... 22 3 Dell EMC PowerScale OneFS: macOS Network Storage User Experience and Performance Optimizations | H17613.2 Table of contents 8.3 Performance implications of Spotlight and how to disable ............................................................................... 23 9 Using Apple internal 10 GbE NICs with OneFS ......................................................................................................... 24 10 Recommended settings for PowerScale and macOS ................................................................................................ 25 11 Troubleshooting Apple performance issues ............................................................................................................... 26 11.1 Reduce complexity ........................................................................................................................................... 26 11.2 Simplify the client .............................................................................................................................................. 26 11.3 Observe macOS network statistics ................................................................................................................... 27 12 Examining SMB mounts with smbutil ......................................................................................................................... 28 13 Conclusion .................................................................................................................................................................. 29 A Technical support and resources ............................................................................................................................... 30 4 Dell EMC PowerScale OneFS: macOS Network Storage User Experience and Performance Optimizations | H17613.2 Executive summary Executive summary Many environments and workflows that feature Dell EMC™ PowerScale™ systems as the primary shared storage platform