[LU-15003] use client enc_pool for fscrypt Created: 14/Sep/21 Updated: 23/Sep/22 Resolved: 10/Sep/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.2 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Andreas Dilger | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | performance | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
According to Sebastien's fscrypt presentation at LAD'20, the use of bounce buffers reduces fscrypt performance by up to 30%. This can be replaced by using preallocated pages in enc_pool from Kerberos, so that pages do not need to be allocated/freed for every RPC. |
| Comments |
| Comment by Sebastien Buisson [ 14/Sep/21 ] |
|
I think the first step would be to re-run benchmarks with recent Lustre/distro/kernel/cpu in order to confirm the performance drop incurred by client encryption. |
| Comment by Gerrit Updater [ 26/Apr/22 ] |
|
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47149 |
| Comment by Gerrit Updater [ 26/Apr/22 ] |
|
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47150 |
| Comment by James A Simmons [ 26/Apr/22 ] |
|
This looks like an excellent optimization to send upstream. |
| Comment by Gerrit Updater [ 01/Sep/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47149/ |
| Comment by Gerrit Updater [ 01/Sep/22 ] |
|
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/48411 |
| Comment by Peter Jones [ 10/Sep/22 ] |
|
Landed for 2.15.2 and 2.16 |