qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] crypto: improve performance of ciphers in XTS mode


From: Daniel P . Berrangé
Subject: [PATCH 0/4] crypto: improve performance of ciphers in XTS mode
Date: Thu, 17 Oct 2019 15:56:50 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]