Sat 19 of May, 2007 [17:14 UTC]  
Menu

UserPageChonhulio

print PDF
Block read/write, 1MB block size, 1GB total, 2GHz Athlon, 40 GB WDC WD400EB-00CPF0
readreadwritewrite
plain plain
total 26.96 total 33.89
sys 3.046 sys 2.623
37.98 MB/s 30.21 MB/s
AES-i586-128AES-i586-256AES-i586-128AES-i586-256
total 40.96total 43.40total 35.15total 35.65
sys 3.36sys 3.20sys 25.21sys 11.37
25.00 MB/s23.59 MB/s29.13 MB/s28.72 MB/s
Serpent-128Serpent-256Serpent-128Serpent-256
total 47.81total 47.69total 40.79total 40.93
sys 3.37sys 3.23sys 6.35sys 6.18
21.41 MB/s21.47 MB/s25.10 MB/s25.01 MB/s
Twofish-128Twofish-256Twofish-128Twofish-256
total 47.70total 47.82total 42.81total 42.90
sys 3.48sys 3.37sys 12.62sys 12.86
21.46 MB/s21.41 MB/s23.91 MB/s23.86 MB/s
Blowfish-128Blowfish-256Blowfish-128Blowfish-256
total 53.02total 53.18total 50.69total 50.65
sys 3.43sys 3.38sys 14.91sys 14.91
19.31 MB/s19.26 MB/s20.20 MB/s20.21 MB/s
AES-128AES-256AES-128AES-256
total 50.57total 59.10total 46.49total 52.61
sys 3.28sys 3.26sys 13.99sys 15.46
20.24 MB/s17.32 MB/s22.02 MB/s19.46 MB/s
DES-643-DES-192DES-643-DES-192
total 64.65total 125.62total 68.24total 125.48
sys 3.32sys 3.53sys 18.91sys 34.11
15.84 MB/s8.15 MB/s15.00 MB/s8.16 MB/s

Conclusions:
- The speed of Twofish, Blowfish and Serpent is not affected by keysize
- DES and Triple-DES are completely outdated
- DES is not secure, keys are simply too short
- Assembler-optimized code (AES-i586) really makes a difference

In recent versions of Linux (2.6.8 or newer) AES-i586 has been included.
When compiling for an x86-CPU >=i586 it will be used instead of the default implementation.

Further readings on ciphers:
Twofish
Blowfish
Serpent
AES
(Triple-)DES

The performance of encryption algorithms is greatly affected by hardware details. PowerPCs, SPARCs and even different x86-CPUs will give different results.

Created by: Chonhulio last modification: Wednesday 15 of September, 2004 [21:51:12 UTC] by Chonhulio


Posted messages

Top Hide all
author message
another little benchmark
on: Sun 13 of Jun, 2004 [10:11 UTC] score: 0.00
I also testet a little, just to see the slowdown by encryption.

System is a Celeron (Tualatin) 1200Mhz on Intel BX with 1GB RAM.
HD: 4x Maxtor 6Y120L0 on Promise Ultra 100 and Promise Fastrak TX2 running in RAID-5. Chunksize 128k.


XFS without encryption:
bonnie -u root -d /backup -n 10 -f -s 10240M

Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
Node-1 10G 35007 24 18455 16 55990 29 211.7 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
10 1860 35 +++++ +++ 1769 42 1822 36 +++++ +++ 721 17


XFS on AES-i586 Keysize 128 Bit:
bonnie -u root -d /backup -n 10 -f -s 10240M

Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
Node-1 10G 15461 48 8184 6 16186 7 213.6 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
10 1102 68 +++++ +++ 1082 79 1095 68 +++++ +++ 393 44


XFS on AES-i586 Keysize 256 Bit:
bonnie -u root -d /backup -n 10 -f -s 10240M

Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
Node-1 10G 14301 47 7437 6 14726 6 209.1 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
10 1095 74 +++++ +++ 1059 83 1099 75 +++++ +++ 528 52



author message
Re: another little benchmark
on: Mon 26 of Jul, 2004 [01:46 UTC] score: 0.00
/usr/src/linux/arch/i386/crypto/aes-i586-asm.S:
...
// An AES (Rijndael) implementation for the Pentium. This version only
// implements the standard AES block length (128 bits, 16 bytes).

quite clear...



Page: 1/1
1