Although there were patches improving the performance of the AES/XTS (the default) for luks encryption on upstream QEMU (3.1+), we believe there's still room for further improvements in this area.
This BZ is to track this work (identify the bottlenecks, run benchmarks, and implement the changes).
Some background about luks encryption performance:
The patches were merged upstream in QEMU-3.1 and are being backported to RHEL-7.7 (bug 1666336) and RHEL-8.0.1 (bug 1680231). RHEL-AV-8.0 already includes them (QEMU-3.1).
The above is valid on x86_64 only, where hardware support for AES is available. On power, there's a different BZ: bug 1680226.
Since "improve performance" is quite a general problem with many separate changes being relevant, I'm going to treat this bug as a tracker bug for ongoing performance work. Specific fixes/changes will all get their own targetted bug report.
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. Thanks
Closing this tracking bug, since the massive gcrypt performance improvements (bug 1762765) are pending release for RHEL-8.3, and there aren't active plans todo further performance work in QEMU at this time.