Linux NFS development
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: Steve Dickson <SteveD@redhat.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: [PATCH 0/7] nfsstat: adding -D/--diff-stat to nfsstat
Date: Wed, 01 Aug 2007 16:54:19 -0400	[thread overview]
Message-ID: <46B0F2FB.6060503@oracle.com> (raw)
In-Reply-To: <46B0EA0D.1080100@RedHat.com>

[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]

Steve Dickson wrote:
> Chuck Lever wrote:
>> The kernel stats themselves should never be zeroed except by umount or 
>> reboot.  Otherwise, tools like "sar" and "iostat" that are looking 
>> directly at the same set of kernel stats, and producing a "one every 5 
>> seconds" type of output, would be totally confused if "nfsstat -z" 
>> actually cleared the kernel counters.
> In general, I agree. Stats that "sar" and "iostat" see should
> not be zeroed.. but the nfsstat's stats do not fall in this
> category. They are more like counters than true statistics.
> I think if they were call nfscounts instead of nfsstats
> there would be less of an uproar since reseting counter
> is no big deal...
> 
> So in the end.. these counter are used to show nfs activity
> for the entire box... so being able to zero them would
> incredibly handy for developers and customers alike...
> 
> 
>>
>> So if we wanted an "nfsstat --since" or "nfsstat 5 5" kind of thing, 
>> maybe we should think about the other tools, how they fit in, and how 
>> they work, and see if we can use one of them for that.  Even better, a 
>> GUI like gnome-system-monitor would be very nice for watching NFS 
>> client and server performance in real time.
>>
>> I'm kind of tired of NFS living in its own little world with regard to 
>> the other file systems.  The NFS performance metrics I built were 
>> precisely for the purpose of making NFS a "first class" file system 
>> with regard to reporting errors and performance, and for the purpose 
>> of including NFS in the tools sysadmins normally use to watch I/O 
>> subsystem  performance data on local disks.
>>
>> Can we come up with a plan that moves NFS closer to other file systems?
> Yeah... lets build a tool that understand the stats in
> /proc/self/mountstats and continue build there... because imho,
> thats where the future lies with regard to understanding and
> analyzing NFS traffic patterns...

I think I agree with this overall approach.

Leave nfsstat alone (or maybe add "-z" to zero the traditional 
/proc/net/rpc/nfs), and add support for /proc/self/mountstats in sar, 
iostat, and vmstat.

That way you can have your zeroed counters a la Solaris, and also have 
counters that can't be zeroed for the tools that look for trends.

[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 290 bytes --]

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard


[-- Attachment #3: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #4: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-08-01 20:54 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 21:38 [PATCH 0/7] nfsstat: adding -D/--diff-stat to nfsstat david m. richter
2007-07-31 22:11 ` Neil Brown
2007-07-31 23:29   ` david m. richter
2007-07-31 23:41     ` J. Bruce Fields
2007-08-01  0:42     ` Neil Brown
2007-08-01 11:55 ` Peter Staubach
2007-08-01 15:59   ` david m. richter
2007-08-01 16:49     ` Trond Myklebust
2007-08-01 17:07       ` J. Bruce Fields
2007-08-01 17:42         ` david m. richter
2007-08-01 16:50     ` J. Bruce Fields
2007-08-01 17:35       ` david m. richter
2007-08-01 17:41         ` J. Bruce Fields
2007-08-01 17:45           ` david m. richter
2007-08-01 17:46         ` Trond Myklebust
2007-08-01 17:48           ` david m. richter
2007-08-01 18:02             ` Trond Myklebust
2007-08-01 18:12             ` david m. richter
2007-08-01 18:15             ` Muntz, Daniel
2007-08-01 18:37               ` david m. richter
2007-08-01 18:41                 ` Trond Myklebust
2007-08-01 18:47                   ` david m. richter
2007-08-01 18:50                 ` J. Bruce Fields
2007-08-01 20:03                   ` Steve Dickson
2007-08-01 20:48                     ` J. Bruce Fields
2007-08-01 21:50                       ` Steve Dickson
2007-08-01 22:40                       ` Trond Myklebust
2007-08-01 18:38               ` J. Bruce Fields
2007-08-01 17:52           ` J. Bruce Fields
2007-08-01 17:55     ` Peter Staubach
2007-08-01 18:14       ` david m. richter
2007-08-01 18:22         ` Peter Staubach
2007-08-01 18:25           ` david m. richter
2007-08-01 18:57           ` J. Bruce Fields
2007-08-01 19:35           ` Chuck Lever
2007-08-01 20:16             ` Steve Dickson
2007-08-01 20:54               ` Chuck Lever [this message]
2007-08-01 19:42       ` Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46B0F2FB.6060503@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=SteveD@redhat.com \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox