[dm-crypt] LUKS performance penalty

Milan Broz mbroz at redhat.com
Sun May 1 10:20:26 CEST 2011


On 05/01/2011 01:38 AM, michael dye wrote:
> I find that using LUKS results in a tremendous performance penalty: 
> 156MB/s writes with LUKS v. 613MB/s without on a PCI-E SSD using ext4.  
> Am I failing to set up LUKS correctly?  What can I do to improve 
> performance?

Please retest it with 2.6.38 kernel which uses per cpu encryption threads.
You should get better throughput on multicore systems
(with some real fs test using more threads, for one thread it will
be probably not much better, it run encryption on CPU core which
submitted it.)

Milan


More information about the dm-crypt mailing list