Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[NFS] Maximum number of nfsd daemons?

148 views
Skip to first unread message

Neil Brown

unread,
Aug 1, 2002, 8:32:01 PM8/1/02
to
On Thursday August 1, dba...@legato.com wrote:
> Neil, Erich:
>
> Thanks for the replies. Here is the content of /proc/net/rpc/nfsd:
>
> fiona:~# cat /proc/net/rpc/nfsd
> rc 19 123835 15603248
> fh 10 15227728 0 14 188
> io 3752095213 1826934055
> th 128 0 34.710 2.230 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000

This line says
" You have 128 threads.
You have never used the last thread.
You have used between 1 and 12 threads (10%) for a total of 34.7 seconds.
You have used between 13 and 25 threads for a total of 2.23 seconds.
You have not noticably used more that 25 threads.
"

So if this load is typical, then you don't need more threads.


> ra 256 8316937 462671 10814 6530 3748 4498 2851 3290 1583 1881 402138
> net 15727611 15727611 0 0
> rpc 15727102 509 509 0 0
> proc2 18 856 35104 6 0 9044 349 329927 0 0 83 0 0 0 0 223 0 1890 569
> proc3 22 144698 1357961 50256 519080 2198920 744533 8887018 60150 5539 710 1
> 0 4486 383 127 0 268983 1005032 88344 6016 4533 2281

Everything else looks normal, but you haven't been running this server
for long. Maybe you need a longer period of data collection.

>
> Most clients are Solaris (IS&T here is very Solaris centric). I was
> considering installing the patch to enable NFS/TCP, I just wasn't sure
> because of its "experimental" state. Have you guys gotten a feeling for its
> stability? Thanks again,

I don't use it. It should only improve performance if you loose
packets on your network. A well switched lan with uniform interface
speeds should not notice. If you have a saturated lan, or interfaces
of different speeds (e.g. Gigabit client, 100M server) then TCP could
help.

NeilBrown


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - N...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

Andreas Behnert

unread,
Aug 2, 2002, 10:03:45 AM8/2/02
to
Neil Brown wrote:
>>fiona:~# cat /proc/net/rpc/nfsd
>>rc 19 123835 15603248
>>fh 10 15227728 0 14 188
>>io 3752095213 1826934055
>>th 128 0 34.710 2.230 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000>
>>
> This line says
[...]

>
>>ra 256 8316937 462671 10814 6530 3748 4498 2851 3290 1583 1881 402138
>>net 15727611 15727611 0 0
>>rpc 15727102 509 509 0 0
>>proc2 18 856 35104 6 0 9044 349 329927 0 0 83 0 0 0 0 223 0 1890 569
>>proc3 22 144698 1357961 50256 519080 2198920 744533 8887018 60150 5539 710 1
>>0 4486 383 127 0 268983 1005032 88344 6016 4533 2281
>
> Everything else looks normal, but you haven't been running this server
> for long. Maybe you need a longer period of data collection.
[...]

It would be great if an explanation of /proc/net/rpc/nfsd could go
into the HOWTO ... :)


Regards,
Andreas

Bruce Robertson

unread,
Aug 2, 2002, 1:05:39 PM8/2/02
to
Would you bother with more threads in this situation? The server's been
up 133 days; doesn't seem like it's worth messing with it if the last
thread has only been used for 11 seconds. I might increase it for the next
reboot (if ever :-), but I don't really want to bother with restarting nfsd:

rc 253405 247133819 2102736339
fh 164627 2388074384 0 0 0
io 1879707623 1245239505
th 20 802 499059.350 179740.290 95589.220 38896.840 13428.490 4192.740 1125.820 239.110 45.190 11.020
ra 40 205615873 1051844 560093 330858 220535 154846 109266 81350 66170 63103 0
net -1944843733 -1944843733 0 0
rpc -1944843733 0 0 0 0
proc2 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
proc3 22 0 42738275 24032239 215924238 1550591333 20714 233998756 172948575 24818081 13323 20691 0 24789604 13179 733268 18264 74781 0 171980 110430 0 59105832

--
Bruce Robertson, President/CEO +1-775-348-7299
Great Basin Internet Services, Inc. fax: +1-775-348-9412
http://www.greatbasin.net

Tom McNeal

unread,
Aug 2, 2002, 1:52:29 PM8/2/02
to
Andreas Behnert wrote:
>
> Neil Brown wrote:
> >>fiona:~# cat /proc/net/rpc/nfsd
> >>rc 19 123835 15603248
> >>fh 10 15227728 0 14 188
> >>io 3752095213 1826934055
> >>th 128 0 34.710 2.230 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000>
> >>
> > This line says
> [...]
> >
> >>ra 256 8316937 462671 10814 6530 3748 4498 2851 3290 1583 1881 402138
> >>net 15727611 15727611 0 0
> >>rpc 15727102 509 509 0 0
> >>proc2 18 856 35104 6 0 9044 349 329927 0 0 83 0 0 0 0 223 0 1890 569
> >>proc3 22 144698 1357961 50256 519080 2198920 744533 8887018 60150 5539 710 1
> >>0 4486 383 127 0 268983 1005032 88344 6016 4533 2281
> >
> > Everything else looks normal, but you haven't been running this server
> > for long. Maybe you need a longer period of data collection.
> [...]
>
> It would be great if an explanation of /proc/net/rpc/nfsd could go
> into the HOWTO ... :)

I'll look into it; there is already some discussion in the performance
section about some of the proc files, and the thread counts in
/proc/net/rpc/nfsd

Tom

--
------------------------------------------------------------
Tom McNeal trmc...@attbi.com (650)906-0761 (cell)
------------------------------------------------------------

0 new messages