DM-Crypt "High Priority" In Linux 6.10 Makes For Better Throughput & Latency

Written by Michael Larabel in Linux Storage on 24 May 2024 at 09:41 AM EDT. 4 Comments
LINUX STORAGE
The Device Mapper changes were merged last week into the Linux 6.10 kernel, including a new "high priority" option for DM-Crypt.

DM-Crypt as Device Mapper's crypto target for transparent disk encryption will now honor a "high_priority" flag for workqueues to set the writer thread to high priority. Using this high priority flag will improve throughput and latency of DM-Crypt but at the risk of reducing responsiveness of the system at large. The DM-Crypt high priority option is covered in more detail within this earlier Phoronix article from the start of May that was covering this change when in DM-Next.

Aside from the high priority option for DM-Crypt, Linux 6.10 Device Mapper now exports DM-Crypt workqueues via sysfs for more visibility and control over I/O and crypt workqueues. Plus there are various Device Mapper fixes. More details within this Git merge.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week