linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* serpent-sse2 - different key size same speed?
@ 2012-03-19 18:06 Zdenek Kaspar
  2012-03-20  6:53 ` Jussi Kivilinna
  0 siblings, 1 reply; 3+ messages in thread
From: Zdenek Kaspar @ 2012-03-19 18:06 UTC (permalink / raw)
  To: linux-crypto

Hello everyone,

I just quick tested 3.3.0 kernel (x86_64) to get idea how serpent-sse2
implementation works on Core2 machine. My dirty testing revealed that
key size doesn't have impact on speed. Is such behavior normal ?

Test machine: Core2 E6600 (2.40GHz), 3GB RAM, Scientific Linux 6.2
dm-crypt on /dev/loop0, 1.5G image file:
/dev/loop0: [0010]:11323 (/dev/shm/test.img)


Encrypt (dd if=/dev/zero of=/dev/mapper/test bs=1M)
-s 256 -c aes-xts-plain64     : 159 - 162 MB/s
-s 512 -c aes-xts-plain64     : 129 - 141 MB/s

-s 256 -c serpent-xts-plain64 : 142 - 146 MB/s
-s 512 -c serpent-xts-plain64 : 139 - 148 MB/s


Decrypt (dd if=/dev/mapper/test of=/dev/null bs=1M)
-s 256 -c aes-xts-plain64     : 113 - 114 MB/s
-s 512 -c aes-xts-plain64     :   90.1 MB/s

-s 256 -c serpent-xts-plain64 :  105.0 MB/s
-s 512 -c serpent-xts-plain64 :  105.0 MB/s


(perf top shows as expected high usage of: serpent_dec_blk_8way and
serpent_enc_blk_8way)

Z.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-20  8:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 18:06 serpent-sse2 - different key size same speed? Zdenek Kaspar
2012-03-20  6:53 ` Jussi Kivilinna
2012-03-20  8:08   ` Zdenek Kaspar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).