Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LibreSSL 2.0 vs Openssl 1.0.1 speed test on HP N36L Microserver Ubuntu 12.04
- cat /etc/lsb-release
- DISTRIB_ID=Ubuntu
- DISTRIB_RELEASE=12.04
- DISTRIB_CODENAME=precise
- DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
- cat /proc/cpuinfo
- processor : 0
- vendor_id : AuthenticAMD
- cpu family : 16
- model : 6
- model name : AMD Athlon(tm) II Neo N36L Dual-Core Processor
- stepping : 3
- microcode : 0x10000c8
- cpu MHz : 800.000
- cache size : 1024 KB
- physical id : 0
- siblings : 2
- core id : 0
- cpu cores : 2
- apicid : 0
- initial apicid : 0
- fpu : yes
- fpu_exception : yes
- cpuid level : 5
- wp : yes
- flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate npt lbrv svm_lock nrip_save
- bogomips : 2595.67
- TLB size : 1024 4K pages
- clflush size : 64
- cache_alignment : 64
- address sizes : 48 bits physical, 48 bits virtual
- power management: ts ttp tm stc 100mhzsteps hwpstate
- ./openssl version
- LibreSSL 2.0
- buddy@NAS:/home/buddy/libressl/libressl-2.0.0/apps# ./openssl speed aes
- Doing aes-128 cbc for 3s on 16 size blocks: 11033617 aes-128 cbc's in 2.99s
- Doing aes-128 cbc for 3s on 64 size blocks: 2894678 aes-128 cbc's in 3.00s
- Doing aes-128 cbc for 3s on 256 size blocks: 743371 aes-128 cbc's in 3.00s
- Doing aes-128 cbc for 3s on 1024 size blocks: 186681 aes-128 cbc's in 3.00s
- Doing aes-128 cbc for 3s on 8192 size blocks: 23419 aes-128 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 16 size blocks: 9578321 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 64 size blocks: 2515173 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 256 size blocks: 640776 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 1024 size blocks: 160839 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 8192 size blocks: 20175 aes-192 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 16 size blocks: 8472158 aes-256 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 64 size blocks: 2229258 aes-256 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 256 size blocks: 567692 aes-256 cbc's in 2.99s
- Doing aes-256 cbc for 3s on 1024 size blocks: 142412 aes-256 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 8192 size blocks: 17853 aes-256 cbc's in 3.00s
- LibreSSL 2.0
- built on: date not available
- options:bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx)
- compiler: information not available
- The 'numbers' are in 1000s of bytes per second processed.
- type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
- aes-128 cbc 59042.77k 61753.13k 63434.33k 63720.45k 63949.48k
- aes-192 cbc 51084.38k 53657.02k 54679.55k 54899.71k 55091.20k
- aes-256 cbc 45184.84k 47557.50k 48605.07k 48609.96k 48750.59k
- buddy@NAS:~$ openssl version
- OpenSSL 1.0.1 14 Mar 2012
- buddy@NAS:~$
- buddy@NAS:~$
- buddy@NAS:~$ openssl speed aes
- Doing aes-128 cbc for 3s on 16 size blocks: 7134158 aes-128 cbc's in 2.99s
- Doing aes-128 cbc for 3s on 64 size blocks: 1905413 aes-128 cbc's in 3.00s
- Doing aes-128 cbc for 3s on 256 size blocks: 487433 aes-128 cbc's in 3.00s
- Doing aes-128 cbc for 3s on 1024 size blocks: 309937 aes-128 cbc's in 3.00s
- Doing aes-128 cbc for 3s on 8192 size blocks: 39334 aes-128 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 16 size blocks: 6038391 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 64 size blocks: 1591064 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 256 size blocks: 405468 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 1024 size blocks: 263120 aes-192 cbc's in 3.00s
- Doing aes-192 cbc for 3s on 8192 size blocks: 33315 aes-192 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 16 size blocks: 5110171 aes-256 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 64 size blocks: 1336777 aes-256 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 256 size blocks: 339699 aes-256 cbc's in 3.00s
- Doing aes-256 cbc for 3s on 1024 size blocks: 219989 aes-256 cbc's in 2.99s
- Doing aes-256 cbc for 3s on 8192 size blocks: 27656 aes-256 cbc's in 3.00s
- OpenSSL 1.0.1 14 Mar 2012
- built on: Fri Jun 20 18:54:15 UTC 2014
- options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx)
- compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -D-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOUWl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_50 -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_AS256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
- The 'numbers' are in 1000s of bytes per second processed.
- type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
- aes-128 cbc 38176.10k 40648.81k 41594.28k 105791.83k 107408.04k
- aes-192 cbc 32204.75k 33942.70k 34599.94k 89811.63k 90972.16k
- aes-256 cbc 27254.25k 28517.91k 28987.65k 75340.71k 75519.32k
- LibreSSL
- type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
- aes-128 cbc 58184.37 61925.18 63499.09 63725.57 63944.02
- aes-192 cbc 51250.16 53731.37 54752.85 54868.31 55063.89
- aes-256 cbc 45282.26 47606.44 48456.28 48576.51 48715.09
- OpenSSL
- type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
- Aes-128 cbc 38178.72 40648.62 41595.22 106445.82 107492.69
- Aes-192 cbc 32204.82 33942.49 34599.94 90280.62 91029.5
- Aes-256 cbc 27254.13 28522.05 28991.74 75340.37 75519.32
- LibreSSL Speed as % of OpenSSL
- Aes-128 cbc 152.40 152.34 152.66 59.87 59.49
- Aes-192 cbc 159.14 158.30 158.25 60.78 60.49
- Aes-256 cbc 166.15 166.91 167.14 64.48 64.51
- Results -
- LibreSSL about 50~60% faster for 256 size blocks or smaller
- OpenSSL about 50~60% faster for 1024 size blocks or larger
- Notes: To compile on Ubuntu need to use ./configure LDFLAGS=-lrt
- There are posts about the same requirement on RH also.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement