Skip to contentSkip to conversation

Need more threads?

DISCUSSION Huang Xiong 2 participants 4 messages Nov 1, 2007 – Nov 2, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello all,

I have to only open one nfsd thread in this special situation.

I do not understand the "th" line very clearly, and I find various comments in the net . Please help me see the below two NFS server, do them need more threads? and would you evaluate it for me?

Thanks in advance.
Phillip

--------------------------------------------------------
[root@node1 ~]# cat /proc/net/rpc/nfsd
rc 0 0 317
fh 0 0 0 0 0
io 0 0
th 1 17 130.092 54.005 52.006 0.000 5.599 78.743 89.426 197.553 0.000 11.259 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 317 83 230 81
rpc 317 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 5 113 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 87 110 0 0
proc4 2 0 0

[root@node2 ~]# cat /proc/net/rpc/nfsd
rc 0 0 550
fh 0 0 0 0 0
io 0 0
th 1 137 80.840 5.479 0.000 0.000 0.000 0.000 0.000 0.000 0.000 50.640 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 550 216 330 113
rpc 550 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 3 181 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 186 178 0 0

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

To clarify - you're intentionally running with only one nfsd thread, but you want to know if you need more? The answer is you almost always need multiple nfsd threads, but if you describe your "special situation" maybe we can offer more advice.

The "th" line gives you statistics on the relative use of multiple nfsd threads. It's a histogram of the number of running nfsd's versus the available pool. However, since your pool is only one thread (the first number on the line), the histogram itself isn't very useful. What information are you looking for?

Tom.

Quoted 38 lines · Huang Xiong

Hello all,

I have to only open one nfsd thread in this special situation.

I do not understand the "th" line very clearly, and I find various comments in the net . Please help me see the below two NFS server, do them need more threads? and would you evaluate it for me?

Thanks in advance.
Phillip

--------------------------------------------------------
[root@node1 ~]# cat /proc/net/rpc/nfsd
rc 0 0 317
fh 0 0 0 0 0
io 0 0
th 1 17 130.092 54.005 52.006 0.000 5.599 78.743 89.426 197.553 0.000 11.259 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 317 83 230 81
rpc 317 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 5 113 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 87 110 0 0
proc4 2 0 0

[root@node2 ~]# cat /proc/net/rpc/nfsd
rc 0 0 550
fh 0 0 0 0 0
io 0 0
th 1 137 80.840 5.479 0.000 0.000 0.000 0.000 0.000 0.000 0.000 50.640 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 550 216 330 113
rpc 550 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 3 181 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 186 178 0 0

Quoted 8 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw

Tom,

I worry about the NFS performance as I have to runing only one nfsd thread. As you see in the previous letter, I do not understan "th" very clearly to judge the current thread is sufficient or have been in heavy load.

Thanks.
P.H.

Quoted 11 lines · Thomas

To clarify - you're intentionally running with only one nfsd thread, but you want to know if you need more? The answer is you almost always need multiple nfsd threads, but if you describe your "special situation" maybe we can offer more advice.

The "th" line gives you statistics on the relative use of multiple nfsd threads. It's a histogram of the number of running nfsd's versus the available pool. However, since your pool is only one thread (the first number on the line), the histogram itself isn't very useful. What information are you looking for?

Quoted 49 lines

Tom.

Quoted 46 lines · Huang Xiong

Hello all,

I have to only open one nfsd thread in this special situation.

I do not understand the "th" line very clearly, and I find various comments in the net . Please help me see the below two NFS server, do them need more threads? and would you evaluate it for me?

Thanks in advance.
Phillip

--------------------------------------------------------
[root@node1 ~]# cat /proc/net/rpc/nfsd
rc 0 0 317
fh 0 0 0 0 0
io 0 0
th 1 17 130.092 54.005 52.006 0.000 5.599 78.743 89.426 197.553 0.000 11.259 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 317 83 230 81
rpc 317 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 5 113 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 87 110 0 0 proc4 2 0 0

[root@node2 ~]# cat /proc/net/rpc/nfsd
rc 0 0 550
fh 0 0 0 0 0
io 0 0
th 1 137 80.840 5.479 0.000 0.000 0.000 0.000 0.000 0.000 0.000 50.640 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 550 216 330 113
rpc 550 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 3 181 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 186 178 0 0

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw
Quoted 6 lines · Huang Xiong

Tom,

I worry about the NFS performance as I have to runing only one nfsd thread. As you see in the previous letter, I do not understan "th" very clearly to =

judge the current thread is sufficient or have been in heavy load.

Ah. Well, it's clear that you do need more, but with only one it's hard to say how many more. Normally people run at least 4 to 8, and many more on some servers. (Actually, many commercial servers don't have threads at all, they achieve much higher IOPS as a result).

If you are able run more threads, then post your "th" stats again and we can give better advice. This is a very complex area however, dependent on many, many factors. What problem are you trying to solve by limiting the server threads so severely?

Tom.

Quoted 8 lines

Thanks.
P.H.

=D4=DA =D0=C7=C6=DA=CB=C4 01 =CA=AE=D2=BB=D4=C2 2007 22:55=A3=ACTalpey, Th=

omas =D0=B4=B5=C0=A3=BA

Quoted 52 lines
Quoted 52 lines

To clarify - you're intentionally running with only one nfsd thread, but you want to know if you need more? The answer is you almost always need multiple nfsd threads, but if you describe your "special situation" maybe we can offer more advice.

The "th" line gives you statistics on the relative use of multiple nfsd threads. It's a histogram of the number of running nfsd's versus the available pool. However, since your pool is only one thread (the first number on the line), the histogram itself isn't very useful. What information are you looking for?

Tom.

Quoted 38 lines · Huang Xiong

Hello all,

I have to only open one nfsd thread in this special situation.

I do not understand the "th" line very clearly, and I find various comments in the net . Please help me see the below two NFS server, do them need more threads? and would you evaluate it for me?

Thanks in advance.
Phillip

--------------------------------------------------------
[root@node1 ~]# cat /proc/net/rpc/nfsd
rc 0 0 317
fh 0 0 0 0 0
io 0 0
th 1 17 130.092 54.005 52.006 0.000 5.599 78.743 89.426 197.553 0.000 11.259 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 317 83 230 81
rpc 317 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 5 113 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 87 110 0 0 proc4 2 0 0

[root@node2 ~]# cat /proc/net/rpc/nfsd
rc 0 0 550
fh 0 0 0 0 0
io 0 0
th 1 137 80.840 5.479 0.000 0.000 0.000 0.000 0.000 0.000 0.000 50.640 ra 2 0 0 0 0 0 0 0 0 0 0 0
net 550 216 330 113
rpc 550 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 3 181 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 186 178 0 0

Quoted 1 line
Quoted 1 line
Quoted 1 line

-----------------------------------------------------------------------=

--

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs