HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
The only authoritative, systematic guide to NFS performance optimization on HP-UX systems.
In Optimizing NFS Performance, one of HP's leading NFS experts presents systematic techniques for optimizing NFS performance on any HP-UX 11 and 11i system in any network and application environment. Dave Olker reviews every component of the NFS product family, showing how they interact on HP-UX systems and how to troubleshoot each element for optimal performance. Olker presents dozens of previously undocumented tuning tips, plus powerful new NFS client optimization techniques that will be invaluable to companies implementing NFS in their environment. Coverage includes:
The only NFS book to focus entirely on HP-UX, Optimizing NFS Performance will be indispensable to every HP-UX system administrator running NFSor planning to do so.
Network Considerations for Optimizing NFS Performance
Click here for a sample chapter for this book: 0130428167.pdf
List of Figures.
List of Tables.
List of Key Ideas and NFS Performance Examples.
List of NFS Differences Between HP-UX 11.0 and 11i.
Acknowledgements.
Introduction.
1. Network Considerations.
Analyze Network Layout. Measure Network Throughput Capabilities. Network Troubleshooting Tools.
Analyze Filesystem Layout. Measure Filesystem Throughput Capabilities. Local Filesystem Recommendations.
How Do the biods Work? Why Not Just Launch Hundreds of biods? When Might an NFS Client Not Benefit from biods? How Many biods Should Your NFS Client Run? Troubleshooting the biod Daemons.
What Are the Various “nfsd” Daemons and Threads? NFS Server UDP Daemon Management. NFS Server TCP Thread Management. How Many nfsds Should Your NFS Server Run? Troubleshooting the nfsd Daemons and Threads.
What Services Does rpc.mountd Provide? What Factors Influence rpc.mountd Performance? Troubleshooting rpc.mountd.
How Do rpc.lockd and rpc.statd Handle NFS Lock Requests? How Do rpc.lockd and rpc.statd Perform Lock Recovery? Examining NFS File Locks. Avoiding NFS File Lock Hangs in Your Environment. Why Would Restarting the Daemons Clear a Lock Hang? Ensuring Optimal NFS File Locking Performance. Troubleshooting rpc.lockd and rpc.statd.
Performance Differences between Automount and AutoFS. Automounter Performance Considerations. Should You Use Automount or AutoFS? Troubleshooting Automount and AutoFS.
CacheFS Overview. Using CacheFS. CacheFS Internals. HP CacheFS Enhancement—the rpages Mount Option. Measuring the Effectiveness of CacheFS.
Differences between NFS PV2 and NFS PV3. Will a PV3 Installation Always Outperform PV2? Should You Use NFS PV2 or PV3 in Your Environment?
Overview of UDP and TCP. Connection Management. Managing Retransmissions and Timeouts. Network Interconnect Device Buffering Considerations. Should You Use NFS/UDP or NFS/TCP in Your Environment?
What Is the Buffer Cache? Why Not Allocate Lots of Memory for Buffer Cache? How Do Dynamic and Static Buffer Cache Mechanisms Differ? Should You Configure a Dynamic or Static Buffer Cache? Interaction with the syncer(1M) Daemon. Automounter's Influence on Client Caching. How Much Buffer Cache Memory Should You Configure? Measuring Buffer Cache Effectiveness.
Tunable Kernel Parameter List. Inspecting Kernel Parameter Settings. Monitoring Kernel Parameter Values via GlancePlus.
NFS Client and Server Daemons. Supported NFS Kernel Parameters. Undocumented NFS Kernel Parameters. NFS Mount and Exportfs Options.
Performance-Enhancing Defect Fixes. Performance-Enhancing New Functionality. Patching Dependent Subsystems. Verifying Current NFS Patch Level.
Network File System (NFS) has been the industry standard protocol for remote file access on the UNIX operating system platform for many years. It is part of the Open Network Computing software family originally developed by Sun Microsystems.
In a nutshell, NFS is a client-server network-based protocol that allows one system to seamlessly access files and directories that physically reside on another system. At one time or another, most UNIX users have used NFS whether they realized it or not to access resources such as: data files, home directories, e-mail folders, and application binaries. NFS has become a staple in most large UNIX-based environments and is therefore considered a critical component of every flavor of UNIX, as well as many non-UNIX based operating systems.
While there are several books available today that describe the NFS protocol itself, there is very little information in those books that specifically describes how to properly tune NFS systems for optimal performance. Of the performance related information that is available, the vast majority pertains only to tuning NFS servers. People sometimes forget that without well-tuned NFS clients it doesn't matter how fast your server is; you'll still end up with poor performance. In order to achieve optimal NFS performance, both clients and servers need to be considered.
Admittedly, no book could possibly hope to accurately explain how best to configure every vendor's NFS systems. Thus, this book concentrates specifically on tuning HP-UX systems. While most of the concepts discussed in this book would apply to any vendor's NFS implementation, this book contains numerous HP-UX-specific tuning recommendations, including describing undocumented command-line options and undocumented kernel parameters, that can dramatically influence NFS behavior and performance on HP-UX systems.
Another factor driving the demand for NFS performance information is the recent shift in the storage industry from Direct Access Storage Devices (DASD) to centralized or consolidated storage models, including Storage Area Networks (SAN) and Network-Attached Storage (NAS). Many hardware vendors, HP included, are releasing storage solutions specifically designed to compete in the SAN and NAS arenas. NFS is a central component in HP's NAS offerings, which has spurred an increase in demand for information about how to properly configure and tune HP's NFS implementation.
Finally, HP recently released HP-UX version 11i, which included support for the new Superdome hardware platform. HP implemented numerous NFS changes in this release of HP-UX; however, most of these differences are not currently described in any customer-viewable documentation. These NFS implementation differences are explained throughout this book.
The target audience for this book includes system administrators, network administrators, and storage administrators who want to learn how to configure their NFS client and server systems for optimal performance. Other interested parties include anyone wanting to learn more about HP's NFS implementation, or anyone wanting a better understanding of the various kernel and user-space components that make up the NFS product family.
This book is not intended as a replacement for the HP-UX "Installing and Administering NFS Services" manual. Some familiarity with basic UNIX and NFS concepts is assumed.
There is much more to tuning NFS for performance than making sure the right number of nfsds are running on the server. In many ways, NFS is similar to any other network-based application in that it competes for critical system resources such as disk, network, memory, and kernel tables, with all other running processes. In order to optimize NFS performance, many facets of the client and server systems must be interrogated and properly configured.
NFS is heavily dependent upon many different subsystems (i.e. filesystems, network, buffer cache memory, hostname resolution, etc.) and is therefore susceptible to performance problems in these subsystems. In other words, if the performance of the network is slow, NFS throughput will most likely suffer. If local filesystem read and write performance on the NFS server is slow, there is a good chance that NFS read and write throughput to this server will be slow. Thus, when investigating any NFS performance issue it is important to perform a "sanity check" of the overall environment in which the clients and servers reside, in addition to analyzing the NFS-specific configuration of the systems themselves.
The tuning methodology prescribed in this book involves looking at the overall NFS environment and then analyzing the various individual NFS components.
In keeping with the tuning methodology outlined above, the book begins by discussing two primary environmental factors that can directly influence NFS performance: the network and the configuration of the NFS server's filesystems.
The next several chapters drill down into the various NFS client and server elements that make up the NFS protocol family, including the optional AutoFS and CacheFS components. The behavior of these components and their effect on NFS performance is discussed. In addition, each of these chapters includes a troubleshooting section designed to help isolate, identify, and resolve problems specific to each of these critical pieces.
The next two chapters deal specifically with how the NFS protocol has evolved over time, and how the new features and functionality introduced in newer versions of NFS, including support for network transport protocols other than UDP, can benefit NFS performance.
The final chapters focus on two critical aspects of HP-UX buffer cache memory and kernel parameters and how these components can dramatically affect NFS performance.
Additional information is included in two appendices located at the back of the book.