From dcb6bed1dfc7ca6221a556f19d4252272ccfda33 Mon Sep 17 00:00:00 2001 From: DHE Date: Wed, 16 Dec 2015 14:22:32 -0500 Subject: Make zio_taskq_batch_pct user configurable Adds zio_taskq_batch_pct as an exported module parameter, allowing users to modify it at module load time. Signed-off-by: DHE Signed-off-by: Brian Behlendorf Closes #4110 --- man/man5/zfs-module-parameters.5 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'man/man5/zfs-module-parameters.5') diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index e1af27d14..6be382eac 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1598,6 +1598,23 @@ Prioritize requeued I/O Default value: \fB0\fR. .RE +.sp +.ne 2 +.na +\fBzio_taskq_batch_pct\fR (uint) +.ad +.RS 12n +Percentage of online CPUs (or CPU cores, etc) which will run a worker thread +for IO. These workers are responsible for IO work such as compression and +checksum calculations. Fractional number of CPUs will be rounded down. +.sp +The default value of 75 was chosen to avoid using all CPUs which can result in +latency issues and inconsistent application performance, especially when high +compression is enabled. +.sp +Default value: \fB75\fR. +.RE + .sp .ne 2 .na -- cgit v1.2.3