I've noticed a performance drop using LUKS in recent kernel with marvell_cesa acceleration. After some investigation I found that marvell_cesa is not used anymore by dm_crypt because of potential deadlocks.
Even if "cryptsetup benchmark" shows the HW accelerated speed, the performance writing and reading on a disk are poor, aligned to software only encryption.
For more information, please to:
[REGRESSION] dm_crypt essiv ciphers do not use async driver mv-aes-cbc anymore
https://lore.kernel.org/all/20230929224327.GA11839@google.com/T/
Even if "cryptsetup benchmark" shows the HW accelerated speed, the performance writing and reading on a disk are poor, aligned to software only encryption.
For more information, please to:
[REGRESSION] dm_crypt essiv ciphers do not use async driver mv-aes-cbc anymore
https://lore.kernel.org/all/20230929224327.GA11839@google.com/T/