Return-Path: Received: from rcsinet10.oracle.com ([148.87.113.121]:33735 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753352Ab0G1RlI (ORCPT ); Wed, 28 Jul 2010 13:41:08 -0400 Message-ID: <4C506B78.7040108@oracle.com> Date: Wed, 28 Jul 2010 13:40:08 -0400 From: Chuck Lever To: Or Gerlitz CC: Sebastien Godard , Trond Myklebust , linux-nfs@vger.kernel.org Subject: Re: iostat "await" like counter for measuring nfs latency References: <1280244478.2981.3.camel@heimdal.trondhjem.org> <4C4FFC2B.4020906@Voltaire.com> In-Reply-To: <4C4FFC2B.4020906@Voltaire.com> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On 07/28/10 05:45 AM, Or Gerlitz wrote: > Trond Myklebust wrote: >> On Tue, 2010-07-27 at 13:07 +0300, Or Gerlitz wrote: >>> Doing some iscsi and nfs performance testing, I realized that iostat(1) >>> doesn't support an "await" like counter for measuring nfs latency. >>> Can tracking nfs latency be done in other means? is there a plan to >>> extend the nfs iostats code to include such/similar counter? > >> The information is already available in /proc/self/mountstats. It is up >> to iostat to start using it. > > Sebastian, is there a plan to support await like counter in sysstat? > > I didn't find a source repository (is there an open one? where?) so > downloaded the latest code (version 9.1.3) drop from the website and > couldn't see there such a counter, am I missing something? There are Python scripts in nfs-utils that report the statistics in /proc/self/mountstats. Nobody really likes the file format of /proc/self/mountstats, so the plan is to move these, at some point, to someplace where perf can report them. At that point, iostat support would also be nice.