2008-06-09 16:47:48

by Chuck Lever

[permalink] [raw]
Subject: [PATCH 0/4] Python scripts for analyzing NFS/RPC metrics

Hi Steve-

As promised, here are the Python scripts that I've implemented for analyzing
NFS and RPC performance metrics reported via /proc/self/mountstats. They
still need man pages and proper installation in the nfs-utils Makefile.

While we decide whether to install and support these scripts as they are, or
to replace them with C language re-implementations, let's include them in
nfs-utils now so folks can try them out, bugs can be addressed, and missing
features provided.

---

Chuck Lever (2):
Import the old iostat-ms Python script
Import mountstats utility

Tom Talpey (2):
NFS iostats - add RDMA statistics
NFS mountstats - add RDMA statistics


tools/mountstats/mountstats.py | 604 ++++++++++++++++++++++++++++++++++++++++
tools/nfs-iostat/nfs-iostat.py | 564 +++++++++++++++++++++++++++++++++++++
2 files changed, 1168 insertions(+), 0 deletions(-)
create mode 100755 tools/mountstats/mountstats.py
create mode 100755 tools/nfs-iostat/nfs-iostat.py

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com


2008-06-09 17:11:50

by Talpey, Thomas

[permalink] [raw]
Subject: Re: [PATCH 0/4] Python scripts for analyzing NFS/RPC metrics

By the way. I love these scripts. The best thing about them is the
way they actually analyze the realtime performance of each RPC
procedure and server mount point including latencies and queuing,
which are nearly impossible to figure out with the commandline.
For example, they instantly tell whether the RPC slot table is too
small (or large) for the workload.

Tom.

At 12:47 PM 6/9/2008, Chuck Lever wrote:
>Hi Steve-
>
>As promised, here are the Python scripts that I've implemented for analyzing
>NFS and RPC performance metrics reported via /proc/self/mountstats. They
>still need man pages and proper installation in the nfs-utils Makefile.
>
>While we decide whether to install and support these scripts as they are, or
>to replace them with C language re-implementations, let's include them in
>nfs-utils now so folks can try them out, bugs can be addressed, and missing
>features provided.
>
>---
>
>Chuck Lever (2):
> Import the old iostat-ms Python script
> Import mountstats utility
>
>Tom Talpey (2):
> NFS iostats - add RDMA statistics
> NFS mountstats - add RDMA statistics
>
>
> tools/mountstats/mountstats.py | 604 ++++++++++++++++++++++++++++++++++++++++
> tools/nfs-iostat/nfs-iostat.py | 564 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 1168 insertions(+), 0 deletions(-)
> create mode 100755 tools/mountstats/mountstats.py
> create mode 100755 tools/nfs-iostat/nfs-iostat.py
>
>--
>Chuck Lever
>chuck[dot]lever[at]oracle[dot]com
>--
>To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html


2008-06-09 18:45:11

by Chuck Lever

[permalink] [raw]
Subject: Re: [PATCH 0/4] Python scripts for analyzing NFS/RPC metrics

On Jun 9, 2008, at 1:11 PM, Talpey, Thomas wrote:
> By the way. I love these scripts. The best thing about them is the
> way they actually analyze the realtime performance of each RPC
> procedure and server mount point including latencies and queuing,
> which are nearly impossible to figure out with the commandline.
> For example, they instantly tell whether the RPC slot table is too
> small (or large) for the workload.

Thanks!

I'm hoping that including these in nfs-utils will help polish them a
bit so that more people can understand and use them effectively.
Steve mentioned something at Connectathon about interns and man
pages... ;-)

> At 12:47 PM 6/9/2008, Chuck Lever wrote:
>> Hi Steve-
>>
>> As promised, here are the Python scripts that I've implemented for
>> analyzing
>> NFS and RPC performance metrics reported via /proc/self/
>> mountstats. They
>> still need man pages and proper installation in the nfs-utils
>> Makefile.
>>
>> While we decide whether to install and support these scripts as
>> they are, or
>> to replace them with C language re-implementations, let's include
>> them in
>> nfs-utils now so folks can try them out, bugs can be addressed, and
>> missing
>> features provided.
>>
>> ---
>>
>> Chuck Lever (2):
>> Import the old iostat-ms Python script
>> Import mountstats utility
>>
>> Tom Talpey (2):
>> NFS iostats - add RDMA statistics
>> NFS mountstats - add RDMA statistics
>>
>>
>> tools/mountstats/mountstats.py | 604 ++++++++++++++++++++++++++++++
>> ++++++++++
>> tools/nfs-iostat/nfs-iostat.py | 564 ++++++++++++++++++++++++++++++
>> +++++++
>> 2 files changed, 1168 insertions(+), 0 deletions(-)
>> create mode 100755 tools/mountstats/mountstats.py
>> create mode 100755 tools/nfs-iostat/nfs-iostat.py
>>
>> --
>> Chuck Lever
>> chuck[dot]lever[at]oracle[dot]com
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-
>> nfs" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com