From: Huang Xiong Subject: Re: Need more threads? Date: Fri, 2 Nov 2007 11:28:07 +0800 Message-ID: <200711021128.07881.huangxiong@uit.com.cn> References: <200711011800.08010.huangxiong@uit.com.cn> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0195312633==" Cc: nfs@lists.sourceforge.net To: "Talpey, Thomas" Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1InnD2-0002JH-5G for nfs@lists.sourceforge.net; Thu, 01 Nov 2007 20:28:36 -0700 Received: from [211.154.174.66] (helo=uit.com.cn) by mail.sourceforge.net with smtp (Exim 4.44) id 1InnD4-0001cP-8m for nfs@lists.sourceforge.net; Thu, 01 Nov 2007 20:28:41 -0700 In-Reply-To: List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net --===============0195312633== Content-Type: text/plain; charset="gb18030" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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= =20 judge the current thread is sufficient or have been in heavy load. Thanks. P.H. =D4=DA =D0=C7=C6=DA=CB=C4 01 =CA=AE=D2=BB=D4=C2 2007 22:55=A3=ACTalpey, Tho= mas =D0=B4=B5=C0=A3=BA > 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. > > At 06:00 AM 11/1/2007, Huang Xiong wrote: > >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 - NFS@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nfs --===============0195312633== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0195312633== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs --===============0195312633==--