Re: [PATCH Version 2 nfs-for-next 1/1] NFSv4.1 add a session statistics file to /proc/fs/nfsfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-02-16 at 16:15 -0500, Andy Adamson wrote:
> On Thu, Feb 16, 2012 at 3:50 PM, Myklebust, Trond
> <Trond.Myklebust@xxxxxxxxxx> wrote:
> > On Wed, 2012-02-15 at 17:50 -0500, andros@xxxxxxxxxx wrote:
> >> From: Andy Adamson <andros@xxxxxxxxxx>
> >>
> >> Session statistics are needed for performance characterisation and debugging
> >> recovery and migration.
> >>
> >> Only gather forechannel statistics as the backchannel has one session slot.
> >>
> >
> > Could this be done better using tracepoints? I'm not sure that I see how
> > a typical system admin would use this kind of file, so it looks more
> > like a debugging aid.
> 
> It is similar to the mountstats xprt stanza with waitq lengths, but I
> see your point.  I'll look into a tracepoint version.
> 
> Any suggestions of other session info to gather?

      * How many times have we reset the session?
      * How many slot recalls have we seen?
      * How many NFS4ERR_CONN_NOT_BOUND_TO_SESSION?
      * How many NFS4ERR_BADSESSION/DEADSESSION?
      * How many NFS4ERR_BADSLOT/BAD_HIGH_SLOT?

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux