linux/Documentation/admin-guide/device-mapper
Mikulas Patocka 5268de78e1 dm-crypt: add the optional "high_priority" flag
When WQ_HIGHPRI was used for the dm-crypt kcryptd workqueue it was
reported that dm-crypt performs badly when the system is loaded[1].
Because of reports of audio skipping, dm-crypt stopped using
WQ_HIGHPRI with commit f612b2132d (Revert "dm crypt: use WQ_HIGHPRI
for the IO and crypt workqueues").

But it has since been determined that WQ_HIGHPRI provides improved
performance (with reduced latency) for highend systems with much more
resources than those laptop/desktop users which suffered from the use
of WQ_HIGHPRI.

As such, add an option "high_priority" that allows the use of
WQ_HIGHPRI for dm-crypt's workqueues and also sets the write_thread to
nice level MIN_NICE (-20). This commit makes it optional, so that
normal users won't be harmed by it.

[1] https://listman.redhat.com/archives/dm-devel/2023-February/053410.html

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
2024-04-16 11:34:47 -04:00
..
cache-policies.rst Documentation: admin-guide: correct spelling 2023-02-02 11:04:42 -07:00
cache.rst
delay.rst
dm-clone.rst dm: add clone target 2019-09-12 09:32:31 -04:00
dm-crypt.rst dm-crypt: add the optional "high_priority" flag 2024-04-16 11:34:47 -04:00
dm-dust.rst dm dust: add interface to list all badblocks 2020-07-20 11:17:41 -04:00
dm-ebs.rst Documentation: admin-guide: correct spelling 2023-02-02 11:04:42 -07:00
dm-flakey.rst dm flakey: introduce random_read_corrupt and random_write_corrupt options 2023-06-16 18:24:13 -04:00
dm-ima.rst dm ima: update dm documentation for ima measurement support 2021-08-20 16:07:37 -04:00
dm-init.rst dm init: add dm-mod.waitfor to wait for asynchronously probed block devices 2022-12-02 17:37:45 -05:00
dm-integrity.rst Documentation: dm-integrity: Document an example of how the tunables relate. 2023-06-22 18:39:51 -04:00
dm-io.rst
dm-log.rst
dm-queue-length.rst
dm-raid.rst Documentation: fix multiple typos found in the admin-guide subdirectory 2020-12-08 10:27:56 -07:00
dm-service-time.rst
dm-uevent.rst
dm-zoned.rst Documentation: admin-guide: correct spelling 2023-02-02 11:04:42 -07:00
era.rst
index.rst dm vdo: add vdo documentation to device-mapper index 2024-02-20 13:43:18 -05:00
kcopyd.rst
linear.rst
log-writes.rst
persistent-data.rst
snapshot.rst
statistics.rst
striped.rst
switch.rst
thin-provisioning.rst
unstriped.rst Documentation: admin-guide: correct spelling 2023-02-02 11:04:42 -07:00
vdo-design.rst dm vdo: add vio life cycle details to design doc 2024-02-20 13:43:18 -05:00
vdo.rst dm vdo: document minimum metadata size requirements 2024-03-07 19:56:24 -05:00
verity.rst dm verity: Add documentation for try_verify_in_tasklet option 2022-10-18 17:17:48 -04:00
writecache.rst dm writecache: count number of blocks discarded, not number of discard bios 2022-07-14 15:54:46 -04:00
zero.rst