čtvrtek 21. listopadu 2013

Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz

CPU : family 6, model 15 and stepping 11
model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
cpu MHz : 1200.000 / 2200.000
cache size : 4096 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow vnmi flexpriority
bogomips : 4388.07


Mainboard : Advansus i965GM-DCQI
Memory DDR2: 2G @ 800MHz
Memory benchmark (hdparm) : 3562.11 MB/sec
HD benchmark (hdparm udma5) :
(OCZ CORE_SSD)
66.95 MB/sec

OS: openSUSE 11.4

SSL test:

linux:~> openssl version
OpenSSL 1.0.0c 2 Dec 2010


linux:~> openssl engine
(aesni) Intel AES-NI engine (no-aesni)
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 319770.13k 352965.18k 316828.08k 262330.37k 244995.41k
blowfish cbc 79629.24k 84159.83k 85523.46k 86187.24k 86076.07k
aes-128-cbc 59437.61k 70680.26k 73896.53k 118254.59k 119649.62k

ssh test:

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

bigfile.ePDWxYz8au                             100% 1000MB  40.0MB/s   00:25    
bigfile.ePDWxYz8au                             100% 1000MB  66.7MB/s   00:15    
bigfile.ePDWxYz8au                             100% 1000MB  52.6MB/s   00:19    

default : 40.0MB/s
aes128-cbc : 66.7MB/s
blowfish : 52.6MB/s

ramdisk test:

size: 1000 megabytes, cipher:aes-cbc-essiv:sha256, key: 256b, direct I/O for both write/read
unencryptedencrypted
blocksizewrite speedread speedencrypt speeddecrypt speed
512 39.468 42.036 12.928 16.850
1k 73.493 78.284 18.119 26.115
2k 129.510 151.63325.074 36.230
4k 241.820 288.67739.605 44.817
8k 385.300 489.26344.163 50.730
16k 617.730 842.62347.033 54.388
1M 1168.9891853.35552.273 61.073
encrypted ramdisk test, direct i/o:
size: 1024 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 36.383 43.813 16.950 17.091
1k 77.871 81.079 24.860 26.297
2k 141.008 157.036 32.820 36.104
4k 266.949 300.466 39.904 44.477
8k 409.102 501.488 43.735 50.138
16k 593.007 760.913 46.374 53.577
1M 1175.672 1868.377 51.366 60.127

úterý 19. listopadu 2013

Intel(R) Celeron(R) CPU 1007U @ 1.50GHz

cores 2 / threads 2
CPU : family 6, model 58 and stepping 9
model name : Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
cpu MHz : 1500.000
cache size : 2048 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips : 2993.22

Mainboard : GIGABYTE C1007UN
Memory : 4G DDR3 @ 1333
Memory benchmark (hdparm) : 2833.34 MB/sec
HD benchmark (hdparm udma5) :
(OCZ Throttle 8G)
82.71 MB/sec

OS: openSUSE 12.3 x86_64

openSSL test:

linux:~> openssl version
OpenSSL 1.0.1e 11 Feb 2013


linux:~> openssl engine
(rsax) RSAX engine support
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 192087.82k 297905.04k 339414.39k 353394.01k 357806.83k
blowfish cbc 53337.48k 56018.37k 57258.55k 57437.50k 57620.72k
aes-128-cbc 131353.65k 146644.87k 149472.58k 151480.08k 151907.81k

openSSH test:

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

bigfile.JCctYuNI4b                            100% 1000MB  37.0MB/s   00:27    
bigfile.JCctYuNI4b                            100% 1000MB  58.8MB/s   00:17    
bigfile.JCctYuNI4b                            100% 1000MB  40.0MB/s   00:25    

default : 37.0MB/s
aes128-cbc : 58.8MB/s
blowfish : 40.0MB/s

(encrypted) ramdisk benchmark:

direct io:
size: 1500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
direct write:cipher: nonecipher: aes
blocksizewrite speedread speedencrypt speeddecrypt speed
51234.992 520.163 14.126 72.022
1k 64.048 893.639 20.719 72.549
2k 122.867 1345.351 29.203 72.638
4k 248.161 1789.820 47.144 72.736
8k 434.155 2074.611 54.515 72.807
16k708.402 2132.329 52.118 72.908
1M 1979.3871931.108 66.427 73.064


cached:
size: 1500 megabytes, aes-cbc-essiv:sha256, key: 256b
cached write:cipher: nonecipher: aes
blocksizewrite speedread speedencrypt speeddecrypt speed
512 153.724 525.815 66.128 72.547
1k 255.497 881.761 95.482 72.568
2k 381.030 1323.615 94.079 72.618
4k 510.932 1812.139 109.425 72.719
8k 606.975 2077.982 110.787 72.713
16k 673.866 2188.659 112.891 72.859
1M 705.776 1950.344 112.146 72.771

Intel(R) Pentium(R) CPU G645 @ 2.90GHz

cores 2 / threads 2
CPU : family , model 42 and stepping 7
model name : Intel(R) Pentium(R) CPU G645 @ 2.90GHz
cpu MHz : 1600.000 / 2900.000
cache size : 3072 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 5786.95

Mainboard : GIGABYTE H61N-D2V
Memory : 8G DDR3 @1333
Memory benchmark (hdparm) : 5900.85 MB/sec
HD benchmark (hdparm udma5) :
(Western Digital Raptor)
68.26 MB/sec

OS: openSUSE 12.1


openSSL benchmark:

linux:~> openssl version
OpenSSL 1.0.1c 10 May 2012


linux:~> openssl engine
(rsax) RSAX engine support
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 338103.58k 551832.70k 647146.51k 675611.23k 679630.17k
blowfish cbc 94242.19k 99747.83k 101117.52k 101526.00k 101665.73k
aes-128-cbc 258532.08k 290244.11k 297594.78k 302049.86k 302950.57k


openSSH benchmark:

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c $i  bigfile localhost:/dev/null ; done

bigfile.zh19nJ62kx                                 100% 1000MB  62.5MB/s   00:16    
bigfile.zh19nJ62kx                                 100% 1000MB 142.9MB/s   00:07    
bigfile.zh19nJ62kx                                 100% 1000MB  66.7MB/s   00:15    

default : 62.5MB/s
aes128-cbc : 142.9MB/s
blowfish : 66.7MB/s

encrypted ramdisk benchmark:

size: 500 megabytes, speeds in MB/s
blocksizewritereadencryptdecrypt
512258.874 1012.067 214.548 199.230
1k 399.364 1593.615 284.365 214.066
2k 573.431 2247.686 370.381 205.164
4k 779.522 2790.723 464.809 215.747
8k 863.329 2892.748 490.783 213.531
16k 912.204 2840.053 513.012 213.523
1M 949.914 2833.230 525.583 211.364

neděle 17. listopadu 2013

2x Intel(R) Xeon(R) CPU X5560 @ 2.80GHz




CPUs 2 / cores 4 / threads 16

CPU : family , model 26 and stepping 5
model name : Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
cpu MHz : 1600.000 /2801.000
cache size : 8192 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 5599.19


Mainboard : Supermicro X8DAH+-F_
Memory : 96G DDR3 @ 1333 ECC
Memory benchmark (hdparm) : 8823.29 MB/sec
HD benchmark (hdparm udma6) :
(Intel X18-M/X25-M/X25-V G2 SSDs)
188.78 MB/sec

OS:openSUSE 11.4

openSSL benchmark:

linux:~> openssl version
OpenSSL 1.0.0k 5 Feb 2013


linux:~> openssl engine
(aesni) Intel AES-NI engine (no-aesni)
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 333908.14k 358351.93k 322019.06k 324682.66k 319383.89k
blowfish cbc 108741.83k 113345.84k 113786.26k 111634.15k 113263.30k
aes-128-cbc 86397.43k 95110.10k 98164.18k 98861.21k 100087.61k

openSSH benchmark:

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

bigfile.nmRm2q76y1                                 100% 1000MB  62.5MB/s   00:16    
bigfile.nmRm2q76y1                                 100% 1000MB  47.6MB/s   00:21    
bigfile.nmRm2q76y1                                 100% 1000MB  71.4MB/s   00:14    

default : 62.5MB/s
aes128-cbc : 47.6MB/s
blowfish : 71.4MB/s

encrypted ramdisk test:

It is evident, thate there is some distortion due to the write cache: the machine has 96GB ram vs 1.5G ramdisk size.


unencryptedencrypted
blocksizewrite speedread speedencrypt speeddecrypt speed
512 475.249 797.113 543.139 119.374
1k 788.407 1220.117 702.260 118.573
2k 1053.555 1314.705 1029.413 123.860
4k 1290.156 1972.262 1286.758 122.882
8k 1386.975 2218.426 1407.089 120.780
16k 1451.842 2299.632 1454.362 120.326
1M 1478.007 1482.638 1486.723 120.268
size: 1500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b



In the next test I have specified oflag=direct in the write/encrypt phase of the test:
  dd if=/dev/zero of=/mnt/cryptramdisk/testfile bs=$i oflag=direct 
 
unencryptedencrypted
blocksizewrite speedread speedencrypt speeddecrypt speed
512 73.683 855.768 6.802 119.000
1k 117.380 986.258 29.959 125.969
2k 213.170 1432.815 44.993 127.687
4k 390.188 1584.645 74.000 127.211
8k 721.074 2281.958 85.902 126.657
16k 1188.749 1471.006 89.185 124.285
1M 2412.269 2280.647 106.671124.164
size: 1500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b, dd: oflag=direct

2x Intel(R) Xeon(TM) CPU 3.06GHz (Prestonia core)

2x Prestonia based Xeon (2004)

CPUs 2 /cores 2 / threads 4
CPU : family 15, model 2 and stepping 9
model name : Intel(R) Xeon(TM) CPU 3.06GHz (or cpu-world.com)
cpu MHz : 3065.825 (FSB 533 MHz)
cache size : 512 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 6132.00


Mainboard : Tyan Tiger GC-SL (S2727), see www.motherboards.org
Memory : 4x 1G Samsung DDR @533 ECC
Memory benchmark (hdparm) : 489.80 MB/sec
HD benchmark (hdparm ) :
(SEAGATE_ST336607LW)
65.43 MB/sec

OS:openSUSE 12.2

openSSL

linux:~> openssl version
OpenSSL 1.0.1c 10 May 2012


linux:~> openssl engine
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 214227.07k 317349.08k 378839.04k 397950.98k 401514.50k
blowfish cbc 87676.29k 91639.40k 92346.97k 93147.36k 91712.17k
aes-128-cbc 47209.65k 55354.39k 59229.18k 60330.33k 60650.84k

openSSH

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

bigfile.URr9WRHs74                                 100% 1000MB  17.2MB/s   00:58    
bigfile.URr9WRHs74                                 100% 1000MB  23.8MB/s   00:42    
bigfile.URr9WRHs74                                 100% 1000MB  25.0MB/s   00:40    

default (aes128-ctr) : 17.2MB/s
aes128-cbc : 23.8MB/s
blowfish : 25.0MB/s

encrypted ramdisk test:

ramdisk size: 1500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
unencryptedencrypted
blocksizewrite speedread speedencryptdecrypt
512110.799241.78240.976545.082
1k159.2555353.780553.170549.84
2k198.9995385.36444.65950.455
4k237.2065400.02143.849551.2285
8k247.679399.699547.08452.127
16k261.6115398.09851.41950.776
1M176.2905263.264546.862548.031

encrypted ramdisk test, direct i/o:
size: 2048 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 17.694 21.265 11.066 12.280
1k 37.393 41.258 17.949 20.397
2k 64.608 80.828 26.094 30.734
4k 133.044 156.103 34.179 41.507
8k 208.585 267.451 39.236 49.213
16k 309.788 418.543 44.035 55.063
1M 284.963 475.803 46.702 55.106

pátek 15. listopadu 2013

Intel(R) Atom(TM) CPU 330 @ 1.60GHz

cores 2 / threads 4
CPU : family , model 28 and stepping 2
model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
cpu MHz : 1596.239
cache size : 512 KB
flags : fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
bogomips : 3192.47

Mainboard : Intel D945GCLF2
Memory : 2G DDR2 @533
Memory benchmark (hdparm) : 584.20 MB/sec
HD benchmark (hdparm udma6) :
(Intel X18-M/X25-M G1 SSDs)
188.30 MB/sec

OS:openSUSE 12.2 i586

linux:~> openssl version
OpenSSL 1.0.1e 11 Feb 2013


linux:~> openssl engine
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 89121.64k 114821.74k 123026.01k 125830.14k 126809.43k
blowfish cbc 49468.01k 54694.44k 55319.21k 56038.74k 56145.24k
aes-128-cbc 21300.34k 23640.06k 24617.81k 24874.67k 24952.83k

Create big empty file (100Mb file)
dd if=/dev/zero of=bigfile count=0 seek=200k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

bigfile.GBunmIPr1O                                          100%  100MB   8.3MB/s   00:12    
bigfile.GBunmIPr1O                                          100%  100MB  14.3MB/s   00:07    
bigfile.GBunmIPr1O                                          100%  100MB  33.3MB/s   00:03    

default : 8.3MB/s
aes128-cbc : 14.3MB/s
blowfish : 33.3MB/s

encrypted ramdisk test:
size: 100 and 500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksize encr. speed 100MBdecr. speed 100MB encr. speed 500MBdecr. speed 500MB
512 19.238 22.707 22.164 18.632
1k 24.089 19.248 30.134 18.665
2k 26.549 23.972 38.580 18.458
4k 62.699 19.329 47.993 22.426
8k 75.382 23.757 45.834 21.408
16k 77.470 19.224 48.151 19.847
1M 72.539 19.855 49.272 18.058

Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (w. AES_NI)

cores 4 / threads 4
CPU : family , model 60 and stepping 3
model name : Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
cpu MHz : 3201.000 / 800.000
cache size : 6144 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm
bogomips : 6528.40

Mainboard : ASUS Z87K
Memory : 16G DDR3 @ 1333
Memory benchmark (hdparm) : 14263.90 MB/sec
HD benchmark (hdparm udma6) :
(Samsung SSD 840 EVO 120GB)
513.42 MB/sec

OS: openSUSE 12.3 x64
linux:~> openssl version
OpenSSL 1.0.1e 11 Feb 2013


linux:~> openssl engine
(rsax) RSAX engine support
(rdrand) Intel RDRAND engine
(dynamic) Dynamic engine loading support


linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 427220.93k 746003.93k 863724.80k 909415.77k 916816.31k
blowfish cbc 128327.78k 134717.07k 136319.06k 136954.35k 136396.80k
aes-128-cbc 744823.17k 804284.47k 819621.38k 826812.19k 825633.05k

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done
bigfile.yyznXIPwa8                                               100% 1000MB 100.0MB/s  00:10    
bigfile.yyznXIPwa8                                               100% 1000MB 333.3MB/s  00:03    
bigfile.yyznXIPwa8                                               100% 1000MB 100.0MB/s  00:10    

default : 100.0MB/s
aes128-cbc : 333.3MB/s
blowfish : 100.0MB/s

encrypted ramdisk test:
size: 500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizeencrypt speed (MB/s)decrypt speed(MB/s)
512 459.740 1165.938
1k 648.384 1342.292
2k 819.053 1353.579
4k 951.722 1467.993
8k 992.630 1419.430
16k 1010.366 1537.297
1M 1025.405 1481.828


encrypted ramdisk test 2 (direct i/o access, no fs)
size: 8192 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 109.004 124.801 68.049 76.959
1k 212.417 245.119 114.922 143.792
2k 412.487 476.309 179.939 252.688
4k 782.179 862.965 251.660 409.964
8k 1313.835 1511.854 307.326 624.942
16k 2006.063 2443.338 347.675 787.669
1M 4774.449 6681.129 421.269 1081.190

čtvrtek 14. listopadu 2013

VIA Esther processor 1500MHz (w. PadLock)

Shortcuts: openSSH openSSL encrypted disk

cpus: 1
CPU : family , model 10 and stepping 9
model name : VIA Esther processor 1500MHz
cpu MHz : 1500.000
cache size : 128 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm pni est tm2 rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 3000.01


Mainboard : VIA NAS-7800
Memory : 1G  DDR2 @ (ADATA)
Memory benchmark (hdparm) : 241.83 MB/sec
HD benchmark (hdparm udma4) :
(LEXAR ATA FLASH CARD)
41.65 MB/sec

OS:OpenSuSe 12.3 i586
openssl version
OpenSSL 1.0.1e 11 Feb 2013


linux:~> openssl engine
(dynamic) Dynamic engine loading support
Padlock is not explicitly mentioned here  but is supported and active via /etc/ssl/openssl.cnf :
linux:~> openssl engine -engine padlock
3074152072:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/lib/engines/lib-engine.so): /lib/engines/lib-engine.so: cannot open shared object file: No such file or directory
3074152072:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
3074152072:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
3074152072:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=-engine
(padlock) VIA PadLock (no-RNG, ACE)
(no guess about the error messages)


OpenSSL benchmark

Padlock enabled:
linux:~> openssl speed -evp aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 56056.98k 67281.60k 70631.85k 71735.64k 72056.83k
blowfish cbc 28871.10k 30710.25k 31215.10k 31367.17k 31413.59k
aes-128-cbc 56118.19k 135257.88k 216046.34k 275569.66k 323131.93k

Padlock disabled:
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 56242.78k 67245.53k 70622.72k 71963.57k 72034.99k
blowfish cbc 28771.66k 30706.86k 31304.52k 31358.98k 31410.86k
aes-128-cbc 10733.81k 11662.96k 11959.81k 23062.53k 23255.42k




openSSH benchmark

Create big empty file (100Mb file)
linux:~> dd if=/dev/zero of=bigfile count=0 seek=200k  

ssh benchmark - to localhost. (ssh and sshd share the same CPU)
linux:~> scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

padlock : enabled disabled
default : 3.7MB/s 3.7MB/s
aes128-cbc : 14.3MB/s 6.3MB/s
blowfish : 7.7MB/s 7.1MB/s

ssh benchmark outside (padlock enabled)
 
linux:~> for i in aes128-cbc blowfish ; do scp -c  bigfile remote:/dev/null ; done

default : 7.1MB/s
aes128-cbc : 20.0MB/s
blowfish : 12.5MB/s


encrypted ramdisk benchmark:

It seems, that encryption (with padlock) does not slow down the ramdisk as much as one could expect.

padlock enabled   vs.   padlock disabled
blocksize write speedread speed encrypt speed PLdecrypt speed PL encrypt speed CPUdecrypt speed CPU
51251.351 91.295 48.216 41.622 5.159 12.581
1k 62.770 109.608 48.847 50.758 6.032 14.310
2k 71.662 121.159 56.640 56.312 6.393 15.180
4k 69.226 126.673 62.128 59.833 6.687 15.568
8k 79.637 130.204 63.657 61.153 6.760 15.802
16k71.556 130.332 64.779 61.830 6.777 15.872
1M 64.415 117.353 53.490 58.584 6.170 14.937
size: 100 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b



encrypted ramdisk test, direct i/o:
size: 512 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 23.780 20.429 12.834 12.806
1k 44.378 38.421 22.742 23.117
2k 81.590 70.329 37.771 38.708
4k 142.958 120.355 55.782 58.294
8k 207.034 166.536 71.251 74.646
16k 266.791 208.799 80.524 86.960
1M 160.870 199.897 59.335 79.223

Links:
Interesting reading (VIA vs Intel vs AMD hardware aes)

Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz

cores 4 / threads 8
CPU : family , model 45 and stepping 7
model name : Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
cpu MHz : 3601.000
cache size : 10240 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 7204.61

Mainboard : ASUS P9X79
Memory : 32G DDR3 @ 1333
Memory benchmark (hdparm) : 12927.09 MB/sec
HD benchmark (hdparm udma6) :
(Intel 520 Series SSDs)
391.81 MB/sec

OS:
linux:~> openssl version
OpenSSL 1.0.1e 11 Feb 2013


linux:~> openssl engine
(rsax) RSAX engine support
(dynamic) Dynamic engine loading support


linux:~> openssl speed aes-128-cbc rc4 blowfish
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 429837.52k 717058.07k 837975.50k 869986.30k 883744.77k
blowfish cbc 122608.15k 129478.61k 131858.49k 132105.90k 132251.65k
aes-128 cbc 114736.33k 123058.73k 124059.48k 125744.47k 125610.67k

Create big empty file (1Gb file)
dd if=/dev/zero of=bigfile count=0 seek=2000k  

ssh benchmark - to localhost.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c  bigfile localhost:/dev/null ; done

default : 83.3MB/s
aes128-cbc : 250.0MB/s
blowfish : 100.0MB/s

encrypted ramdisk test:
size: 500 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizeencoding speeddecoding speed
512 272.855 913.500
1k 398.177 1026.858
2k 477.582 1088.748
4k 680.871 1122.122
8k 761.948 1144.054
16k 775.580 1138.355
1M 797.499 1138.249


encrypted ramdisk test (direct i/o for read and write):
size: 8192 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 31.988 34.808 25.573 27.344
1k 66.340 69.370 47.381 52.917
2k 131.457 137.257 80.702 98.381
4k 253.627 268.581 132.896 178.275
8k 466.950 492.986 193.475 290.455
16k 820.162 938.741 246.571 429.992
1M 3941.171 6124.264 371.229 812.424

Intel(R) Pentium(R) M processor 1400MHz

Notebook IBM ThinkPad X31 (fall 2004?)

CPU : family 6, model 9 and stepping 5
model name : Intel(R) Pentium(R) M processor 1400MHz
cpu MHz : 600.000 or 1400
cache size : 1024 KB
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 tm pbe up bts est tm2
bogomips : 1198.97

ThnikPad X31

Intel-Pentium-M-Processor-1_40-GHz-1M-Cache-400-MHz-FSB

Chipset : Intel Corporation 82855PM
Memory : 1 GB + 512 MB (DDR)
Memory benchmark (hdparm) : 269.10 MB/sec
HD benchmark (hdparm udma5) :
(RunCore 128G-C SSD ide)
72.40 MB/sec

SW: Ubuntu 12.04 LTS
# openssl version 
OpenSSL 1.0.1 14 Mar 2012 

# openssl engine 
(dynamic) Dynamic engine loading support 

The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 131978.56k 196359.85k 210219.07k214243.41k216174.06k
blowfish cbc 47834.85k 50848.20k 51761.46k52138.96k52034.47k
aes-128 cbc 33778.34k 37505.80k 38338.34k65198.95k66610.68k

ssh benchmark - to localhost. Here ssh and sshd share the same core.
dd if=/dev/zero of=bigfile count=0 seek=200k (100M file)

scp bigfile localhost:/dev/null ; 
for i in aes128-cbc blowfish ; do scp -c $i bigfile localhost:/dev/null ; done
results:
default : 10.0MB/s
aes128-cbc : 14.3MB/s
blowfish : 9.1MB/s

středa 13. listopadu 2013

Intel(R) Atom(TM) CPU D2700 @ 2.13GHz

2 cores 4 threads
cpu family : 6
model : 54
model name : Intel(R) Celeron(TM) CPU 1300MHz
stepping : 1
cpu MHz : 2127.782
cache size : 512 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips : 4255.56
Intel-Atom-Processor-D2700-1M-Cache-2_13-GHz

Motherboard : Intel D2700MUD
Memory : 4G (DDR3-1066)
Memory benchmark (hdparm) : 983.17 MB/sec
HD benchmark (hdparm udma5) :
(Seagate Barracuda 7200.10)
72.92 MB/sec

-> openssl-1.0.1e-2.8.1.i586 

-> openssl engine
(dynamic)
Dynamic engine loading support

The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 123311.72k 155181.18k 165030.74k 169148.36k 169607.17k
blowfish cbc 67544.75k 73369.81k 74407.94k 74884.78k 75025.07k
aes-128 cbc 18689.19k 19790.61k 20217.77k 20388.22k 20357.12k


Create big empty file (50Mb file)
dd if=/dev/zero of=bigfile count=0 seek=100k

ssh benchmark - to localhost. Here ssh and sshd share the same core.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c $i bigfile localhost:/dev/null ; done


default : 12.5MB/s
aes128-cbc : 17.2MB/s
blowfish : 38.5MB/s
scp outside, 500M file (1000mbit eth0)
aes128-cbc : 22.7MB/s
blowfish : 38.5MB/s
scp from outside, 250M file (1000mbit eth0)
aes128-cbc : 19.2MB/s
blowfish : 35.7MB/s


a really strange figure here:
encrypted ramdisk test:
size: 100 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizeencrypting speeddecrypting speed
512 29.568 24.716
1k 33.691 25.472
2k 37.836 25.139
4k 93.480 26.245
8k 109.374 23.976
16k 108.290 23.828
1M 117.300 31.045


encrypted ramdisk test, direct i/o:
size: 2048 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 16.672 20.149 7.830 8.491
1k 35.822 38.687 11.703 12.573
2k 70.918 78.992 15.544 16.542
4k 135.669 149.581 18.759 19.656
8k 227.302 265.264 20.574 21.574
16k 346.263 431.303 21.538 22.663
1M 541.263 832.165 23.036 23.453

Intel(R) Celeron(TM) CPU (Tualatin core) 1300MHz

1 core / 1 thread (around year 2000, running non-stop since ~ 04/2004)
cpu family : 6
model : 11
model name : Intel(R) Celeron(TM) CPU 1300MHz
stepping : 4
cpu MHz : 1309.498
cache size : 256 KB
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 mmx fxsr sse up
bogomips : 2618.99
clflush size :32

Intel-Celeron-Processor-1_30-GHz-256K-Cache-100-MHz-FSB
  • 32 KB L1 cache
  • 256 KB Advanced Transfer L2 cache
  • 100 MHz system bus clock rate
  • Socket 370
  • Family 6 model 11


MSI 694T-Pro

Motherboard: MSI 694T-Pro (MS-6309 according to bios)
Chipset: "VIA VT82C693A/694x [Apollo PRO133x]"

Memory : 767MB SDRAM
Memory benchmark (hdparm) : 165.91 MB/sec
HD benchmark (hdparm udma5) :
(IBM Deskstar 60GXP 40Gb)
35.76 MB/sec
HD benchmark (hdparm udma5) :
(Seagate Barracuda 7200.10)
57.28 MB/sec


openssl-0.9.8k-3.7.1.i586
openssl speed aes-128-cbc rc4 blowfish

The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
rc4 141894.54k 167755.50k 186081.90k 190161.07k189703.71k
blowfish cbc 43000.64k 45600.45k 46703.74k 46803.29k46866.43k
aes-128 cbc 36592.98k 49133.81k 53264.20k 54741.19k54992.90k

openSSH test:

Create big empty file (50Mb file)
dd if=/dev/zero of=bigfile count=0 seek=100k

ssh benchmark - to localhost. Here ssh and sshd share the same core.
scp bigfile localhost:/dev/null 
for i in aes128-cbc blowfish ; do scp -c $i bigfile localhost:/dev/null ; done


default : 7.1MB/s
aes128-cbc : 7.1MB/s
blowfish : 8.3MB/s
scp outside (100mbit eth0)
default : 10.0MB/s

encrypted ramdisk test:

blocksizewrite speedread speedencrypt speeddecrypt speed
512 48.752 80.31537.797 22.751
1k 68.133 95.378 44.034 23.883
2k 80.849 101.81348.692 24.399
4k 87.150 108.38356.020 24.356
8k 90.876 109.77755.961 24.642
16k 93.908 104.21857.692 24.337
1M 71.175 79.55746.268 22.886
size: 100 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b


encrypted ramdisk test, direct i/o:
size: 512 megabytes, cipher: aes-cbc-essiv:sha256, key: 256b
blocksizewrite speedread speedenc speeddec speed
512 19.509 20.750 8.965 8.335
1k 35.497 40.224 13.745 13.339
2k 58.883 75.738 18.748 18.679
4k 86.070 135.186 22.778 24.090
8k 109.682 209.433 25.437 27.481
16k 127.376 287.921 26.498 29.327
1M 108.512 160.485 22.972 25.615