[graalvm-users] native image measurements and optimization questions...
mc36
mc36 at freemail.hu
Wed Feb 17 00:36:33 PST 2021
Hi all,
First of all allow me to express the huge appreciation i feel about graalvm! It's startup time is unbelievable! I spawn ~2500*5 jvm processes to test my freertr.net project before each release so it really speed up things here: 60m->5m on a full run!
But I have troubles producing a “production-ready” binary… please find some very basic measurements I did to spot the things… I used the same jar on the same bare-metal 2xE5-2630+192gb machine running nothing else but the tests….
The first round was a basic pipe (http://sources.nop.hu/src/pipe/pipeSide.java) test what I used to communicate between jvm threads internally… graal and jre both had the same 400mbps whereas ni did only 320.. not a big issue anyway...
The second round I tested the routing table (http://sources.nop.hu/src/tab/tabRoute.java) insertion/removal in forward/backward/random order. It’s heavy worker is a drop-in replacement (http://sources.nop.hu/src/tab/tabGenV2.java) of a wrapper over ArrayList (http://sources.nop.hu/src/tab/tabGenV1.java). I used to use the v2 as it implements a two level hierarchical storage and it have huge gains over the original ArrayList in the random operations, which is the most common case on the wild internet after the cold boot…. Here I saw 2.5m fwd adds from both graal and jre but only 0.5m from native-image, and this is what absolutely a show-stopper here… it would reduce the current 11sec for the full 1m bgp feed to somewhat around 1 minute...
Then I performed some crypto operations, you can spot that I don’t have nor aes-ni not sha intrinsics in native-image but it works fine in native graal and jre…
And the final test, a diffie-hellman key exchange and rsa sign/verification, and some ecdh and ecdsa…. All using the same BigInteger, except the ec ones which use my own ecpoint (http://sources.nop.hu/src/cry/cryECpoint.java) with a minimal caching… The ec operations show no huge differences but it could be because of the smaller integers, but on the heavy worker 4k rsa the native-image lost again with 700ms vs 230ms… the 4k dh test also interesting, with the 4sec vs 1sec times…. And here imho not too much chances for real branch predictions (except to optimize out the BigInteger class’ huge java-ish overhead) because all these performed over random inputs, obviously!
After studying the possibilities, my idea is that I could use the commercial profiler to have the branch prediction info available during the native image creation time, but, as it’s an opensource project on low budget, it’s a not an option….
Any other ideas I could try to be able to produce something useful with the native-image?
Best wishes,
Csaba
openjdk17:
sid#show platform
2021-02-17 08:22:41
freeRouter v21.2.17-rel, done by cs at nop.
name: sid
hwid: emu
uptime: since 2021-02-17 08:22:21, for 00:00:20
reload: code#11=user requested
hwcfg: ../rtr-hw.txt
swcfg: ../rtr-sw.txt
cpu: 40*amd64
mem: free=1660m, max=2147m, used=2147m
host: Linux v5.10.0-3-amd64
java: Debian v17-ea @ /usr/lib/jvm/java-17-openjdk-amd64
jspec: Oracle Corporation (Java Platform API Specification) v17
vm: Debian (OpenJDK 64-Bit Server VM) v17-ea+9-Debian-1
vmspec: Oracle Corporation (Java Virtual Machine Specification) v17
class: v61.0 @ rtr.jar
sid#test pipeline
2021-02-17 08:22:48
% performing test
conn: 246000/0/0 rnd, 251904000 bytes, 5 sec, 48712 pps, 399mbps
sid#test pipeline
2021-02-17 08:22:55
% performing test
conn: 246000/0/0 rnd, 251904000 bytes, 5 sec, 48674 pps, 398mbps
sid#test pipeline
2021-02-17 08:23:01
% performing test
conn: 243000/0/0 rnd, 248832000 bytes, 5 sec, 48551 pps, 397mbps
sid#test routing fwd bwd rnd
2021-02-17 08:23:12
testing addr.addrClns-2048: 662251 fa 714285 fd 408163 ba 819672 bd 335570 ra 578023 rd
testing addr.addrIsis-48: 2040816 fa 2325581 fd 1098901 ba 2000000 bd 581395 ra 719402 rd
testing addr.addrEui-64: 2083333 fa 2173913 fd 1111111 ba 1923076 bd 689655 ra 793626 rd
testing addr.addrMac-48: 2702702 fa 2439024 fd 1190476 ba 1960784 bd 704225 ra 819663 rd
testing addr.addrIpx-80: 2083333 fa 2222222 fd 775193 ba 2127659 bd 704225 ra 819647 rd
testing addr.addrIPv4-32: 2941176 fa 2631578 fd 1250000 ba 1960784 bd 729927 ra 840302 rd
testing addr.addrIPv6-128: 2272727 fa 2222222 fd 1086956 ba 1754385 bd 689655 ra 793634 rd
testing addr.addrIP-128: 2380952 fa 2127659 fd 1136363 ba 1818181 bd 628930 ra 806443 rd
sid#test routing fwd bwd rnd
2021-02-17 08:23:19
testing addr.addrClns-2048: 1000000 fa 793650 fd 746268 ba 1030927 bd 425531 ra 518124 rd
testing addr.addrIsis-48: 2564102 fa 2380952 fd 1162790 ba 1923076 bd 628930 ra 800000 rd
testing addr.addrEui-64: 1923076 fa 2500000 fd 1123595 ba 2040816 bd 719424 ra 826429 rd
testing addr.addrMac-48: 2777777 fa 2702702 fd 1219512 ba 2127659 bd 694444 ra 812991 rd
testing addr.addrIpx-80: 2272727 fa 2127659 fd 1086956 ba 1851851 bd 591715 ra 833300 rd
testing addr.addrIPv4-32: 2941176 fa 2702702 fd 1234567 ba 2127659 bd 757575 ra 869565 rd
testing addr.addrIPv6-128: 2380952 fa 2222222 fd 1149425 ba 1818181 bd 684931 ra 826446 rd
testing addr.addrIP-128: 2380952 fa 2272727 fd 1136363 ba 1851851 bd 699300 ra 793619 rd
sid#test routing fwd bwd rnd
2021-02-17 08:23:25
testing addr.addrClns-2048: 1075268 fa 709219 fd 578034 ba 1041666 bd 434782 ra 606054 rd
testing addr.addrIsis-48: 2564102 fa 2439024 fd 1149425 ba 2000000 bd 740740 ra 847440 rd
testing addr.addrEui-64: 2222222 fa 2439024 fd 925925 ba 2083333 bd 609756 ra 840319 rd
testing addr.addrMac-48: 1754385 fa 2631578 fd 990099 ba 2222222 bd 709219 ra 854675 rd
testing addr.addrIpx-80: 2222222 fa 2325581 fd 1086956 ba 2040816 bd 719424 ra 847440 rd
testing addr.addrIPv4-32: 2083333 fa 2857142 fd 1149425 ba 2173913 bd 763358 ra 689648 rd
testing addr.addrIPv6-128: 2439024 fa 2222222 fd 1149425 ba 1851851 bd 735294 ra 854649 rd
testing addr.addrIP-128: 2439024 fa 2127659 fd 1149425 ba 1851851 bd 694444 ra 799968 rd
sid#
sid#test crypto
2021-02-17 08:55:08
aes: 971081 rnd, 994386944 bytes, 3 sec, 323585 pps, 2650mbps
blowfish: 166511 rnd, 170507264 bytes, 3 sec, 55485 pps, 454mbps
3des: 28273 rnd, 28951552 bytes, 3 sec, 9421 pps, 77mbps
des: 79735 rnd, 81648640 bytes, 3 sec, 26569 pps, 217mbps
rc2: 99288 rnd, 101670912 bytes, 3 sec, 33084 pps, 271mbps
rc4: 660819 rnd, 676678656 bytes, 3 sec, 220199 pps, 1803mbps
chacha20: 739593 rnd, 757343232 bytes, 3 sec, 246448 pps, 2018mbps
hec8: 987092 rnd, 1010782208 bytes, 3 sec, 328921 pps, 2694mbps
fcs16: 854100 rnd, 874598400 bytes, 3 sec, 284605 pps, 2331mbps
crc16: 830333 rnd, 850260992 bytes, 3 sec, 276685 pps, 2266mbps
crc32: 863392 rnd, 884113408 bytes, 3 sec, 287701 pps, 2356mbps
crc32c: 844987 rnd, 865266688 bytes, 3 sec, 281568 pps, 2306mbps
md2: 20190 rnd, 20674560 bytes, 3 sec, 6727 pps, 55mbps
md5: 911978 rnd, 933865472 bytes, 3 sec, 303891 pps, 2489mbps
sha1: 558809 rnd, 572220416 bytes, 3 sec, 186207 pps, 1525mbps
blake2s: 454646 rnd, 465557504 bytes, 3 sec, 151498 pps, 1241mbps
sha224: 674059 rnd, 690236416 bytes, 3 sec, 224611 pps, 1840mbps
sha256: 692808 rnd, 709435392 bytes, 3 sec, 230859 pps, 1891mbps
sha384: 878893 rnd, 899986432 bytes, 3 sec, 292866 pps, 2399mbps
sha512: 885225 rnd, 906470400 bytes, 3 sec, 294976 pps, 2416mbps
sha3-224: 288976 rnd, 295911424 bytes, 3 sec, 96293 pps, 788mbps
sha3-256: 289500 rnd, 296448000 bytes, 3 sec, 96467 pps, 790mbps
sha3-384: 245121 rnd, 251003904 bytes, 3 sec, 81679 pps, 669mbps
sha3-512: 165981 rnd, 169964544 bytes, 3 sec, 55308 pps, 453mbps
hmac-md2: 17544 rnd, 17965056 bytes, 3 sec, 5846 pps, 47mbps
hmac-md5: 753934 rnd, 772028416 bytes, 3 sec, 251227 pps, 2058mbps
hmac-sha1: 471879 rnd, 483204096 bytes, 3 sec, 157240 pps, 1288mbps
hmac-blake2s: 368758 rnd, 377608192 bytes, 3 sec, 122878 pps, 1006mbps
hmac-sha224: 554995 rnd, 568314880 bytes, 3 sec, 184936 pps, 1515mbps
hmac-sha256: 546879 rnd, 560004096 bytes, 3 sec, 182232 pps, 1492mbps
hmac-sha384: 644716 rnd, 660189184 bytes, 3 sec, 214833 pps, 1759mbps
hmac-sha512: 644056 rnd, 659513344 bytes, 3 sec, 214613 pps, 1758mbps
hmac-sha3-224: 256202 rnd, 262350848 bytes, 3 sec, 85372 pps, 699mbps
hmac-sha3-256: 234846 rnd, 240482304 bytes, 3 sec, 78255 pps, 641mbps
hmac-sha3-384: 171668 rnd, 175788032 bytes, 3 sec, 57203 pps, 468mbps
hmac-sha3-512: 122495 rnd, 125434880 bytes, 3 sec, 40818 pps, 334mbps
sid#test digsig len 4096 eclen 521
2021-02-17 08:58:05
% performing test
% rsa: false 4096 false in 230ms
% dsa: false 4095 false in 522ms
% ecdsa: false 521 false in 126ms
% dh: false 4096 in 1187ms
% ecdh: false 521 in 174ms
% pemio: false false false
% cert: true true false
% dsa: key=dssSha1 issuer=test subject=test valid=2021-02-17 08:00:06-2031-02-15 08:00:06
% ecdsa: key=ecdssSha256 issuer=test subject=test valid=2021-02-17 08:00:06-2031-02-15 08:00:06
% rsa: key=rsaSha256 issuer=test subject=test valid=2021-02-17 08:00:06-2031-02-15 08:00:06
sid#
graalvm:
sid#show platform
2021-02-17 08:19:59
freeRouter v21.2.17-rel, done by cs at nop.
name: sid
hwid: emu
uptime: since 2021-02-17 08:19:51, for 00:00:08
reload: code#1=finished
hwcfg: ../rtr-hw.txt
swcfg: ../rtr-sw.txt
cpu: 40*amd64
mem: free=1426m, max=32g, used=2155m
host: Linux v5.10.0-3-amd64
java: GraalVM Community v11.0.10 @ /usr/lib/jvm/graalvm
jspec: Oracle Corporation (Java Platform API Specification) v11
vm: GraalVM Community (OpenJDK 64-Bit Server VM) v11.0.10+8-jvmci-21.0-b06
vmspec: Oracle Corporation (Java Virtual Machine Specification) v11
class: v55.0 @ rtr.jar
sid#test pipeline
2021-02-17 08:20:07
% performing test
conn: 246000/0/0 rnd, 251904000 bytes, 5 sec, 48674 pps, 398mbps
sid#test pipeline
2021-02-17 08:20:13
% performing test
conn: 246000/0/0 rnd, 251904000 bytes, 5 sec, 48887 pps, 400mbps
sid#test pipeline
2021-02-17 08:20:20
% performing test
conn: 246000/0/0 rnd, 251904000 bytes, 5 sec, 48770 pps, 399mbps
sid#test routing fwd bwd rnd
2021-02-17 08:21:09
testing addr.addrClns-2048: 653594 fa 529100 fd 485436 ba 598802 bd 253164 ra 373126 rd
testing addr.addrIsis-48: 2040816 fa 2040816 fd 900900 ba 2325581 bd 507614 ra 675668 rd
testing addr.addrEui-64: 1923076 fa 2040816 fd 1086956 ba 2173913 bd 598802 ra 751842 rd
testing addr.addrMac-48: 2380952 fa 2173913 fd 1123595 ba 2083333 bd 714285 ra 735264 rd
testing addr.addrIpx-80: 1923076 fa 2222222 fd 1075268 ba 2127659 bd 684931 ra 757568 rd
testing addr.addrIPv4-32: 2702702 fa 2500000 fd 1190476 ba 2272727 bd 735294 ra 714278 rd
testing addr.addrIPv6-128: 2222222 fa 2127659 fd 1020408 ba 1851851 bd 584795 ra 617265 rd
testing addr.addrIP-128: 2439024 fa 2222222 fd 1098901 ba 2040816 bd 689655 ra 729890 rd
sid#test routing fwd bwd rnd
2021-02-17 08:21:18
testing addr.addrClns-2048: 781250 fa 632911 fd 561797 ba 840336 bd 314465 ra 526305 rd
testing addr.addrIsis-48: 2564102 fa 2325581 fd 1098901 ba 2272727 bd 694444 ra 724615 rd
testing addr.addrEui-64: 2500000 fa 2040816 fd 1075268 ba 2222222 bd 704225 ra 769207 rd
testing addr.addrMac-48: 2173913 fa 2380952 fd 1111111 ba 2222222 bd 680272 ra 787385 rd
testing addr.addrIpx-80: 2173913 fa 2272727 fd 1000000 ba 2127659 bd 675675 ra 724623 rd
testing addr.addrIPv4-32: 2500000 fa 2500000 fd 1162790 ba 2272727 bd 621118 ra 699293 rd
testing addr.addrIPv6-128: 2173913 fa 2127659 fd 1030927 ba 1960784 bd 561797 ra 632892 rd
testing addr.addrIP-128: 2380952 fa 2222222 fd 1063829 ba 2083333 bd 699300 ra 757545 rd
sid#test routing fwd bwd rnd
2021-02-17 08:21:24
testing addr.addrClns-2048: 793650 fa 645161 fd 564971 ba 862068 bd 346020 ra 520828 rd
testing addr.addrIsis-48: 2564102 fa 2380952 fd 1098901 ba 2272727 bd 719424 ra 806427 rd
testing addr.addrEui-64: 2500000 fa 2272727 fd 1086956 ba 2173913 bd 699300 ra 757560 rd
testing addr.addrMac-48: 2857142 fa 2439024 fd 1176470 ba 2222222 bd 657894 ra 751864 rd
testing addr.addrIpx-80: 2380952 fa 2272727 fd 1041666 ba 2127659 bd 694444 ra 757560 rd
testing addr.addrIPv4-32: 2857142 fa 2173913 fd 1149425 ba 2272727 bd 724637 ra 799992 rd
testing addr.addrIPv6-128: 2380952 fa 2325581 fd 970873 ba 2000000 bd 694444 ra 757530 rd
testing addr.addrIP-128: 2439024 fa 2325581 fd 1098901 ba 2040816 bd 568181 ra 632886 rd
sid#
sid#test crypto
2021-02-17 08:50:55
aes: 1020793 rnd, 1045292032 bytes, 3 sec, 340150 pps, 2786mbps
blowfish: 129970 rnd, 133089280 bytes, 3 sec, 43308 pps, 354mbps
3des: 25967 rnd, 26590208 bytes, 3 sec, 8652 pps, 70mbps
des: 71977 rnd, 73704448 bytes, 3 sec, 23984 pps, 196mbps
rc2: 100636 rnd, 103051264 bytes, 3 sec, 33534 pps, 274mbps
rc4: 803560 rnd, 822845440 bytes, 3 sec, 267764 pps, 2193mbps
chacha20: 825225 rnd, 845030400 bytes, 3 sec, 274983 pps, 2252mbps
hec8: 984306 rnd, 1007929344 bytes, 3 sec, 327992 pps, 2686mbps
fcs16: 863551 rnd, 884276224 bytes, 3 sec, 287754 pps, 2357mbps
crc16: 864995 rnd, 885754880 bytes, 3 sec, 288235 pps, 2361mbps
crc32: 860905 rnd, 881566720 bytes, 3 sec, 286872 pps, 2350mbps
crc32c: 853774 rnd, 874264576 bytes, 3 sec, 284496 pps, 2330mbps
md2: 18730 rnd, 19179520 bytes, 3 sec, 6241 pps, 51mbps
md5: 802189 rnd, 821441536 bytes, 3 sec, 267307 pps, 2189mbps
sha1: 542293 rnd, 555308032 bytes, 3 sec, 180704 pps, 1480mbps
blake2s: 329573 rnd, 337482752 bytes, 3 sec, 109821 pps, 899mbps
sha224: 658995 rnd, 674810880 bytes, 3 sec, 219591 pps, 1798mbps
sha256: 670019 rnd, 686099456 bytes, 3 sec, 223265 pps, 1828mbps
sha384: 838990 rnd, 859125760 bytes, 3 sec, 279570 pps, 2290mbps
sha512: 841550 rnd, 861747200 bytes, 3 sec, 280423 pps, 2297mbps
sha3-224: 222343 rnd, 227679232 bytes, 3 sec, 74089 pps, 606mbps
sha3-256: 222799 rnd, 228146176 bytes, 3 sec, 74241 pps, 608mbps
sha3-384: 184546 rnd, 188975104 bytes, 3 sec, 61494 pps, 503mbps
sha3-512: 121954 rnd, 124880896 bytes, 3 sec, 40637 pps, 332mbps
hmac-md2: 16482 rnd, 16877568 bytes, 3 sec, 5492 pps, 44mbps
hmac-md5: 674175 rnd, 690355200 bytes, 3 sec, 224650 pps, 1840mbps
hmac-sha1: 455027 rnd, 465947648 bytes, 3 sec, 151625 pps, 1242mbps
hmac-blake2s: 274347 rnd, 280931328 bytes, 3 sec, 91418 pps, 748mbps
hmac-sha224: 522416 rnd, 534953984 bytes, 3 sec, 174080 pps, 1426mbps
hmac-sha256: 524865 rnd, 537461760 bytes, 3 sec, 174896 pps, 1432mbps
hmac-sha384: 585804 rnd, 599863296 bytes, 3 sec, 195202 pps, 1599mbps
hmac-sha512: 585888 rnd, 599949312 bytes, 3 sec, 195230 pps, 1599mbps
hmac-sha3-224: 196170 rnd, 200878080 bytes, 3 sec, 65368 pps, 535mbps
hmac-sha3-256: 176706 rnd, 180946944 bytes, 3 sec, 58882 pps, 482mbps
hmac-sha3-384: 130349 rnd, 133477376 bytes, 3 sec, 43435 pps, 355mbps
hmac-sha3-512: 93403 rnd, 95644672 bytes, 3 sec, 31123 pps, 254mbps
sid#test digsig len 4096 eclen 521
2021-02-17 08:53:19
% performing test
% rsa: false 4095 false in 316ms
% dsa: false 4095 false in 654ms
% ecdsa: false 521 false in 103ms
% dh: false 4096 in 1424ms
% ecdh: false 521 in 147ms
% pemio: false false false
% cert: true true false
% dsa: key=dssSha1 issuer=test subject=test valid=2021-02-17 07:53:36-2031-02-15 07:53:36
% ecdsa: key=ecdssSha256 issuer=test subject=test valid=2021-02-17 07:53:36-2031-02-15 07:53:36
% rsa: key=rsaSha256 issuer=test subject=test valid=2021-02-17 07:53:36-2031-02-15 07:53:36
sid#
native-image:
sid#show platform
2021-02-17 08:24:18
freeRouter v21.2.17-rel, done by cs at nop.
name: sid
hwid: emu
uptime: since 2021-02-17 08:24:02, for 00:00:15
reload:
hwcfg: ../rtr-hw.txt
swcfg: ../rtr-sw.txt
cpu: 40*amd64
mem: free=161g, max=162g, used=162g
host: Linux v5.10.0-3-amd64
java: Oracle Corporation v11.0.10 @ null
jspec: Oracle Corporation (Java Platform API Specification) v11
vm: Oracle Corporation (Substrate VM) vGraalVM 21.0.0 Java 11
vmspec: Oracle Corporation (Java Virtual Machine Specification) v11
class: v55.0 @
sid#test pipeline
2021-02-17 08:24:25
% performing test
conn: 198000/0/0 rnd, 202752000 bytes, 5 sec, 39262 pps, 321mbps
sid#test pipeline
2021-02-17 08:24:34
% performing test
conn: 201000/0/0 rnd, 205824000 bytes, 5 sec, 39920 pps, 327mbps
sid#test pipeline
2021-02-17 08:24:40
% performing test
conn: 201000/0/0 rnd, 205824000 bytes, 5 sec, 39731 pps, 325mbps
sid#test routing fwd bwd rnd
2021-02-17 08:24:53
testing addr.addrClns-2048: 194552 fa 361010 fd 101832 ba 431034 bd 105042 ra 135494 rd
testing addr.addrIsis-48: 300300 fa 1388888 fd 307692 ba 390625 bd 303030 ra 386096 rd
testing addr.addrEui-64: 518134 fa 1369863 fd 244498 ba 740740 bd 199203 ra 337827 rd
testing addr.addrMac-48: 1428571 fa 1250000 fd 272479 ba 348432 bd 294117 ra 196459 rd
testing addr.addrIpx-80: 454545 fa 1333333 fd 296735 ba 729927 bd 211416 ra 370362 rd
testing addr.addrIPv4-32: 757575 fa 1265822 fd 259740 ba 714285 bd 306748 ra 163392 rd
testing addr.addrIPv6-128: 261780 fa 1052631 fd 227790 ba 657894 bd 255102 ra 167224 rd
testing addr.addrIP-128: 564971 fa 1030927 fd 294985 ba 311526 bd 186915 ra 328944 rd
sid#test routing fwd bwd rnd
2021-02-17 08:25:13
testing addr.addrClns-2048: 117785 fa 378787 fd 77160 ba 444444 bd 93109 ra 165282 rd
testing addr.addrIsis-48: 414937 fa 1219512 fd 172117 ba 724637 bd 178253 ra 337831 rd
testing addr.addrEui-64: 374531 fa 1369863 fd 251889 ba 735294 bd 238095 ra 230410 rd
testing addr.addrMac-48: 1282051 fa 414937 fd 308641 ba 694444 bd 280898 ra 239803 rd
testing addr.addrIpx-80: 1149425 fa 1298701 fd 285714 ba 719424 bd 206185 ra 350870 rd
testing addr.addrIPv4-32: 369003 fa 1298701 fd 224719 ba 714285 bd 308641 ra 178890 rd
testing addr.addrIPv6-128: 588235 fa 1030927 fd 294985 ba 367647 bd 291545 ra 353346 rd
testing addr.addrIP-128: 1098901 fa 1020408 fd 259067 ba 662251 bd 200400 ra 315454 rd
sid#test routing fwd bwd rnd
2021-02-17 08:25:30
testing addr.addrClns-2048: 182149 fa 200400 fd 99108 ba 440528 bd 98135 ra 245697 rd
testing addr.addrIsis-48: 370370 fa 1428571 fd 240384 ba 746268 bd 303030 ra 226242 rd
testing addr.addrEui-64: 306748 fa 1388888 fd 300300 ba 299401 bd 297619 ra 371736 rd
testing addr.addrMac-48: 438596 fa 1234567 fd 260416 ba 709219 bd 192678 ra 335557 rd
testing addr.addrIpx-80: 1162790 fa 1333333 fd 216450 ba 729927 bd 254452 ra 284894 rd
testing addr.addrIPv4-32: 1515151 fa 1298701 fd 264550 ba 724637 bd 232018 ra 355861 rd
testing addr.addrIPv6-128: 408163 fa 1030927 fd 177619 ba 653594 bd 174825 ra 318464 rd
testing addr.addrIP-128: 1204819 fa 418410 fd 294117 ba 671140 bd 285714 ra 213213 rd
sid#
sid#test crypto
2021-02-17 08:26:03
aes: 150230 rnd, 153835520 bytes, 3 sec, 50059 pps, 410mbps
blowfish: 128114 rnd, 131188736 bytes, 3 sec, 42690 pps, 349mbps
3des: 21436 rnd, 21950464 bytes, 3 sec, 7142 pps, 58mbps
des: 56678 rnd, 58038272 bytes, 3 sec, 18886 pps, 154mbps
rc2: 90447 rnd, 92617728 bytes, 3 sec, 30138 pps, 246mbps
rc4: 601734 rnd, 616175616 bytes, 3 sec, 200511 pps, 1642mbps
chacha20: 511071 rnd, 523336704 bytes, 3 sec, 170300 pps, 1395mbps
hec8: 861405 rnd, 882078720 bytes, 3 sec, 287039 pps, 2351mbps
fcs16: 764878 rnd, 783235072 bytes, 3 sec, 254874 pps, 2087mbps
crc16: 856273 rnd, 876823552 bytes, 3 sec, 285329 pps, 2337mbps
crc32: 764707 rnd, 783059968 bytes, 3 sec, 254817 pps, 2087mbps
crc32c: 762874 rnd, 781182976 bytes, 3 sec, 254206 pps, 2082mbps
md2: 17117 rnd, 17527808 bytes, 3 sec, 5703 pps, 46mbps
md5: 726495 rnd, 743930880 bytes, 3 sec, 242084 pps, 1983mbps
sha1: 386942 rnd, 396228608 bytes, 3 sec, 128937 pps, 1056mbps
blake2s: 181413 rnd, 185766912 bytes, 3 sec, 60450 pps, 495mbps
sha224: 260882 rnd, 267143168 bytes, 3 sec, 86931 pps, 712mbps
sha256: 259525 rnd, 265753600 bytes, 3 sec, 86479 pps, 708mbps
sha384: 345709 rnd, 354006016 bytes, 3 sec, 115197 pps, 943mbps
sha512: 341851 rnd, 350055424 bytes, 3 sec, 113912 pps, 933mbps
sha3-224: 162788 rnd, 166694912 bytes, 3 sec, 54244 pps, 444mbps
sha3-256: 164431 rnd, 168377344 bytes, 3 sec, 54792 pps, 448mbps
sha3-384: 133059 rnd, 136252416 bytes, 3 sec, 44338 pps, 363mbps
sha3-512: 92510 rnd, 94730240 bytes, 3 sec, 30826 pps, 252mbps
hmac-md2: 14338 rnd, 14682112 bytes, 3 sec, 4777 pps, 39mbps
hmac-md5: 512907 rnd, 525216768 bytes, 3 sec, 170912 pps, 1400mbps
hmac-sha1: 299454 rnd, 306640896 bytes, 3 sec, 99784 pps, 817mbps
hmac-blake2s: 147505 rnd, 151045120 bytes, 3 sec, 49151 pps, 402mbps
hmac-sha224: 211711 rnd, 216792064 bytes, 3 sec, 70546 pps, 577mbps
hmac-sha256: 210325 rnd, 215372800 bytes, 3 sec, 70084 pps, 574mbps
hmac-sha384: 247494 rnd, 253433856 bytes, 3 sec, 82470 pps, 675mbps
hmac-sha512: 248601 rnd, 254567424 bytes, 3 sec, 82839 pps, 678mbps
hmac-sha3-224: 138195 rnd, 141511680 bytes, 3 sec, 46049 pps, 377mbps
hmac-sha3-256: 126635 rnd, 129674240 bytes, 3 sec, 42197 pps, 345mbps
hmac-sha3-384: 93808 rnd, 96059392 bytes, 3 sec, 31258 pps, 256mbps
hmac-sha3-512: 67877 rnd, 69506048 bytes, 3 sec, 22618 pps, 185mbps
sid#
sid#test digsig len 4096 eclen 521
2021-02-17 08:44:27
% performing test
% rsa: false 4096 false in 695ms
% dsa: false 4096 false in 1515ms
% ecdsa: false 521 false in 118ms
% dh: false 4096 in 4000ms
% ecdh: false 521 in 188ms
% pemio: false false false
% cert: true true false
% dsa: key=dssSha1 issuer=test subject=test valid=2021-02-17 07:46:04-2031-02-15 07:46:04
% ecdsa: key=ecdssSha256 issuer=test subject=test valid=2021-02-17 07:46:04-2031-02-15 07:46:04
% rsa: key=rsaSha256 issuer=test subject=test valid=2021-02-17 07:46:04-2031-02-15 07:46:04
sid#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20210217/5448adc3/attachment-0001.html
More information about the GraalVM-Users
mailing list