From: Steve Dickson Subject: Re: NFS client request failure statistics? Date: Sat, 02 Jun 2007 06:21:46 -0400 Message-ID: <466144BA.8070500@RedHat.com> References: <20070602003340.GA5482@ifa.hawaii.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net To: Joshua Hoblitt Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HuQk3-00032q-VD for nfs@lists.sourceforge.net; Sat, 02 Jun 2007 03:21:52 -0700 Received: from mx1.redhat.com ([66.187.233.31]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HuQk5-0002wN-MV for nfs@lists.sourceforge.net; Sat, 02 Jun 2007 03:21:55 -0700 In-Reply-To: <20070602003340.GA5482@ifa.hawaii.edu> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net 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