summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/sysctl.311
-rw-r--r--sbin/sysctl/sysctl.818
2 files changed, 7 insertions, 22 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index bee68fee711..e48709acb80 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.215 2012/08/18 15:40:30 jmc Exp $
+.\" $OpenBSD: sysctl.3,v 1.216 2013/01/03 10:02:59 jmc Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 18 2012 $
+.Dd $Mdocdate: January 3 2013 $
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -2121,10 +2121,9 @@ are contiguous on disk, reducing fragmentation.
.El
.Bl -tag -width Ds
.It Dv NFS_NIOTHREADS
-The number of NFS I/O kernel threads.
-Should be set high enough for the server to handle
-the maximum level of concurrency from its clients,
-typically four to six.
+The number of I/O kernel threads for NFS clients.
+The default is 4;
+the maximum is 20.
.El
.El
.El
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 7d8e4601860..3f508c1de88 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.164 2012/04/10 15:57:36 guenther Exp $
+.\" $OpenBSD: sysctl.8,v 1.165 2013/01/03 10:02:59 jmc Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)sysctl.8 8.2 (Berkeley) 5/9/95
.\"
-.Dd $Mdocdate: April 10 2012 $
+.Dd $Mdocdate: January 3 2013 $
.Dt SYSCTL 8
.Os
.Sh NAME
@@ -82,7 +82,6 @@ Useful for setting shell variables.
For example, to set the psize shell variable to the pagesize of the hardware:
.Pp
.Dl # set psize=`sysctl -n hw.pagesize`
-.Pp
.It Fl q
Suppress all output when setting a variable.
This option overrides the behaviour of
@@ -509,19 +508,6 @@ It is also possible to add or remove ports from the current list:
# sysctl net.inet.tcp.baddynamic=-871
.Ed
.Pp
-To adjust the number of kernel nfsio
-threads used to service asynchronous
-I/O requests on an NFS client machine:
-.Pp
-.Dl # sysctl vfs.nfs.iothreads=4
-.Pp
-The default is 4; 20 is the maximum.
-See
-.Xr nfssvc 2
-and
-.Xr nfsd 8
-for further discussion.
-.Pp
To set the amount of shared memory available in the system and
the maximum number of shared memory segments:
.Bd -literal -offset indent