Skip to content

Instantly share code, notes, and snippets.

@gslin
Last active February 13, 2019 06:12
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gslin/47e2bca03af069dfd215cc6160bd08fb to your computer and use it in GitHub Desktop.
Linode (Dedicated 4GB) v.s. AWS (c5.large)
(Remove tee part)
root@localhost:~# (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2>&1
-------------------------------------------------
nench.sh v2018.04.14 -- https://git.io/nench.sh
benchmark timestamp: 2019-02-12 19:10:00 UTC
-------------------------------------------------
Processor: AMD EPYC 7501 32-Core Processor
CPU cores: 2
Frequency: 1999.993 MHz
RAM: 3.9G
Swap: 511M
Kernel: Linux 4.15.0-45-generic x86_64
Disks:
sda 24.5G HDD
sdb 512M HDD
CPU: SHA256-hashing 500 MB
3.195 seconds
CPU: bzip2-compressing 500 MB
6.825 seconds
CPU: AES-encrypting 500 MB
1.241 seconds
ioping: seek rate
min/avg/max/mdev = 66.7 us / 99.4 us / 1.55 ms / 46.1 us
ioping: sequential read speed
generated 18.4 k requests in 5.00 s, 4.50 GiB, 3.68 k iops, 920.9 MiB/s
dd: sequential write speed
1st run: 1144.41 MiB/s
2nd run: 1239.78 MiB/s
3rd run: 1239.78 MiB/s
average: 1207.99 MiB/s
IPv4 speedtests
your IPv4: 45.33.60.xxxx
Cachefly CDN: 86.81 MiB/s
Leaseweb (NL): 8.47 MiB/s
Softlayer DAL (US): 22.02 MiB/s
Online.net (FR): 9.15 MiB/s
OVH BHS (CA): 9.71 MiB/s
IPv6 speedtests
your IPv6: 2600:3c01::xxxx
Leaseweb (NL): 6.78 MiB/s
Softlayer DAL (US): 0.00 MiB/s
Online.net (FR): 12.15 MiB/s
OVH BHS (CA): 21.40 MiB/s
-------------------------------------------------
ubuntu@ip-172-30-0-75:~$ (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2>&1
-------------------------------------------------
nench.sh v2018.04.14 -- https://git.io/nench.sh
benchmark timestamp: 2019-02-12 19:10:05 UTC
-------------------------------------------------
Processor: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
CPU cores: 2
Frequency: 3410.147 MHz
RAM: 3.6G
Swap: -
Kernel: Linux 4.15.0-1032-aws x86_64
Disks:
loop0 87.9M HDD
loop1 12.7M HDD
nvme0n1 25G SSD
CPU: SHA256-hashing 500 MB
2.557 seconds
CPU: bzip2-compressing 500 MB
4.478 seconds
CPU: AES-encrypting 500 MB
0.917 seconds
ioping: seek rate
min/avg/max/mdev = 155.6 us / 277.0 us / 485.3 us / 70.9 us
ioping: sequential read speed
generated 3.07 k requests in 5.00 s, 767.8 MiB, 614 iops, 153.5 MiB/s
dd: sequential write speed
1st run: 127.79 MiB/s
2nd run: 129.70 MiB/s
3rd run: 129.70 MiB/s
average: 129.06 MiB/s
IPv4 speedtests
your IPv4: 54.147.119.xxxx
Cachefly CDN: 87.80 MiB/s
Leaseweb (NL): 14.22 MiB/s
Softlayer DAL (US): 40.59 MiB/s
Online.net (FR): 14.13 MiB/s
OVH BHS (CA): 76.39 MiB/s
No IPv6 connectivity detected
-------------------------------------------------
root@localhost:~# openssl speed aes
Doing aes-128 cbc for 3s on 16 size blocks: 20311395 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 64 size blocks: 5410247 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 1410787 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 1024 size blocks: 708656 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 8192 size blocks: 89853 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 16384 size blocks: 44944 aes-128 cbc's in 3.00s
Doing aes-192 cbc for 3s on 16 size blocks: 17215250 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 64 size blocks: 4467344 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 256 size blocks: 1159076 aes-192 cbc's in 2.99s
Doing aes-192 cbc for 3s on 1024 size blocks: 599952 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 8192 size blocks: 75748 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 16384 size blocks: 37836 aes-192 cbc's in 3.00s
Doing aes-256 cbc for 3s on 16 size blocks: 14883134 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 64 size blocks: 3880841 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 256 size blocks: 1000677 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 1024 size blocks: 520684 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 8192 size blocks: 65503 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 16384 size blocks: 32746 aes-256 cbc's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128 cbc 108327.44k 115418.60k 120387.16k 241887.91k 245358.59k 245454.17k
aes-192 cbc 91814.67k 95303.34k 99238.61k 204783.62k 206842.54k 206635.01k
aes-256 cbc 79376.71k 82791.27k 85391.10k 177726.81k 178866.86k 178836.82k
ubuntu@ip-172-30-0-75:~$ openssl speed aes
Doing aes-128 cbc for 3s on 16 size blocks: 25732013 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 64 size blocks: 7089681 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 1815377 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 1024 size blocks: 458224 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 8192 size blocks: 57456 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 16384 size blocks: 28725 aes-128 cbc's in 3.00s
Doing aes-192 cbc for 3s on 16 size blocks: 21737889 aes-192 cbc's in 2.99s
Doing aes-192 cbc for 3s on 64 size blocks: 5928991 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 256 size blocks: 1511546 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 1024 size blocks: 380647 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 8192 size blocks: 47707 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 16384 size blocks: 23848 aes-192 cbc's in 3.00s
Doing aes-256 cbc for 3s on 16 size blocks: 18957564 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 64 size blocks: 5091624 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 256 size blocks: 1294633 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 1024 size blocks: 325472 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 8192 size blocks: 40794 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 16384 size blocks: 20393 aes-256 cbc's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128 cbc 137237.40k 151246.53k 154912.17k 156407.13k 156893.18k 156876.80k
aes-192 cbc 116323.15k 126485.14k 128985.26k 129927.51k 130271.91k 130241.88k
aes-256 cbc 101107.01k 108621.31k 110475.35k 111094.44k 111394.82k 111372.97k
root@localhost:~# openssl speed md5
Doing md5 for 3s on 16 size blocks: 17317138 md5's in 3.00s
Doing md5 for 3s on 64 size blocks: 10007208 md5's in 3.00s
Doing md5 for 3s on 256 size blocks: 4447424 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 1371708 md5's in 3.00s
Doing md5 for 3s on 8192 size blocks: 183644 md5's in 3.00s
Doing md5 for 3s on 16384 size blocks: 92446 md5's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
md5 92358.07k 213487.10k 379513.51k 468209.66k 501470.55k 504878.42k
ubuntu@ip-172-30-0-75:~$ w
19:03:30 up 2 min, 1 user, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
ubuntu pts/0 122.116.104.21 19:02 0.00s 0.04s 0.00s w
ubuntu@ip-172-30-0-75:~$ sudo apt clean
ubuntu@ip-172-30-0-75:~$ openssl speed md5
Doing md5 for 3s on 16 size blocks: 24444884 md5's in 3.00s
Doing md5 for 3s on 64 size blocks: 13836071 md5's in 3.00s
Doing md5 for 3s on 256 size blocks: 6023814 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 1847911 md5's in 3.00s
Doing md5 for 3s on 8192 size blocks: 247390 md5's in 3.00s
Doing md5 for 3s on 16384 size blocks: 124328 md5's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
md5 130372.71k 295169.51k 514032.13k 630753.62k 675539.63k 678996.65k
root@localhost:~# openssl speed rsa
Doing 512 bit private rsa's for 10s: 150740 512 bit private RSA's in 10.00s
Doing 512 bit public rsa's for 10s: 2436379 512 bit public RSA's in 10.00s
Doing 1024 bit private rsa's for 10s: 57792 1024 bit private RSA's in 10.00s
Doing 1024 bit public rsa's for 10s: 977332 1024 bit public RSA's in 10.00s
Doing 2048 bit private rsa's for 10s: 9009 2048 bit private RSA's in 10.00s
Doing 2048 bit public rsa's for 10s: 304802 2048 bit public RSA's in 10.00s
Doing 3072 bit private rsa's for 10s: 2919 3072 bit private RSA's in 10.00s
Doing 3072 bit public rsa's for 10s: 144539 3072 bit public RSA's in 10.00s
Doing 4096 bit private rsa's for 10s: 1281 4096 bit private RSA's in 10.00s
Doing 4096 bit public rsa's for 10s: 82532 4096 bit public RSA's in 10.00s
Doing 7680 bit private rsa's for 10s: 143 7680 bit private RSA's in 10.06s
Doing 7680 bit public rsa's for 10s: 24579 7680 bit public RSA's in 10.00s
Doing 15360 bit private rsa's for 10s: 27 15360 bit private RSA's in 10.11s
Doing 15360 bit public rsa's for 10s: 6268 15360 bit public RSA's in 10.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
sign verify sign/s verify/s
rsa 512 bits 0.000066s 0.000004s 15074.0 243637.9
rsa 1024 bits 0.000173s 0.000010s 5779.2 97733.2
rsa 2048 bits 0.001110s 0.000033s 900.9 30480.2
rsa 3072 bits 0.003426s 0.000069s 291.9 14453.9
rsa 4096 bits 0.007806s 0.000121s 128.1 8253.2
rsa 7680 bits 0.070350s 0.000407s 14.2 2457.9
rsa 15360 bits 0.374444s 0.001595s 2.7 626.8
ubuntu@ip-172-30-0-75:~$ openssl speed rsa
Doing 512 bit private rsa's for 10s: 222971 512 bit private RSA's in 9.99s
Doing 512 bit public rsa's for 10s: 4103818 512 bit public RSA's in 10.00s
Doing 1024 bit private rsa's for 10s: 105131 1024 bit private RSA's in 9.99s
Doing 1024 bit public rsa's for 10s: 1765915 1024 bit public RSA's in 10.00s
Doing 2048 bit private rsa's for 10s: 16376 2048 bit private RSA's in 10.00s
Doing 2048 bit public rsa's for 10s: 572093 2048 bit public RSA's in 10.01s
Doing 3072 bit private rsa's for 10s: 5472 3072 bit private RSA's in 10.00s
Doing 3072 bit public rsa's for 10s: 275743 3072 bit public RSA's in 10.00s
Doing 4096 bit private rsa's for 10s: 2454 4096 bit private RSA's in 10.00s
Doing 4096 bit public rsa's for 10s: 161379 4096 bit public RSA's in 10.00s
Doing 7680 bit private rsa's for 10s: 268 7680 bit private RSA's in 10.03s
Doing 7680 bit public rsa's for 10s: 47904 7680 bit public RSA's in 10.00s
Doing 15360 bit private rsa's for 10s: 51 15360 bit private RSA's in 10.13s
Doing 15360 bit public rsa's for 10s: 12393 15360 bit public RSA's in 10.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
sign verify sign/s verify/s
rsa 512 bits 0.000045s 0.000002s 22319.4 410381.8
rsa 1024 bits 0.000095s 0.000006s 10523.6 176591.5
rsa 2048 bits 0.000611s 0.000017s 1637.6 57152.1
rsa 3072 bits 0.001827s 0.000036s 547.2 27574.3
rsa 4096 bits 0.004075s 0.000062s 245.4 16137.9
rsa 7680 bits 0.037425s 0.000209s 26.7 4790.4
rsa 15360 bits 0.198627s 0.000807s 5.0 1239.3
root@localhost:~# openssl speed sha1
Doing sha1 for 3s on 16 size blocks: 31364256 sha1's in 3.00s
Doing sha1 for 3s on 64 size blocks: 20928167 sha1's in 3.00s
Doing sha1 for 3s on 256 size blocks: 10456588 sha1's in 3.00s
Doing sha1 for 3s on 1024 size blocks: 3486904 sha1's in 3.00s
Doing sha1 for 3s on 8192 size blocks: 482560 sha1's in 3.00s
Doing sha1 for 3s on 16384 size blocks: 242391 sha1's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
sha1 167276.03k 446467.56k 892295.51k 1190196.57k 1317710.51k 1323778.05k
ubuntu@ip-172-30-0-75:~$ openssl speed sha1
Doing sha1 for 3s on 16 size blocks: 25944526 sha1's in 3.00s
Doing sha1 for 3s on 64 size blocks: 15487312 sha1's in 2.99s
Doing sha1 for 3s on 256 size blocks: 7680760 sha1's in 3.00s
Doing sha1 for 3s on 1024 size blocks: 2544054 sha1's in 3.00s
Doing sha1 for 3s on 8192 size blocks: 351107 sha1's in 3.00s
Doing sha1 for 3s on 16384 size blocks: 177062 sha1's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
sha1 138370.81k 331500.99k 655424.85k 868370.43k 958756.18k 966994.60k
root@localhost:~# openssl speed sha256
Doing sha256 for 3s on 16 size blocks: 29795773 sha256's in 3.00s
Doing sha256 for 3s on 64 size blocks: 19138521 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 9722759 sha256's in 3.00s
Doing sha256 for 3s on 1024 size blocks: 3266049 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 452377 sha256's in 3.00s
Doing sha256 for 3s on 16384 size blocks: 227276 sha256's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
sha256 158910.79k 408288.45k 829675.43k 1114811.39k 1235290.79k 1241229.99k
ubuntu@ip-172-30-0-75:~$ openssl speed sha256
Doing sha256 for 3s on 16 size blocks: 15444173 sha256's in 3.00s
Doing sha256 for 3s on 64 size blocks: 8519471 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 3876337 sha256's in 3.00s
Doing sha256 for 3s on 1024 size blocks: 1203735 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 161972 sha256's in 3.00s
Doing sha256 for 3s on 16384 size blocks: 81439 sha256's in 3.00s
OpenSSL 1.1.0g 2 Nov 2017
built on: reproducible build, date unspecified
options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/x86_64-linux-gnu/engines-1.1\""
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
sha256 82368.92k 181748.71k 330780.76k 410874.88k 442291.54k 444765.53k
root@localhost:~# uname -a
Linux localhost 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-172-30-0-75:~$ uname -a
Linux ip-172-30-0-75 4.15.0-1032-aws #34-Ubuntu SMP Thu Jan 17 15:18:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment