crypto: improve performance of ciphers in XTS mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests: allow filtering crypto cipher benchmark teststests/ | +12 | 2 replies | |
| 2/4 | tests: benchmark crypto with fixed data size, not time periodtests/ tests/ | +23 | 2 replies | |
| 3/4 | crypto: add support for gcrypt's native XTS implconfigure crypto/ crypto/ +1 more | +59 | 2 replies | |
| 4/4 | crypto: add support for nettle's native XTS implconfigure crypto/ | +36 | 2 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Stefano Garzarella |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | R-b |
| 3/4 | A-b | |
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] crypto: improve performance of ciphers in XTS mode
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(-)
Signature · 1 line
2.21.0