|
|
HP-UX Reference > Nnfsd(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEnfsd, biod — NFS daemons DESCRIPTIONnfsd 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. A previously invoked nfsd daemon started with or without options must be stopped before invoking another nfsd command. biod starts num_nfsiod asynchronous block I/O daemons. These daemons are used on the NFS client to improve I/O performance by caching asynchronous read-ahead and write-behind requests. At system boot time, num_nfsiod is defined by the NUM_NFSIOD variable in the /etc/rc.config.d/nfsconf file. The number of active CPU's on the system does not affect the number of biod daemons started. Optionsnfsd recognizes the following options:
biod recognizes the following options:
Application UsageIf the nfs_portmon variable is set to 1, then clients are required to use privileged ports (ports < IPPORT_RESERVED) in order to get NFS services. The default value of nfs_portmon on HP-UX systems is 0. To set the variable, execute the following command on the target system: kctune nfs_portmon=1 To unset the variable, execute the following command on the target system: kctune nfs_portmon=0 EXAMPLESOn 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 biod daemons started. WARNINGSWhen the biod daemons are not running and the buffer cache is exhausted, I/O on NFS loopback file systems might block indefinitely under rare circumstances, leading to application hangs. To avoid such a problem, it is recommended to use direct I/O on these NFS mounts (see mount_nfs(1M)). |
|