All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: interprtation of /proc/net/rpc/nfsd
@ 2004-10-11 15:22 Lever, Charles
  2004-10-12  9:05 ` Steve Dickson
  0 siblings, 1 reply; 9+ messages in thread
From: Lever, Charles @ 2004-10-11 15:22 UTC (permalink / raw)
  To: Steve Dickson, Jehan PROCACCIA; +Cc: James Pearson, nfs

> Well... zeroing out the nfs stats was something I proposed a=20
> while ago but got shoot down both internally and externally=20
> since zero out stats is "not the Linux way".... so I've taken=20
> the patch out of both FC and RHEL kernels, but I guess I=20
> forgot to take it out of the nfs-utils....

for the record, the reason that zeroing the kernel stats is a bad idea
is that this should really be a user-space thing.  otherwise, if process
A is sampling the stats and process B zeroes them, it will screw up
process A's samples.

we can get all the functionality we need by teaching the user-space
tools to subtract.  :-)


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 9+ messages in thread
* interprtation of /proc/net/rpc/nfsd
@ 2004-10-08 10:09 Jehan PROCACCIA
  2004-10-08 13:03 ` James Pearson
  0 siblings, 1 reply; 9+ messages in thread
From: Jehan PROCACCIA @ 2004-10-08 10:09 UTC (permalink / raw)
  To: nfs

Hello,

I am tunning my NFS configuration on a RedHat ES v3 (equivalent Fedora 
Core 1 , kernel 2.4.X)  and by reading the docs (NFS howto perf 5.6 )  I 
should see if I have enough NFSD daemon by looking at  
/proc/net/rpc/nfs, especialy line "th"

$ grep th /proc/net/rpc/nfsd
th 8 41598 20357.020 3974.540 1809.300 0.000 998.210 781.650 483.840 
116.640 0.000 825.230

However I cannot understand how to read that information !?
I see that I have 8 threads (8 nfsd daemon runing) but figures after ???

Second question,

How on an NFS client (Here I have fedora core 2 clients) can I see how 
is currently mounted an NFS filsystem, I want to check what are the 
current options in use (nfs version, rsize, wsize, sync/async, hard, 
soft etc ...). On the server I can have a look at /var/lib/nfs/xtab

$ cat /var/lib/nfs/xtab | grep arvouin
/mci/mci        
arvouin.int-evry.fr(rw,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=-2,anongid=-2)

but I am often changing options on the server (for tunning purpose) , 
and hence I want to check that my clients is mounted with the latest 
options,  do I need to remount on the client everytime I change options 
on the server ? (exportfs -r -v -a)  ... .checking what is the current 
options on the client would be more clear to me .

thanks.

PS other lines are also not clear in /proc/net/rpc/nfsd
are they clearly explain somewhere ? or is there a better tool to read 
them ?

$ cat /proc/net/rpc/nfsd
rc 77 2279806 4791576
fh 36 7103818 0 107 461
io 2157379507 3834347693
th 8 41598 20368.720 3975.220 1809.300 0.000 998.210 781.650 483.840 
116.640 0.000 825.230
ra 16 316291 228 80 73 25 40 42 17 36 7 22131
net 7071459 56823 7014636 155
rpc 7071459 0 0 0 0
proc2 18 95 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
proc3 22 107 2606933 544561 626398 870018 178 338970 1189408 253948 
14640 200 0 219018 12808 45181 119 0 66482 4981 22 0 277392




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-10-12  9:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 15:22 interprtation of /proc/net/rpc/nfsd Lever, Charles
2004-10-12  9:05 ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2004-10-08 10:09 Jehan PROCACCIA
2004-10-08 13:03 ` James Pearson
2004-10-08 13:28   ` Jehan PROCACCIA
2004-10-08 14:43     ` James Pearson
2004-10-08 15:46       ` Jehan PROCACCIA
2004-10-11 11:13         ` Steve Dickson
2004-10-11 13:01           ` Jehan PROCACCIA

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.