Jump to content

cryptsetup - supporting no_read_workqueue/no_write_workqueue on SSDs

Recommended Posts

Dear Armbian community,


although I'm using Armbian a lot, I never had to submit anything to this forum (fortunately, because it works so well :-)),


On my PC I've experienced lags on heavy IO operations. After a short dig into available information,

I found a useful Cloudflare article on Kernel queues together with dm-crypt.


A good & short summary on possible actions for users can be found here:




Enabling the no-read-workqueue & no-write-workqueue options helped a lot!



As I'm using a RockPi4 with the NVMe SSD with encryption, I thought this should apply to my SBC as well.


Unfortunately, Armbian/Debian Buster uses cryptsetup v2.1.0


which does NOT support these options.

According to the changelog, this option was introduced in v2.3.4:



As Armbian uses a kernel > 5.9, the kernel infrastructure should be available.


Fortunately, crypsetup v2.3.4 exists in the buster-backports repo:





# sudo apt install cryptsetup/buster-backports


Link to comment
Share on other sites

Donate your old hardware to community. Start a giveaway Raffle!

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines