Currently QEMU uses its own XTS cipher mode, however, this has relatively poor performance.
Gcrypt now includes its own XTS cipher which is at least x2 faster than what we get with QEMU's on Fedora/RHEL hosts. With gcrypt git master, a further x5-6 speed up is seen. This is essential for QEMU's LUKS performance to be viable. Daniel P. Berrangé (4): tests: allow filtering crypto cipher benchmark tests tests: benchmark crypto with fixed data size, not time period crypto: add support for gcrypt's native XTS impl crypto: add support for nettle's native XTS impl configure | 40 +++++++++++++++++++++++++++++++++ crypto/Makefile.objs | 2 +- crypto/cipher-gcrypt.c | 36 ++++++++++++++++++++++++++++- crypto/cipher-nettle.c | 18 +++++++++++++++ tests/Makefile.include | 2 +- tests/benchmark-crypto-cipher.c | 39 +++++++++++++++++++++----------- tests/benchmark-crypto-hash.c | 17 +++++++------- 7 files changed, 130 insertions(+), 24 deletions(-) -- 2.21.0