Cherry-pick dm-crypt performance improvement patch from Linux 5.9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
In Progress
|
Undecided
|
gerald.yang | ||
Bionic |
In Progress
|
Undecided
|
gerald.yang | ||
Focal |
In Progress
|
Undecided
|
gerald.yang | ||
Groovy |
Won't Fix
|
Undecided
|
gerald.yang |
Bug Description
=== SRU Justification ===
[Impact]
To get better performance for dm-crypt in some cases, bypass kcryptd workqueue can reduce the overhead in context switch between workers, cherry-pick commit 39d42fa96ba1b7d
[Fix]
Add flags to bypass kcryptd workqueue
[Test]
create dm-crypt and setup DM_CRYPT_
[Regression Potential]
Low, this feature is disabled by default, need to enable manually
========= original bug description =========
Hi,
I'm asking if it would be possible to cherry-pick patch "dm crypt: add flags to optionally bypass kcryptd workqueues" into the 5.4 Ubuntu kernel. This patch has been merged in mainline kernel 5.9 https:/
This patch provides important performance gains for some workloads using dm-crypt / LUKS and cherry-picking it would be very beneficial for dm-crypt users. You can find details on the expected gain in the following links:
* https:/
* https:/
The patch mostly applies cleanly on the Ubuntu 5.4 kernel, the only merge conflict is due to the module version at the end of the patch. I can provide a backport patch if needed.
Thanks,
Changed in linux (Ubuntu): | |
assignee: | nobody → gerald.yang (gerald-yang-tw) |
status: | Confirmed → In Progress |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → gerald.yang (gerald-yang-tw) |
Changed in linux (Ubuntu Groovy): | |
assignee: | nobody → gerald.yang (gerald-yang-tw) |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → gerald.yang (gerald-yang-tw) |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1910976
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.