Re: Re: Fast cipher for netbooks?

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

 



At Thu, 23 Apr 2009 13:25:27 +0200,
Tomasz Chmielewski wrote:

[the OP:]
> > What cipher should I use for maximum performance?  Is there anything
> > else that I can tune to improve my disc speed when using dm-crypt?

The fastest algorithms are AES and Twofish, at least on the machines I did
install it on in the past. Encrypt/decrypt speed is mainly related to CPU
speed. You can tweak a little more by mounting your filesystem with the
"noatime", "data=writeback" (in case of ext3/4) and "nobarrier" (in case of
XFS, that's what I'm exclusively using) options.

> I measured different ciphers and here are my results:
> http://blog.wpkg.org/2009/04/23/cipher-benchmark-for-dm-crypt-luks/

How has the results been achieved, what measuring method has been used?

I have benchmarked some of the alorithms by myself ca. 1/2 year ago,
and the results were that on Intel CPUs, Twofish was slightly faster than AES,
and on AMD CPUs, AES was slightly faster than Twofish. All the other
algorithms were significantly slower, and slowest was cast5/6.

On 64-bit Linux, Serpent was almost equally fast as Twofish/AES!

Did benchmark with

bonnie++ -u htd:lane -d /mnt/test -s 2002m -m liesel -n 16:100000:16:64


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[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