Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nfsiod(8) [osx man page]

NFSIOD(8)						    BSD System Manager's Manual 						 NFSIOD(8)

NAME
nfsiod -- local NFS asynchronous I/O SYNOPSIS
nfsiod [-n num_threads] DESCRIPTION
nfsiod is deprecated. See nfs.conf(5) for NFS configuration info. nfsiod controls the maximum number of asynchronous I/O threads used for NFS mounts. Historically, it has consisted of a daemon that never exits. However, asynchronous I/O requests are now serviced by threads launched on demand in the kernel and the nfsiod command simply sets the configuration limit. Having asynchronous I/O threads improves performance but is not required for correct operation. The options are as follows: -n Specify maximum number of asynchronous I/O threads to be used. If no maximum is specified, nfsiod displays the current value. The default value is 16. A client should allow enough threads to handle its maximum level of concurrency. The nfsiod utility exits 0 on success, and >0 if an error occurs. SEE ALSO
nfs.conf(5), mount_nfs(8), nfsstat(1) HISTORY
The nfsiod utility first appeared in 4.4BSD. It's use was deprecated in Darwin 9. BSD
October 25, 2006 BSD

Check Out this Related Man Page

async_daemon(2) 						System Calls Manual						   async_daemon(2)

NAME
async_daemon - Creates a local NFS asynchronous I/O server SYNOPSIS
async_daemon( unsigned long iod_num, unsigned long magic); PARAMETERS
Specifies the number of I/O threads to run. For Tru64 UNIX, this is 950410. If a different value is used, seven NFS I/O threads are run. DESCRIPTION
The use of the async_daemon() function is not supported in customer applications, and the interface is subject to change without notice. It is intended for use solely by nfsiod(8). The async_daemon() function starts iod_num NFS I/O kernel threads that are used to improve NFS I/O performance. This function does not return to the caller, but remains in the kernel to provide additional support for NFS over TCP. RETURN VALUES
The async_daemon function has no successful return. In fact, it frees the text and data segments associated with the calling program so there is nothing to return to. When interrupted by a KILL signal, the I/O threads are terminated and the process exits. If the async_dae- mon function encounters errors, , -1 is returned and errno is set to indicate the error. ERRORS
If the async_daemon() function fails, errno may be set to the following value: The async_daemon function has already been called by another process. The caller is not the superuser. More than 64 I/O threads were requested. The kernel memory allocator has no memory. RELATED INFORMATION
Functions: nfssvc(2) Commands: nfsiod(8) delim off async_daemon(2)
Man Page

11 More Discussions You Might Find Interesting

1. Programming

asynchronous control of threads

I am attempting to build a library that is transparent to the client code. A shared resource is used by many threads with their own synchronization code, but every once in a while, ALL threads need to be stopped for some background control thread to update this resource before proceeding. I have... (2 Replies)
Discussion started by: Corona688
2 Replies

2. UNIX for Advanced & Expert Users

Unix threads information

Hi, Can someone tell help me on how to know the threads statistics on a unix machine similar to memory statisitcs. I woule like to monitor the Number of threads per process and total number of threads that a system can accomodate. Thank you mrag (1 Reply)
Discussion started by: mrag74
1 Replies

3. UNIX for Dummies Questions & Answers

Problems with simultaneous access to a server

Hello, I'm working in a project where several procedures are programmed using UNIX scripts. One of these scripts is launched in several threads. When performing these threads an scp command to another server it gives out. This error happens only sometimes, others not and each time for a... (5 Replies)
Discussion started by: Hector_Saura
5 Replies

4. Filesystems, Disks and Memory

NFS performance

Hi, In our environment (HP-UX B.11.11) we mainly use NFS v3 resources as the storage solution for our application. It worked fine, however we have recently noticed big I/O performance degradation that affected the application. Is there any command or utility that can help us measure I/O... (2 Replies)
Discussion started by: piooooter
2 Replies

5. UNIX for Dummies Questions & Answers

ls - maximum number of files

what is the maximum number ls can list down (6 Replies)
Discussion started by: karnan
6 Replies

6. UNIX for Advanced & Expert Users

threads per process

What are the maximum number of threads possible per Process? Is it OS dependent? (1 Reply)
Discussion started by: digdarshan
1 Replies

7. UNIX for Advanced & Expert Users

How to determine the number of NFS threads RUNNING on the system

Hi, Anyone can tell me how to get the number of NFS threads RUNNING on the system for Solaris 10? Someone told me for Solaris 9, the method is "echo "*svc$<svcpool" | adb -k. But, I've tried to google the method for Solaris 10 and did not find the corresponding method, please help... (1 Reply)
Discussion started by: wang.caiqi
1 Replies

8. Solaris

Max. number of NFS mounts

Hi, I was wondering, whether there is a limit regarding the max number of nfs mounts in Oracle Solaris 10 (newest update). The data center plans to migrate from a fibre channel based storage environment (hitachi) to a nfs based storage environment (netapp). Regarding the Solaris 10 database... (1 Reply)
Discussion started by: schms
1 Replies

9. Post Here to Contact Site Administrators and Moderators

Misblended threads

In the last few minutes, two unrelated threads have become merged: https://www.unix.com/shell-programming-scripting/156628-measure-thread-execution-c-unix-2.html I guess that the intention was to merge threads 156625 and 156715 (both from rob171171). (1 Reply)
Discussion started by: methyl
1 Replies

10. Shell Programming and Scripting

find command exclude nfs mounts

Gentleman and Ladies, I am having some difficulty in regards to the find utility. I am trying to not traverse nfs mounts when searching for files or directories. This command does not seem to work. It still returns directories that live on nfs shares. The man page says: -fstype type... (6 Replies)
Discussion started by: jaysunn
6 Replies

11. Solaris

Reducing threads on T5140

Hi All, We have a T5140 server which has 128 threads in total. Is it possible to reduce the number of threads per core through some configuration changes? I am sorry for being so naive but I am one on this. Why would I like to do this? Unfortunately we have this for an Oracle Database Server... (6 Replies)
Discussion started by: VENKITACHALAMS8
6 Replies