nfsiod.8 (a866e170777b42fd7921eadd6e7e664f3a031d60) nfsiod.8 (48660452c1bbbc5d7a41a3625df502b71557ca3a)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" From: @(#)nfsiod.8 8.2 (Berkeley) 2/22/94
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" From: @(#)nfsiod.8 8.2 (Berkeley) 2/22/94
29.\" $FreeBSD$
30.\"
31.Dd September 22, 1994
31.Dd December 26, 2009
32.Dt NFSIOD 8
33.Os
34.Sh NAME
35.Nm nfsiod
36.Nd local
37.Tn NFS
38asynchronous I/O server
39.Sh SYNOPSIS
40.Nm
41.Op Fl n Ar num_servers
42.Sh DESCRIPTION
43The
44.Nm
32.Dt NFSIOD 8
33.Os
34.Sh NAME
35.Nm nfsiod
36.Nd local
37.Tn NFS
38asynchronous I/O server
39.Sh SYNOPSIS
40.Nm
41.Op Fl n Ar num_servers
42.Sh DESCRIPTION
43The
44.Nm
45utility is a kernel process which runs on an
45utility controls the maximum number of
46.Nm
47kernel processes which run on an
46.Tn NFS
47client machine to service asynchronous I/O requests to its server.
48.Tn NFS
49client machine to service asynchronous I/O requests to its server.
48It improves performance but is not required for correct operation.
50Having
51.Nm
52kernel processes
53improves performance but is not required for correct operation.
49.Pp
54.Pp
50This program controls the maximum number of processes that the kernel runs.
51.Pp
52The options are as follows:
55The option is as follows:
53.Bl -tag -width indent
54.It Fl n
56.Bl -tag -width indent
57.It Fl n
55Specify how many servers are permitted to be started.
58Specify how many processes are permitted to be started.
56.El
57.Pp
59.El
60.Pp
58A client should run enough daemons to handle its maximum
61Without an option,
62.Nm
63displays the current settings.
64A client should allow enough number of processes to handle its maximum
59level of concurrency, typically four to six.
60.Pp
61If
62.Nm
63detects that the running kernel does not include
64.Tn NFS
65level of concurrency, typically four to six.
66.Pp
67If
68.Nm
69detects that the running kernel does not include
70.Tn NFS
65support, it will attempt to load a loadable kernel module containing
71support, it will attempt to load a kernel module containing
66.Tn NFS
67code, using
68.Xr kldload 2 .
69If this fails, or no
70.Tn NFS
72.Tn NFS
73code, using
74.Xr kldload 2 .
75If this fails, or no
76.Tn NFS
71KLD was available,
77module was available,
72.Nm
73exits with an error.
74.Sh EXIT STATUS
75.Ex -std
76.Sh SEE ALSO
77.Xr nfsstat 1 ,
78.Xr kldload 2 ,
79.Xr nfssvc 2 ,
80.Xr mountd 8 ,
81.Xr nfsd 8 ,
82.Xr rpcbind 8
83.Sh HISTORY
84The
85.Nm
86utility first appeared in
87.Bx 4.4 .
78.Nm
79exits with an error.
80.Sh EXIT STATUS
81.Ex -std
82.Sh SEE ALSO
83.Xr nfsstat 1 ,
84.Xr kldload 2 ,
85.Xr nfssvc 2 ,
86.Xr mountd 8 ,
87.Xr nfsd 8 ,
88.Xr rpcbind 8
89.Sh HISTORY
90The
91.Nm
92utility first appeared in
93.Bx 4.4 .
94.Pp
95Starting with
96.Fx 5.0 ,
97the utility no longer starts daemons, but only serves as a vfs
98loader and
99.Xr sysctl 3
100wrapper.