summaryrefslogtreecommitdiff
path: root/man/crypttab.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-03-11 14:04:06 +0900
committerLennart Poettering <lennart@poettering.net>2019-03-13 09:48:50 +0100
commit2c65512ee7dede245b72110a12264094f475427c (patch)
treec7d238516fd000414d8fbe4ba2f9ac022e989ec8 /man/crypttab.xml
parent05044ebff90e4bc8bd5a546ba37e3a863c7b3dfc (diff)
downloadsystemd-2c65512ee7dede245b72110a12264094f475427c.tar.gz
cryptsetup: add same-cpu-crypt and submit-from-crypt-cpus options
Closes #11946.
Diffstat (limited to 'man/crypttab.xml')
-rw-r--r--man/crypttab.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/man/crypttab.xml b/man/crypttab.xml
index 3574ce00da..f0d8030e12 100644
--- a/man/crypttab.xml
+++ b/man/crypttab.xml
@@ -225,6 +225,26 @@
</varlistentry>
<varlistentry>
+ <term><option>same-cpu-crypt</option></term>
+
+ <listitem><para>Perform encryption using the same cpu that IO was submitted on. The default is to use
+ an unbound workqueue so that encryption work is automatically balanced between available CPUs.</para>
+ <para>This requires kernel 4.0 or newer.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>submit-from-crypt-cpus</option></term>
+
+ <listitem><para>Disable offloading writes to a separate thread after encryption. There are some
+ situations where offloading write bios from the encryption threads to a single thread degrades
+ performance significantly. The default is to offload write bios to the same thread because it benefits
+ CFQ to have writes submitted using the same context.</para>
+ <para>This requires kernel 4.0 or newer.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>skip=</option></term>
<listitem><para>How many 512-byte sectors of the encrypted data to skip at the