Analyzing Linux NFS server performance
- by Kamil Kisiel
I'd like to do some analysis of our NFS server to help track down potential bottlenecks in our applications. The server is running SUSE Enterprise Linux 10.
The kind of things I'm looking to know are:
Which files are being accessed by which clients
Read/write throughput on a per-client basis
Overhead imposed by other RPC calls
Time spent waiting on other NFS requests, or disk I/O, to service a client
I already know about the statistics available in /proc/net/rpc/nfsd and in fact I wrote a blog post describing them in depth. What I'm looking for is a way to dig deeper and help understand what factors are contributing to the performance seen by a particular client. I want to analyze the role the NFS server plays in the performance of an application on our cluster so that I can think of ways to best optimize it.