Thanks. Ubuntu-5.4.0-43.47 works for me.
ubuntu@scobee:~$ lsmod | grep hisi_sec2 # make sure hisi_sec2 loaded hisi_sec2 53248 0 authenc 16384 1 hisi_sec2 hisi_qm 40960 3 hisi_sec2,hisi_zip,hisi_hpre ubuntu@scobee:~$ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz --times --af-alg 0;echo $? stress-ng: info: [3622] dispatching hogs: 128 af-alg stress-ng: info: [3623] stress-ng-af-alg: 23 cryptographic algorithms found in /proc/crypto stress-ng: info: [3623] stress-ng-af-alg: 107 cryptographic algorithms max (with defconfigs) stress-ng: info: [3622] successful run completed in 332.10s (5 mins, 32.10 secs) stress-ng: info: [3622] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s stress-ng: info: [3622] (secs) (secs) (secs) (real time) (usr+sys time) stress-ng: info: [3622] af-alg 7751254 330.36 48.72 2165.67 23463.14 3500.40 stress-ng: info: [3622] thermal zone temperatures not available stress-ng: info: [3622] for a 332.10s run time: stress-ng: info: [3622] 42508.62s available CPU time stress-ng: info: [3622] 49.38s user time ( 0.12%) stress-ng: info: [3622] 2166.35s system time ( 5.10%) stress-ng: info: [3622] 2215.73s total time ( 5.21%) stress-ng: info: [3622] load average: 132.89 89.21 39.90 0 ubuntu@scobee:~$ uname -a Linux scobee 5.4.0-43-generic #47-Ubuntu SMP Sat Aug 8 06:32:25 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Thanks. Ubuntu-5.4.0-43.47 works for me.
ubuntu@scobee:~$ lsmod | grep hisi_sec2 # make sure hisi_sec2 loaded hisi_zip, hisi_hpre
hisi_sec2 53248 0
authenc 16384 1 hisi_sec2
hisi_qm 40960 3 hisi_sec2,
ubuntu@scobee:~$ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz --times --af-alg 0;echo $?
stress-ng: info: [3622] dispatching hogs: 128 af-alg
stress-ng: info: [3623] stress-ng-af-alg: 23 cryptographic algorithms found in /proc/crypto
stress-ng: info: [3623] stress-ng-af-alg: 107 cryptographic algorithms max (with defconfigs)
stress-ng: info: [3622] successful run completed in 332.10s (5 mins, 32.10 secs)
stress-ng: info: [3622] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s
stress-ng: info: [3622] (secs) (secs) (secs) (real time) (usr+sys time)
stress-ng: info: [3622] af-alg 7751254 330.36 48.72 2165.67 23463.14 3500.40
stress-ng: info: [3622] thermal zone temperatures not available
stress-ng: info: [3622] for a 332.10s run time:
stress-ng: info: [3622] 42508.62s available CPU time
stress-ng: info: [3622] 49.38s user time ( 0.12%)
stress-ng: info: [3622] 2166.35s system time ( 5.10%)
stress-ng: info: [3622] 2215.73s total time ( 5.21%)
stress-ng: info: [3622] load average: 132.89 89.21 39.90
0
ubuntu@scobee:~$ uname -a
Linux scobee 5.4.0-43-generic #47-Ubuntu SMP Sat Aug 8 06:32:25 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux