2021-01-11 10:44:07 |
Yoann Dubreuil |
bug |
|
|
added bug |
2021-01-11 11:00:09 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2021-01-11 13:09:15 |
Yoann Dubreuil |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2021-01-12 15:30:37 |
Panagiotis Moustafellos |
bug |
|
|
added subscriber Panagiotis Moustafellos |
2021-01-12 17:01:20 |
Jim Ntosas |
bug |
|
|
added subscriber Jim Ntosas |
2021-01-12 17:40:21 |
Christos Argyropoulos |
bug |
|
|
added subscriber Christos Argyropoulos |
2021-01-13 17:58:14 |
Brandon Hedge |
bug |
|
|
added subscriber Brandon Hedge |
2021-01-13 19:11:05 |
Terry Rudd |
bug |
|
|
added subscriber Terry Rudd |
2021-01-21 19:33:19 |
Guilherme G. Piccoli |
bug |
|
|
added subscriber Guilherme G. Piccoli |
2021-05-12 09:33:26 |
gerald.yang |
linux (Ubuntu): assignee |
|
gerald.yang (gerald-yang-tw) |
|
2021-05-12 09:33:34 |
gerald.yang |
linux (Ubuntu): status |
Confirmed |
In Progress |
|
2021-05-17 06:13:48 |
gerald.yang |
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://github.com/torvalds/linux/commit/39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 but was not tagged for the stable tree.
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://www.redhat.com/archives/dm-devel/2020-July/msg00138.html
* https://blog.cloudflare.com/speeding-up-linux-disk-encryption/
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, |
=== 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 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 from mainline kernel, and this is not enabled by default
[Fix]
Add flags to bypass kcryptd workqueue
[Test]
create dm-crypt and setup DM_CRYPT_NO_READ_WORKQUEUE and DM_CRYPT_NO_WRITE_WORKQUEUE, read/write data and run perf record to see if read/write to the encrypted device will bypass kcryptd workqueue
[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://github.com/torvalds/linux/commit/39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 but was not tagged for the stable tree.
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://www.redhat.com/archives/dm-devel/2020-July/msg00138.html
* https://blog.cloudflare.com/speeding-up-linux-disk-encryption/
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, |
|
2021-05-18 03:09:26 |
gerald.yang |
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 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 from mainline kernel, and this is not enabled by default
[Fix]
Add flags to bypass kcryptd workqueue
[Test]
create dm-crypt and setup DM_CRYPT_NO_READ_WORKQUEUE and DM_CRYPT_NO_WRITE_WORKQUEUE, read/write data and run perf record to see if read/write to the encrypted device will bypass kcryptd workqueue
[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://github.com/torvalds/linux/commit/39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 but was not tagged for the stable tree.
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://www.redhat.com/archives/dm-devel/2020-July/msg00138.html
* https://blog.cloudflare.com/speeding-up-linux-disk-encryption/
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, |
=== 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 39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 from mainline kernel, and bypass kcryptd workqueue is not enabled by default
[Fix]
Add flags to bypass kcryptd workqueue
[Test]
create dm-crypt and setup DM_CRYPT_NO_READ_WORKQUEUE and DM_CRYPT_NO_WRITE_WORKQUEUE, read/write data and run perf record to see if read/write to the encrypted device will bypass kcryptd workqueue
[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://github.com/torvalds/linux/commit/39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 but was not tagged for the stable tree.
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://www.redhat.com/archives/dm-devel/2020-July/msg00138.html
* https://blog.cloudflare.com/speeding-up-linux-disk-encryption/
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, |
|
2021-05-18 03:10:10 |
gerald.yang |
nominated for series |
|
Ubuntu Groovy |
|
2021-05-18 03:10:10 |
gerald.yang |
bug task added |
|
linux (Ubuntu Groovy) |
|
2021-05-18 03:10:10 |
gerald.yang |
nominated for series |
|
Ubuntu Bionic |
|
2021-05-18 03:10:10 |
gerald.yang |
bug task added |
|
linux (Ubuntu Bionic) |
|
2021-05-18 03:10:10 |
gerald.yang |
nominated for series |
|
Ubuntu Focal |
|
2021-05-18 03:10:10 |
gerald.yang |
bug task added |
|
linux (Ubuntu Focal) |
|
2021-05-18 03:10:18 |
gerald.yang |
linux (Ubuntu Bionic): status |
New |
In Progress |
|
2021-05-18 03:10:21 |
gerald.yang |
linux (Ubuntu Focal): status |
New |
In Progress |
|
2021-05-18 03:10:24 |
gerald.yang |
linux (Ubuntu Groovy): status |
New |
In Progress |
|
2021-05-18 03:10:26 |
gerald.yang |
linux (Ubuntu Bionic): assignee |
|
gerald.yang (gerald-yang-tw) |
|
2021-05-18 03:10:29 |
gerald.yang |
linux (Ubuntu Groovy): assignee |
|
gerald.yang (gerald-yang-tw) |
|
2021-05-18 03:10:31 |
gerald.yang |
linux (Ubuntu Focal): assignee |
|
gerald.yang (gerald-yang-tw) |
|
2021-08-19 13:20:46 |
Alexandros Sapranidis |
bug |
|
|
added subscriber Alexandros Sapranidis |