Linux NFS development
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Joshua Hoblitt <jhoblitt@ifa.hawaii.edu>
Cc: nfs@lists.sourceforge.net
Subject: Re: NFS client request failure statistics?
Date: Sat, 02 Jun 2007 06:21:46 -0400	[thread overview]
Message-ID: <466144BA.8070500@RedHat.com> (raw)
In-Reply-To: <20070602003340.GA5482@ifa.hawaii.edu>



Joshua Hoblitt wrote:
> Hello,
> 
> I was wondering if there is some existing means (systemtap, etc.) of
> getting a count of NFS client requests that have "failed" after
> exceeding the maximum number of retransmissions?  
You can look in systemtap-0.5.13-1.fc6.rpm but I don't think there
are any script that do that...

> If there is no means of getting at this information, I feel that it would be worth adding.
scripts are always welcomed! ;-)

> It should be a useful stat to have in addition to the retrans count when
> tuning the timeo/retrans values.
Also take a look at the NFS/RPC metrics in /proc/self/mounts. They
might have something similar to what your looking for..

> 
> I've spent a small amount of time poking around in the sources to see
> how difficult it would be export this information to userspace.  It
> appears that this would be non-trivial to do as it seems that the NFS
> client code itself doesn't keep a count of failed requests and the
> procfs interface (/proc/net/rpc/nfs) is auto-generated by the sunrpc
> layer.  Is my analysis correct?
Again, I would suggest you look at the /proc/self/mounts interface.

steved.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-06-02 10:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02  0:33 NFS client request failure statistics? Joshua Hoblitt
2007-06-02 10:21 ` Steve Dickson [this message]
2007-06-04 15:00 ` Chuck Lever

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=466144BA.8070500@RedHat.com \
    --to=steved@redhat.com \
    --cc=jhoblitt@ifa.hawaii.edu \
    --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