1856369 Members
7809 Online
104112 Solutions
New Discussion

Re: num_nfsd

 
SOLVED
Go to solution
Suriya Wanna_1
Occasional Advisor

num_nfsd

Hello everyone i've one question about NFS. I have see in the /etc/rc.config.d/nfsconf about NUM_NFSD that its value is set to 16,from this setting it seem that tell me about nfsd daemon to invoke when the system start. From the information above can i conclude this machine allow the client to use nfs for 16 machine ? Is my understanding correct?

Thank you in advance for every reply
4 REPLIES 4
Naveej.K.A
Honored Contributor

Re: num_nfsd

Hi,

man nfsd

"nfsd starts the NFS server daemons that handle client file system requests (see nfs(7)). num_nfsd is the suggested number of file system request daemons that will start. One daemon will be started to support the kernel threads servicing TCP requests, and multiple additional daemons will be started to service UDP requests. At system boot time, num_nfsd is defined by the NUM_NFSD variable in the /etc/rc.config.d/nfsconf file. When the UDP nfsds are launched, the kernel will automatically round up num_nfsd to be a multiple of the number of active CPU's in the system.

On a system with 16 active CPU's the following command:

/usr/sbin/nfsd 30

will result in a total 33 nfsds being launched. For UDP requests, the kernel rounds-up the requested num_nfsd value to be a multiple of the number of active CPU's in the system, resulting in 32 UDP daemons. One additional daemon will be launched to support kernel TCP threads, resulting in a total of 33 daemons.

The following command:

/usr/sbin/biod 16

will result in a total of 16 block I/O daemons being launched. The number of active CPU's in the system has no effect on the number of biods started."

So it doesnot mean that you can connect 16 client machines, but you can have each daemon handling one request (file system opration) at a time.

Regards,
Naveej


practice makes a man perfect!!!
Suriya Wanna_1
Occasional Advisor

Re: num_nfsd

OK i got it , But i wanna know Can i test to use nfsd daemon for more than 16 ? , And How to test it ?
Naveej.K.A
Honored Contributor
Solution

Re: num_nfsd

Hi,

You may need a look at

http://docs.hp.com/en/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf

Page 41 onwards talks about nfsd daemons.

There are numerous factors which determines this. ttcp and netperf are some good tools to derive client server statistics.

With best wishes,
Naveej
practice makes a man perfect!!!
Stephen Keane
Honored Contributor

Re: num_nfsd

Don't forget nfsstat as well!