Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622827

Re: [RFC PATCH v5] IV Generation algorithms for dm-crypt

From Binoy Jayan <binoy.jayan@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v5] IV Generation algorithms for dm-crypt
Date 2017-04-13 10:50 +0200
Message-ID <tvIBX-oq-9@gated-at.bofh.it> (permalink)
References <ttzCN-5WI-7@gated-at.bofh.it> <tuIaZ-1GU-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Milan,

On 10 April 2017 at 19:30, Milan Broz <gmazyland@gmail.com> wrote:

Thank you for the reply.

> Well, it is good that there is no performance degradation but it
> would be nice to have some user of it that proves it is really
> working for your hw.

I have been able to get access to a hardware with IV generation support
a few days back. The hardware I was having before did not have IV
generation support. Will be able to come up with numbers after making
it work with the new one.

> FYI - with patch that increases dmcrypt sector size to 4k
> I can see improvement in speed usually in 5-15% with sync AES-NI
> (depends on access pattern), with dmcrypt mapped to memory
> it is even close to 20% speed up (but such a configuration is
> completely artificial).
>
> I wonder why increased dmcrypt sector size does not work for your hw,
> it should help as well (and can be combiuned later with this IV approach).
> (For native 4k drives this should be used in future anyway...)

I think it should work well too with backward incompatibility.

Thanks,
Binoy

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH v5] IV Generation algorithms for dm-crypt Binoy Jayan <binoy.jayan@linaro.org> - 2017-04-13 10:50 +0200

csiph-web