qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Subject: [PULL 0/4] Crypto luks patches
Date: Mon, 28 Oct 2019 16:49:10 +0100	[thread overview]
Message-ID: <20191028154914.84821-1-berrange@redhat.com> (raw)

The following changes since commit 187f35512106501fe9a11057f4d8705431e0026d:

  Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-next-251019-3' into staging (2019-10-26 10:13:48 +0100)

are available in the Git repository at:

  https://github.com/berrange/qemu tags/crypto-luks-pull-request

for you to fetch changes up to dc2207af2de162005f7e9e534850d07232290cee:

  crypto: add support for nettle's native XTS impl (2019-10-28 16:45:07 +0100)

----------------------------------------------------------------
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          | 97 ++++++++++++++++++++++-----------
 crypto/cipher-nettle.c          | 18 ++++++
 tests/Makefile.include          |  2 +-
 tests/benchmark-crypto-cipher.c | 39 ++++++++-----
 tests/benchmark-crypto-hash.c   | 17 +++---
 7 files changed, 159 insertions(+), 56 deletions(-)

-- 
2.23.0



             reply	other threads:[~2019-10-28 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-28 15:49 Daniel P. Berrangé [this message]
2019-10-28 15:49 ` [PULL 1/4] tests: allow filtering crypto cipher benchmark tests Daniel P. Berrangé
2019-10-28 15:49 ` [PULL 2/4] tests: benchmark crypto with fixed data size, not time period Daniel P. Berrangé
2019-10-28 15:49 ` [PULL 3/4] crypto: add support for gcrypt's native XTS impl Daniel P. Berrangé
2019-10-28 15:49 ` [PULL 4/4] crypto: add support for nettle's " Daniel P. Berrangé
2019-10-30 14:21   ` Alex Bennée
2019-10-29 16:26 ` [PULL 0/4] Crypto luks patches Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191028154914.84821-1-berrange@redhat.com \
    --to=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).