Created
April 28, 2023 15:30
-
-
Save orimanabu/0afed3b956aec2f2c030dc92273bd09f to your computer and use it in GitHub Desktop.
OpenSSL speed benchmark on MacBook Air M2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ori@fedora linux-6.3]$ cat /sys/firmware/devicetree/base/model | awk '1' | |
Apple MacBook Air (13-inch, M2, 2022) | |
[ori@fedora linux-6.3]$ uname -a | |
Linux fedora 6.2.11-450.asahi.fc38.aarch64 #1 SMP PREEMPT_DYNAMIC Mon Apr 17 00:28:53 UTC 2023 aarch64 GNU/Linux | |
[ori@fedora linux-6.3]$ time openssl speed 2>&1 | tee log.openssl | |
Doing md5 for 3s on 16 size blocks: 16773642 md5's in 3.00s | |
Doing md5 for 3s on 64 size blocks: 10167926 md5's in 3.00s | |
Doing md5 for 3s on 256 size blocks: 4570146 md5's in 3.00s | |
Doing md5 for 3s on 1024 size blocks: 1427362 md5's in 3.00s | |
Doing md5 for 3s on 8192 size blocks: 192390 md5's in 3.00s | |
Doing md5 for 3s on 16384 size blocks: 96736 md5's in 2.99s | |
Doing sha1 for 3s on 16 size blocks: 29430976 sha1's in 3.00s | |
Doing sha1 for 3s on 64 size blocks: 24355081 sha1's in 3.00s | |
Doing sha1 for 3s on 256 size blocks: 15637994 sha1's in 3.00s | |
Doing sha1 for 3s on 1024 size blocks: 5950193 sha1's in 3.00s | |
Doing sha1 for 3s on 8192 size blocks: 870853 sha1's in 3.00s | |
Doing sha1 for 3s on 16384 size blocks: 440950 sha1's in 3.00s | |
Doing sha256 for 3s on 16 size blocks: 31702670 sha256's in 3.00s | |
Doing sha256 for 3s on 64 size blocks: 25949220 sha256's in 3.00s | |
Doing sha256 for 3s on 256 size blocks: 15548523 sha256's in 3.00s | |
Doing sha256 for 3s on 1024 size blocks: 5956162 sha256's in 3.00s | |
Doing sha256 for 3s on 8192 size blocks: 880875 sha256's in 3.00s | |
Doing sha256 for 3s on 16384 size blocks: 446242 sha256's in 3.00s | |
Doing sha512 for 3s on 16 size blocks: 19238348 sha512's in 2.99s | |
Doing sha512 for 3s on 64 size blocks: 19222260 sha512's in 3.00s | |
Doing sha512 for 3s on 256 size blocks: 9131293 sha512's in 3.00s | |
Doing sha512 for 3s on 1024 size blocks: 3490479 sha512's in 3.00s | |
Doing sha512 for 3s on 8192 size blocks: 516108 sha512's in 3.00s | |
Doing sha512 for 3s on 16384 size blocks: 261501 sha512's in 3.00s | |
Doing rmd160 for 3s on 16 size blocks: 13202388 rmd160's in 3.00s | |
Doing rmd160 for 3s on 64 size blocks: 7879017 rmd160's in 3.00s | |
Doing rmd160 for 3s on 256 size blocks: 3544697 rmd160's in 3.00s | |
Doing rmd160 for 3s on 1024 size blocks: 1106745 rmd160's in 3.00s | |
Doing rmd160 for 3s on 8192 size blocks: 149171 rmd160's in 3.00s | |
Doing rmd160 for 3s on 16384 size blocks: 75014 rmd160's in 3.00s | |
Doing hmac(md5) for 3s on 16 size blocks: 9762538 hmac(md5)'s in 3.00s | |
Doing hmac(md5) for 3s on 64 size blocks: 7224329 hmac(md5)'s in 3.00s | |
Doing hmac(md5) for 3s on 256 size blocks: 3862866 hmac(md5)'s in 2.99s | |
Doing hmac(md5) for 3s on 1024 size blocks: 1349921 hmac(md5)'s in 3.00s | |
Doing hmac(md5) for 3s on 8192 size blocks: 190953 hmac(md5)'s in 3.00s | |
Doing hmac(md5) for 3s on 16384 size blocks: 96365 hmac(md5)'s in 3.00s | |
Doing des-ede3 for 3s on 16 size blocks: 6231944 des-ede3's in 3.00s | |
Doing des-ede3 for 3s on 64 size blocks: 1584114 des-ede3's in 3.00s | |
Doing des-ede3 for 3s on 256 size blocks: 397664 des-ede3's in 3.00s | |
Doing des-ede3 for 3s on 1024 size blocks: 99512 des-ede3's in 3.00s | |
Doing des-ede3 for 3s on 8192 size blocks: 12443 des-ede3's in 3.00s | |
Doing des-ede3 for 3s on 16384 size blocks: 6222 des-ede3's in 3.00s | |
Doing aes-128-cbc for 3s on 16 size blocks: 125910041 aes-128-cbc's in 3.00s | |
Doing aes-128-cbc for 3s on 64 size blocks: 71608427 aes-128-cbc's in 3.00s | |
Doing aes-128-cbc for 3s on 256 size blocks: 19410176 aes-128-cbc's in 3.00s | |
Doing aes-128-cbc for 3s on 1024 size blocks: 4968683 aes-128-cbc's in 3.00s | |
Doing aes-128-cbc for 3s on 8192 size blocks: 623427 aes-128-cbc's in 2.99s | |
Doing aes-128-cbc for 3s on 16384 size blocks: 311529 aes-128-cbc's in 3.00s | |
Doing aes-192-cbc for 3s on 16 size blocks: 183381576 aes-192-cbc's in 3.00s | |
Doing aes-192-cbc for 3s on 64 size blocks: 60470646 aes-192-cbc's in 3.00s | |
Doing aes-192-cbc for 3s on 256 size blocks: 16083506 aes-192-cbc's in 3.00s | |
Doing aes-192-cbc for 3s on 1024 size blocks: 4096692 aes-192-cbc's in 3.00s | |
Doing aes-192-cbc for 3s on 8192 size blocks: 515242 aes-192-cbc's in 3.00s | |
Doing aes-192-cbc for 3s on 16384 size blocks: 257383 aes-192-cbc's in 3.00s | |
Doing aes-256-cbc for 3s on 16 size blocks: 169360753 aes-256-cbc's in 3.00s | |
Doing aes-256-cbc for 3s on 64 size blocks: 52169913 aes-256-cbc's in 3.00s | |
Doing aes-256-cbc for 3s on 256 size blocks: 13794149 aes-256-cbc's in 3.00s | |
Doing aes-256-cbc for 3s on 1024 size blocks: 3490943 aes-256-cbc's in 3.00s | |
Doing aes-256-cbc for 3s on 8192 size blocks: 439483 aes-256-cbc's in 3.00s | |
Doing aes-256-cbc for 3s on 16384 size blocks: 220038 aes-256-cbc's in 2.99s | |
Doing camellia-128-cbc for 3s on 16 size blocks: 28598207 camellia-128-cbc's in 3.00s | |
Doing camellia-128-cbc for 3s on 64 size blocks: 7276572 camellia-128-cbc's in 3.00s | |
Doing camellia-128-cbc for 3s on 256 size blocks: 1824049 camellia-128-cbc's in 3.00s | |
Doing camellia-128-cbc for 3s on 1024 size blocks: 456491 camellia-128-cbc's in 3.00s | |
Doing camellia-128-cbc for 3s on 8192 size blocks: 57077 camellia-128-cbc's in 3.00s | |
Doing camellia-128-cbc for 3s on 16384 size blocks: 28540 camellia-128-cbc's in 3.00s | |
Doing camellia-192-cbc for 3s on 16 size blocks: 22349421 camellia-192-cbc's in 3.00s | |
Doing camellia-192-cbc for 3s on 64 size blocks: 5651359 camellia-192-cbc's in 3.00s | |
Doing camellia-192-cbc for 3s on 256 size blocks: 1421035 camellia-192-cbc's in 3.00s | |
Doing camellia-192-cbc for 3s on 1024 size blocks: 355446 camellia-192-cbc's in 3.00s | |
Doing camellia-192-cbc for 3s on 8192 size blocks: 44455 camellia-192-cbc's in 3.00s | |
Doing camellia-192-cbc for 3s on 16384 size blocks: 22229 camellia-192-cbc's in 3.00s | |
Doing camellia-256-cbc for 3s on 16 size blocks: 22118165 camellia-256-cbc's in 3.00s | |
Doing camellia-256-cbc for 3s on 64 size blocks: 5651355 camellia-256-cbc's in 2.99s | |
Doing camellia-256-cbc for 3s on 256 size blocks: 1421053 camellia-256-cbc's in 3.00s | |
Doing camellia-256-cbc for 3s on 1024 size blocks: 355434 camellia-256-cbc's in 3.00s | |
Doing camellia-256-cbc for 3s on 8192 size blocks: 44453 camellia-256-cbc's in 3.00s | |
Doing camellia-256-cbc for 3s on 16384 size blocks: 22229 camellia-256-cbc's in 3.00s | |
Doing ghash for 3s on 16 size blocks: 228868891 ghash's in 3.00s | |
Doing ghash for 3s on 64 size blocks: 208898980 ghash's in 3.00s | |
Doing ghash for 3s on 256 size blocks: 78276307 ghash's in 3.00s | |
Doing ghash for 3s on 1024 size blocks: 20931142 ghash's in 3.00s | |
Doing ghash for 3s on 8192 size blocks: 2683119 ghash's in 3.00s | |
Doing ghash for 3s on 16384 size blocks: 1343847 ghash's in 3.00s | |
Doing rand for 3s on 16 size blocks: 5890547 rand's in 2.36s | |
Doing rand for 3s on 64 size blocks: 5857805 rand's in 2.46s | |
Doing rand for 3s on 256 size blocks: 5631699 rand's in 2.46s | |
Doing rand for 3s on 1024 size blocks: 4883749 rand's in 2.65s | |
Doing rand for 3s on 8192 size blocks: 2119864 rand's in 2.75s | |
Doing rand for 3s on 16384 size blocks: 1286080 rand's in 2.91s | |
Doing 512 bits private rsa's for 10s: 539925 512 bits private RSA's in 10.00s | |
Doing 512 bits public rsa's for 10s: 6806219 512 bits public RSA's in 10.00s | |
Doing 1024 bits private rsa's for 10s: 110650 1024 bits private RSA's in 10.00s | |
Doing 1024 bits public rsa's for 10s: 2486457 1024 bits public RSA's in 9.99s | |
Doing 2048 bits private rsa's for 10s: 17938 2048 bits private RSA's in 10.00s | |
Doing 2048 bits public rsa's for 10s: 728211 2048 bits public RSA's in 10.00s | |
Doing 3072 bits private rsa's for 10s: 6166 3072 bits private RSA's in 10.00s | |
Doing 3072 bits public rsa's for 10s: 337480 3072 bits public RSA's in 10.00s | |
Doing 4096 bits private rsa's for 10s: 2801 4096 bits private RSA's in 10.00s | |
Doing 4096 bits public rsa's for 10s: 194951 4096 bits public RSA's in 10.00s | |
Doing 7680 bits private rsa's for 10s: 341 7680 bits private RSA's in 10.01s | |
Doing 7680 bits public rsa's for 10s: 56369 7680 bits public RSA's in 10.00s | |
Doing 15360 bits private rsa's for 10s: 64 15360 bits private RSA's in 10.12s | |
Doing 15360 bits public rsa's for 10s: 14281 15360 bits public RSA's in 10.00s | |
Doing 512 bits sign dsa's for 10s: 284158 512 bits DSA signs in 9.96s | |
Doing 512 bits verify dsa's for 10s: 506239 512 bits DSA verify in 10.00s | |
Doing 1024 bits sign dsa's for 10s: 147592 1024 bits DSA signs in 9.97s | |
Doing 1024 bits verify dsa's for 10s: 194830 1024 bits DSA verify in 9.99s | |
Doing 2048 bits sign dsa's for 10s: 52042 2048 bits DSA signs in 10.00s | |
Doing 2048 bits verify dsa's for 10s: 57161 2048 bits DSA verify in 10.00s | |
Doing 224 bits sign ecdsa's for 10s: 354470 224 bits ECDSA signs in 9.96s | |
Doing 224 bits verify ecdsa's for 10s: 158299 224 bits ECDSA verify in 10.00s | |
Doing 256 bits sign ecdsa's for 10s: 591817 256 bits ECDSA signs in 9.93s | |
Doing 256 bits verify ecdsa's for 10s: 193901 256 bits ECDSA verify in 10.00s | |
Doing 384 bits sign ecdsa's for 10s: 17402 384 bits ECDSA signs in 10.00s | |
Doing 384 bits verify ecdsa's for 10s: 20725 384 bits ECDSA verify in 10.00s | |
Doing 521 bits sign ecdsa's for 10s: 52112 521 bits ECDSA signs in 10.00s | |
Doing 521 bits verify ecdsa's for 10s: 27305 521 bits ECDSA verify in 10.00s | |
Doing 256 bits sign ecdsa's for 10s: 55918 256 bits ECDSA signs in 9.99s | |
Doing 256 bits verify ecdsa's for 10s: 53653 256 bits ECDSA verify in 10.00s | |
Doing 256 bits sign ecdsa's for 10s: 55957 256 bits ECDSA signs in 9.99s | |
Doing 256 bits verify ecdsa's for 10s: 54805 256 bits ECDSA verify in 9.99s | |
Doing 384 bits sign ecdsa's for 10s: 17423 384 bits ECDSA signs in 10.00s | |
Doing 384 bits verify ecdsa's for 10s: 19537 384 bits ECDSA verify in 10.00s | |
Doing 384 bits sign ecdsa's for 10s: 17625 384 bits ECDSA signs in 9.99s | |
Doing 384 bits verify ecdsa's for 10s: 20761 384 bits ECDSA verify in 9.99s | |
Doing 512 bits sign ecdsa's for 10s: 11733 512 bits ECDSA signs in 9.99s | |
Doing 512 bits verify ecdsa's for 10s: 13734 512 bits ECDSA verify in 9.99s | |
Doing 512 bits sign ecdsa's for 10s: 11920 512 bits ECDSA signs in 9.99s | |
Doing 512 bits verify ecdsa's for 10s: 14676 512 bits ECDSA verify in 10.00s | |
Doing 224 bits ecdh's for 10s: 232259 224-bits ECDH ops in 10.00s | |
Doing 256 bits ecdh's for 10s: 254213 256-bits ECDH ops in 10.00s | |
Doing 384 bits ecdh's for 10s: 18341 384-bits ECDH ops in 9.99s | |
Doing 521 bits ecdh's for 10s: 45645 521-bits ECDH ops in 10.00s | |
Doing 256 bits ecdh's for 10s: 58907 256-bits ECDH ops in 9.97s | |
Doing 256 bits ecdh's for 10s: 58897 256-bits ECDH ops in 10.00s | |
Doing 384 bits ecdh's for 10s: 18314 384-bits ECDH ops in 9.99s | |
Doing 384 bits ecdh's for 10s: 18515 384-bits ECDH ops in 10.00s | |
Doing 512 bits ecdh's for 10s: 12265 512-bits ECDH ops in 10.00s | |
Doing 512 bits ecdh's for 10s: 12469 512-bits ECDH ops in 9.97s | |
Doing 253 bits ecdh's for 10s: 334516 253-bits ECDH ops in 10.00s | |
Doing 448 bits ecdh's for 10s: 75316 448-bits ECDH ops in 9.99s | |
Doing 253 bits sign Ed25519's for 10s: 342164 253 bits Ed25519 signs in 10.00s | |
Doing 253 bits verify Ed25519's for 10s: 124563 253 bits Ed25519 verify in 10.00s | |
Doing 456 bits sign Ed448's for 10s: 61441 456 bits Ed448 signs in 10.00s | |
Doing 456 bits verify Ed448's for 10s: 71240 456 bits Ed448 verify in 10.00s | |
Doing 2048 bits ffdh's for 10s: 44355 2048-bits FFDH ops in 10.00s | |
Doing 3072 bits ffdh's for 10s: 16239 3072-bits FFDH ops in 10.00s | |
Doing 4096 bits ffdh's for 10s: 7919 4096-bits FFDH ops in 10.00s | |
Doing 6144 bits ffdh's for 10s: 3592 6144-bits FFDH ops in 9.99s | |
Doing 8192 bits ffdh's for 10s: 1754 8192-bits FFDH ops in 10.01s | |
version: 3.0.8 | |
built on: Tue Mar 21 00:00:00 2023 UTC | |
options: bn(64,64) | |
compiler: gcc -fPIC -pthread -Wa,--noexecstack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3.0.8-5ac54a139c73ec4a\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config" | |
CPUINFO: OPENSSL_armcap=0xfd | |
The 'numbers' are in 1000s of bytes per second processed. | |
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes | |
md5 89459.42k 216915.75k 389985.79k 487206.23k 525352.96k 530074.46k | |
sha1 156965.21k 519575.06k 1334442.15k 2030999.21k 2378009.26k 2408174.93k | |
rmd160 70412.74k 168085.70k 302480.81k 377768.96k 407336.28k 409676.46k | |
sha256 169080.91k 553583.36k 1326807.30k 2033036.63k 2405376.00k 2437076.31k | |
sha512 102947.68k 410074.88k 779203.67k 1191416.83k 1409318.91k 1428144.13k | |
hmac(md5) 52066.87k 154119.02k 330733.68k 460773.03k 521428.99k 526281.39k | |
des-ede3 33237.03k 33794.43k 33933.99k 33966.76k 33977.69k 33980.42k | |
aes-128-cbc 671520.22k 1527646.44k 1656335.02k 1695977.13k 1708064.88k 1701363.71k | |
aes-192-cbc 978035.07k 1290040.45k 1372459.18k 1398337.54k 1406954.15k 1405654.36k | |
aes-256-cbc 903257.35k 1112958.14k 1177100.71k 1191575.21k 1200081.58k 1205719.93k | |
camellia-128-cbc 152523.77k 155233.54k 155652.18k 155815.59k 155858.26k 155866.45k | |
camellia-192-cbc 119196.91k 120562.33k 121261.65k 121325.57k 121391.79k 121399.98k | |
camellia-256-cbc 117963.55k 120965.46k 121263.19k 121321.47k 121386.33k 121399.98k | |
ghash 1220634.09k 4456511.57k 6679578.20k 7144496.47k 7326703.62k 7339196.42k | |
rand 39935.91k 152398.18k 586062.99k 1887154.33k 6314882.14k 7240939.77k | |
sign verify sign/s verify/s | |
rsa 512 bits 0.000019s 0.000001s 53992.5 680621.9 | |
rsa 1024 bits 0.000090s 0.000004s 11065.0 248894.6 | |
rsa 2048 bits 0.000557s 0.000014s 1793.8 72821.1 | |
rsa 3072 bits 0.001622s 0.000030s 616.6 33748.0 | |
rsa 4096 bits 0.003570s 0.000051s 280.1 19495.1 | |
rsa 7680 bits 0.029355s 0.000177s 34.1 5636.9 | |
rsa 15360 bits 0.158125s 0.000700s 6.3 1428.1 | |
sign verify sign/s verify/s | |
dsa 512 bits 0.000035s 0.000020s 28529.9 50623.9 | |
dsa 1024 bits 0.000068s 0.000051s 14803.6 19502.5 | |
dsa 2048 bits 0.000192s 0.000175s 5204.2 5716.1 | |
sign verify sign/s verify/s | |
224 bits ecdsa (nistp224) 0.0000s 0.0001s 35589.4 15829.9 | |
256 bits ecdsa (nistp256) 0.0000s 0.0001s 59598.9 19390.1 | |
384 bits ecdsa (nistp384) 0.0006s 0.0005s 1740.2 2072.5 | |
521 bits ecdsa (nistp521) 0.0002s 0.0004s 5211.2 2730.5 | |
256 bits ecdsa (brainpoolP256r1) 0.0002s 0.0002s 5597.4 5365.3 | |
256 bits ecdsa (brainpoolP256t1) 0.0002s 0.0002s 5601.3 5486.0 | |
384 bits ecdsa (brainpoolP384r1) 0.0006s 0.0005s 1742.3 1953.7 | |
384 bits ecdsa (brainpoolP384t1) 0.0006s 0.0005s 1764.3 2078.2 | |
512 bits ecdsa (brainpoolP512r1) 0.0009s 0.0007s 1174.5 1374.8 | |
512 bits ecdsa (brainpoolP512t1) 0.0008s 0.0007s 1193.2 1467.6 | |
op op/s | |
224 bits ecdh (nistp224) 0.0000s 23225.9 | |
256 bits ecdh (nistp256) 0.0000s 25421.3 | |
384 bits ecdh (nistp384) 0.0005s 1835.9 | |
521 bits ecdh (nistp521) 0.0002s 4564.5 | |
256 bits ecdh (brainpoolP256r1) 0.0002s 5908.4 | |
256 bits ecdh (brainpoolP256t1) 0.0002s 5889.7 | |
384 bits ecdh (brainpoolP384r1) 0.0005s 1833.2 | |
384 bits ecdh (brainpoolP384t1) 0.0005s 1851.5 | |
512 bits ecdh (brainpoolP512r1) 0.0008s 1226.5 | |
512 bits ecdh (brainpoolP512t1) 0.0008s 1250.7 | |
253 bits ecdh (X25519) 0.0000s 33451.6 | |
448 bits ecdh (X448) 0.0001s 7539.1 | |
sign verify sign/s verify/s | |
253 bits EdDSA (Ed25519) 0.0000s 0.0001s 34216.4 12456.3 | |
456 bits EdDSA (Ed448) 0.0002s 0.0001s 6144.1 7124.0 | |
op op/s | |
2048 bits ffdh 0.0002s 4435.5 | |
3072 bits ffdh 0.0006s 1623.9 | |
4096 bits ffdh 0.0013s 791.9 | |
6144 bits ffdh 0.0028s 359.6 | |
8192 bits ffdh 0.0057s 175.2 | |
real 14m40.742s | |
user 14m37.845s | |
sys 0m2.700s | |
[ori@fedora linux-6.3]$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment