[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/17] crypto/cipher: Class hierarchy cleanups
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 00/17] crypto/cipher: Class hierarchy cleanups |
Date: |
Mon, 17 Aug 2020 18:09:11 +0100 |
User-agent: |
Mutt/1.14.5 (2020-06-23) |
On Wed, Aug 12, 2020 at 08:25:20PM -0700, Richard Henderson wrote:
> Mostly this is intended to cleanup the class hierarchy
> used for the ciphers. We currently have multiple levels
> of dispatch, and multiple separate allocations. The final
> patches rearrange this to one level of indirect call, and
> all memory allocated contiguously.
>
> But on the way there are a number of other misc cleanups.
>
> I know those final patches are somewhat big, but I don't
> immediately see how to split them apart.
Yeah, I can't see a better way off hand.
> I noticed this while profiling patches to make ARM PAUTH
> use the crypto subsystem. The qcrypto_cipher_* dispatch
> routines were consuming a noticeable portion of the runtime,
> and with these changes they were down below 1% where they
> ought to be.
>
> While I did not continue with PAUTH using AES, I still think
> these are good cleanups.
They'll probably improve the LUKS block driver performance too.
What were you measuring performance with ? Did you use the
benchmark-crypto-cipher program or something else ?
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- Re: [PATCH 13/17] crypto/builtin: Move AES_cbc_encrypt into cipher-builtin.inc.c, (continued)
- [PATCH 14/17] crypto/builtin: Split and simplify AES_encrypt_cbc, Richard Henderson, 2020/08/12
- [PATCH 15/17] crypto/builtin: Split QCryptoCipherBuiltin into subclasses, Richard Henderson, 2020/08/12
- [PATCH 17/17] crypto/gcrypt: Split QCryptoCipherGcrypt into subclasses, Richard Henderson, 2020/08/12
- [PATCH 16/17] crypto/nettle: Split QCryptoCipherNettle into subclasses, Richard Henderson, 2020/08/12
- Re: [PATCH 00/17] crypto/cipher: Class hierarchy cleanups, Philippe Mathieu-Daudé, 2020/08/13
- Re: [PATCH 00/17] crypto/cipher: Class hierarchy cleanups, no-reply, 2020/08/13
- Re: [PATCH 00/17] crypto/cipher: Class hierarchy cleanups, no-reply, 2020/08/13
- Re: [PATCH 00/17] crypto/cipher: Class hierarchy cleanups,
Daniel P . Berrangé <=