Re: Via Eden C7 padlock benchmarks

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

 



Torsten72 <torsten.st@xxxxxxx> writes:

> # loop-aes: AES-128
...
> 52428800 Bytes (52 MB) kopiert, 0,93555 Sekunden, 56,0 MB/s
...
> # loop-aes: AES-256
...
> 52428800 Bytes (52 MB) kopiert, 0,953818 Sekunden, 55,0 MB/s
...
> # dm-crypt: AES-128
...
> 52428800 Bytes (52 MB) kopiert, 0,554618 Sekunden, 94,5 MB/s
...
> # dm-crypt: AES-256
...
> 52428800 Bytes (52 MB) kopiert, 0,560215 Sekunden, 93,6 MB/s

Interesting results!  Even if people generally seems to prefer
dm-crypt over loop-aes, it is good to have statistics to back things
up.

> Can anybody tell me why the loop device is so slow even without encryption?
> Compared to the openssl speed test the results for both loop-aes and
> dm-crypt
> don't look very good.

Aren't you comparing apples and oranges here?  OpenSSL doesn't read
input from /dev/zero, nor does it write the output to a block device.

If you want to compare things properly, try comparing just the
encryption implementation of loop-aes/dm-crypt with that of OpenSSL.
Don't forget to compare compiler optimization flags too.

/Simon

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux