Improving dm-crypt performance by making it able to use more than one core

Solution Verified - Updated -


  • Currently "dm-crypt" does all encryption work per dmcrypt mapping in a single workqueue. This does not scale well when multiple cores are submitting IO at a high rate. The single core running the single thread cannot keep up with the encryption and encrypted IO performance tasks, which causes a bottleneck on the IO worker. How to make dm-crypt able to use more than one core.


  • Red Hat Enterprise Linux (RHEL) 6, 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content