summaryrefslogtreecommitdiffstats
path: root/share/man/man7/tuning.7
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-06-25 02:47:55 +0000
committerdillon <dillon@FreeBSD.org>2002-06-25 02:47:55 +0000
commit015ebe4a16f9e22480c0504a1b66b35b68307bf4 (patch)
tree9c97f137f3785147c3bfe1cc138e6be8d74d0b82 /share/man/man7/tuning.7
parenta1c22f015e24d011ec3ce92cb0e3af01e32c72f7 (diff)
downloadFreeBSD-src-015ebe4a16f9e22480c0504a1b66b35b68307bf4.zip
FreeBSD-src-015ebe4a16f9e22480c0504a1b66b35b68307bf4.tar.gz
Add sections on vfs.write_behind and vfs.hirunningspace. Also note that
this has already been comitted to stable (the MFC was really through this commit, not the previous commit).
Diffstat (limited to 'share/man/man7/tuning.7')
-rw-r--r--share/man/man7/tuning.722
1 files changed, 21 insertions, 1 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7
index f8dd98d..cf110ea 100644
--- a/share/man/man7/tuning.7
+++ b/share/man/man7/tuning.7
@@ -414,7 +414,27 @@ Such services can include web caches, large mail systems, and news systems.
Turning on this option will generally not reduce performance even with the
wasted memory but you should experiment to find out.
.Pp
-There are various buffer-cache and VM page cache related sysctls.
+The
+.Va vfs.write_behind
+sysctl defaults to 1 (on). This tells the filesystem to issue media
+writes as full clusters are collected, which typically occurs when writing
+large sequential files. The idea is to avoid saturating the buffer
+cache with dirty buffers when it would not benefit I/O performance. However,
+this may stall processes and under certain circumstances you may wish to turn
+it off.
+.Pp
+The
+.Va vfs.hirunningspace
+sysctl determines how much outstanding write I/O may be queued to
+disk controllers system wide at any given instance. The default is
+usually sufficient but on machines with lots of disks you may want to bump
+it up to four or five megabytes. Note that setting too high a value
+(exceeding the buffer cache's write threshold) can lead to extremely
+bad clustering performance. Do not set this value arbitrarily high! Also,
+higher write queueing values may add latency to reads occuring at the same
+time.
+.Pp
+There are various other buffer-cache and VM page cache related sysctls.
We do not recommend modifying these values.
As of
.Fx 4.3 ,
OpenPOWER on IntegriCloud