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

Herbert Xu herbert at gondor.hengli.com.au
Wed Jun 2 05:20:54 UTC 2010


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 at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




More information about the dm-devel mailing list