All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Steve Dickson <SteveD@redhat.com>
Cc: Linux NFS Mailing List <nfs@lists.sourceforge.net>
Subject: Re: [PATCH] NFS: Zeroing NFS and kNFSD stats
Date: Wed, 14 Jul 2004 19:20:42 -0400	[thread overview]
Message-ID: <20040714232042.GA12551@fieldses.org> (raw)
In-Reply-To: <40F4433A.5090708@RedHat.com>

On Tue, Jul 13, 2004 at 04:16:58PM -0400, Steve Dickson wrote:
> IMHO,  its much simpler, easier and less error prone to zero them out 
> than to make nfsstat
> take samples then calculate the differences...


Example 1:
	nfsstat -z
	nfsstat
Example 2:
	nfsstat --checkpoint foo
	nfsstat --since foo

Example 1 is indeed a little simpler to use, but not much.

If you really wanted an interface like that in case 1, you could do that
by storing the checkpointed stats in some default location.

If the typical use is just logging in and collecting a few seconds of
statistics then the easiest thing might be something like

	nfsstat -z
		Collecting statistics.... Hit ^C for results
	^C
	Server rpc stats:
	...etc.

> I just think that a bit over nfsstat's head...

I'm not sure what you mean.  It certainly shouldn't be hard to
implement.

> but I contend that the current nfsd/rpc stats simply aren't these type
> of stats... these are simple activity counters that let you know what
> (if anything) is happening... I think it would be a very difficult
> task to try to used these counts in any long term analysis... I just
> don't think they recored the right type of information for that....

It's not obvious to me why they couldn't be used over long periods.  But
even if the statistics-gathering daemon isn't a good example, I don't
see why there couldn't be other cases where more than one process might
happen to be trying to collect statistics at the same time.

--b.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2004-07-14 23:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 12:24 [PATCH] NFS: Zeroing NFS and kNFSD stats Steve Dickson
2004-07-13 14:30 ` J. Bruce Fields
2004-07-13 15:08   ` Steve Dickson
2004-07-13 15:17     ` J. Bruce Fields
2004-07-13 18:01       ` J. Bruce Fields
2004-07-13 20:16         ` Steve Dickson
2004-07-14 23:20           ` J. Bruce Fields [this message]
2004-07-16  0:39             ` Ben Woodard
2004-07-13 21:09         ` Garrick Staples
2004-07-14 23:24           ` J. Bruce Fields
2004-08-02 10:39       ` Olaf Kirch
2004-08-04 20:14         ` J. Bruce Fields
2004-08-05  5:26           ` Greg Banks

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=20040714232042.GA12551@fieldses.org \
    --to=bfields@fieldses.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.