Re: Performance problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/19/2012 12:51 PM, Joakim Reinert wrote:
> I have loaded the module aesni_intel and verified that the refcnt
> changes in /proc/crypto when i open/close the encrypted partition.

How exactly the storage stack looks like? Using underlying partition?
please paste lsblk output and cryptsetup luksDump
(you can remove slot info and hash, algorithm and payload offset
is important here)

Try to add oflag=direct to your dd command (for write) or iflag=direct
for read.

Yes, AES-NI should provide more than necessary performance.

> I've already harrassed everybody at #archlinux and #crypto in IRC but
> nobody seems to know what the problem might be. I also installed
> truecrypt and did some benchmarks which show encryption and decryption
> speeds of roughly 2GB/s.

Truecrypt by default use dm-crypt (if not switched off in config),
but internal benchmarks measure non-kernel services.


> Might this have something to do with the data alignment on disk? At
> least with lvm it's suggested to define dataalignment=1m on SSD's. Is
> it possible to define data alignment for dm-crypt?

1MiB alignment is default for LUKS (and for LVM as well btw), depends
on version and if underlying partition is aligned.

Need info above to check.

Milan
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux