summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-08-21 18:12:51 +0000
committerpjd <pjd@FreeBSD.org>2005-08-21 18:12:51 +0000
commitaee0040df6519bf287e966fc182aa13284f4420d (patch)
tree1b84f66f1bd4d7e0a51d701694791b6390e5269b /sbin
parentaf30c99a23975a7de2f4165eacf4961c02b77c42 (diff)
downloadFreeBSD-src-aee0040df6519bf287e966fc182aa13284f4420d.zip
FreeBSD-src-aee0040df6519bf287e966fc182aa13284f4420d.tar.gz
By default, when doing crypto work in software, start as many threads
as we have active CPUs and bind each thread to its own CPU. MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r--sbin/geom/class/eli/geli.84
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/geom/class/eli/geli.8 b/sbin/geom/class/eli/geli.8
index 3f1dd43..f7970a0 100644
--- a/sbin/geom/class/eli/geli.8
+++ b/sbin/geom/class/eli/geli.8
@@ -445,10 +445,12 @@ passphrase can be logged and exposed via
.Xr dmesg 8 .
This variable should be set in
.Pa /boot/loader.conf .
-.It Va kern.geom.eli.threads : No 1
+.It Va kern.geom.eli.threads : No 0
Specifies how many kernel threads should be used for doing software
cryptography.
Its purpose is to increase performance on SMP systems.
+If hardware acceleration is available, only one thread will be started.
+If set to 0, CPU-bound thread will be started for every active CPU.
This variable could be set in
.Pa /boot/loader.conf .
.El
OpenPOWER on IntegriCloud