[dm-crypt] aes-xts-plain with aes_x86_64 makes my SSD 5x slower than my encrypted HD

Heinz Diehl htd at fancy-poultry.org
Tue Jul 24 08:25:18 CEST 2012


On 24.07.2012, Marc MERLIN wrote: 

>  Timing buffered disk reads:  72 MB in  3.05 seconds =  23.59 MB/sec

> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes

Please correct me if I should be wrong, but your drive should report
512/4096 here, so it lies about the real blocksize it uses (4k).
This raises the question if you have created your filesystem on top of
the encrypted partition with e.g. "-b 4096".



More information about the dm-crypt mailing list