Re: [dm-devel] [PATCH] DM-CRYPT: Scale to multiple CPUs

Herbert Xu
2010-06-02T05:20:58Z

On Wed, Jun 02, 2010 at 01:15:43AM -0400, Mikulas Patocka wrote:
>
> Almost every CPU is "very slow" so that it lags behind disk when
> encrypting. CPUs with hardware AES may be the exception.

I would not call a platform like Nehalem the exception.

> If one CPU submits I/O for 10MB of data, your patch makes no
> paralelization at all. Because all those 10MB will be encrypted by the
> same CPU that submitted it.

He doesn't need to. This is already solved by pcrypt.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt