Zobrazují se příspěvky se štítkemAES_NI. Zobrazit všechny příspěvky
Zobrazují se příspěvky se štítkemAES_NI. Zobrazit všechny příspěvky

č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

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

pátek 15. listopadu 2013

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