original_kernel/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
cache.rst
delay.rst
dm-clone.rst
dm-crypt.rst dm-crypt: add the optional "high_priority" flag 2024-04-16 11:34:47 -04:00
dm-dust.rst
dm-ebs.rst
dm-flakey.rst
dm-ima.rst
dm-init.rst
dm-integrity.rst
dm-io.rst
dm-log.rst
dm-queue-length.rst
dm-raid.rst
dm-service-time.rst
dm-uevent.rst
dm-zoned.rst
era.rst
index.rst
kcopyd.rst
linear.rst
log-writes.rst
persistent-data.rst
snapshot.rst
statistics.rst
striped.rst
switch.rst
thin-provisioning.rst
unstriped.rst
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
writecache.rst
zero.rst