summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-10-29 00:27:02 +0000
committermav <mav@FreeBSD.org>2014-10-29 00:27:02 +0000
commitf3c02a878d799d4d5abc2ec174fc878388f90392 (patch)
tree80e72bc81552e1e72aa17a7c14c09537084eb5af
parent928386888ba740d10d5891223be7757b5099e310 (diff)
downloadFreeBSD-src-f3c02a878d799d4d5abc2ec174fc878388f90392.zip
FreeBSD-src-f3c02a878d799d4d5abc2ec174fc878388f90392.tar.gz
MFC r273457: Document sort_io_queue sysctls/tunables.
-rw-r--r--share/man/man4/ada.49
-rw-r--r--share/man/man4/da.49
2 files changed, 16 insertions, 2 deletions
diff --git a/share/man/man4/ada.4 b/share/man/man4/ada.4
index 6b40880..86b6a08 100644
--- a/share/man/man4/ada.4
+++ b/share/man/man4/ada.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 21, 2014
+.Dd October 22, 2014
.Dt ADA 4
.Os
.Sh NAME
@@ -123,6 +123,13 @@ seconds.
This variable determines whether to spin-down disks when shutting down.
Set to 1 to enable spin-down, 0 to disable.
The default is currently enabled.
+.It Va kern.cam.sort_io_queue
+.It Va kern.cam.ada. Ns Ar X Ns Va .sort_io_queue
+.Pp
+These variables determine whether request queue should be sorted trying
+to optimize head seeks.
+Set to 1 to enable sorting, 0 to disable, -1 to leave it as-is.
+The default is sorting enabled for HDDs and disabled SSDs.
.It Va kern.cam.ada.read_ahead
.It Va kern.cam.ada. Ns Ar X Ns Va .read_ahead
.It Va kern.cam.ada.write_cache
diff --git a/share/man/man4/da.4 b/share/man/man4/da.4
index 39e1dba..7d6f83b 100644
--- a/share/man/man4/da.4
+++ b/share/man/man4/da.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 8, 2012
+.Dd October 22, 2014
.Dt DA 4
.Os
.Sh NAME
@@ -150,6 +150,13 @@ This variable determines how long the
driver will wait before timing out an outstanding command.
The units for this value are seconds, and the default is currently 60
seconds.
+.It Va kern.cam.sort_io_queue
+.It Va kern.cam.da. Ns Ar X Ns Va .sort_io_queue
+.Pp
+These variables determine whether request queue should be sorted trying
+to optimize head seeks.
+Set to 1 to enable sorting, 0 to disable, -1 to leave it as-is.
+The default is sorting enabled for HDDs and disabled for SSDs.
.It kern.cam.da.%d.minimum_cmd_size
.Pp
This variable determines what the minimum READ/WRITE CDB size is for a
OpenPOWER on IntegriCloud