Comment 11 for bug 1867900

Revision history for this message
Ike Panhc (ikepanhc) wrote :

If hisi_sec2 is loaded, stress-ng fails.

ubuntu@kreiken:~$ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz --times --af-alg 0
stress-ng: info: [903802] dispatching hogs: 128 af-alg
stress-ng: info: [903803] stress-ng-af-alg: 63 cryptographic algorithms found in /proc/crypto
stress-ng: info: [903803] stress-ng-af-alg: 104 cryptographic algorithms max (with defconfigs)
stress-ng: info: [903802] successful run completed in 332.32s (5 mins, 32.32 secs)
stress-ng: info: [903802] stressor bogo ops real time usr time sys time bogo ops/s bogo ops/s
stress-ng: info: [903802] (secs) (secs) (secs) (real time) (usr+sys time)
stress-ng: info: [903802] af-alg 7461411 330.50 49.94 2058.47 22575.89 3538.88
stress-ng: info: [903802] thermal zone temperatures not available
stress-ng: info: [903802] for a 332.32s run time:
stress-ng: info: [903802] 42536.90s available CPU time
stress-ng: info: [903802] 50.64s user time ( 0.12%)
stress-ng: info: [903802] 2059.17s system time ( 4.84%)
stress-ng: info: [903802] 2109.81s total time ( 4.96%)
stress-ng: info: [903802] load average: 123.09 122.32 85.23
ubuntu@kreiken:~$ lsmod | grep hisi
hisi_hpre 36864 0
hisi_zip 32768 0
hisi_qm 40960 2 hisi_zip,hisi_hpre
hisi_trng_v2 16384 0
hisi_sas_v3_hw 57344 2
hisi_sas_main 77824 1 hisi_sas_v3_hw
libsas 106496 2 hisi_sas_v3_hw,hisi_sas_main
scsi_transport_sas 49152 4 hisi_sas_v3_hw,ses,hisi_sas_main,libsas
ubuntu@kreiken:~$ sudo modprobe hisi_sec2
ubuntu@kreiken:~$ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz --times --af-alg 0
stress-ng: info: [1227102] dispatching hogs: 128 af-alg
stress-ng: info: [1227103] stress-ng-af-alg: 67 cryptographic algorithms found in /proc/crypto
stress-ng: info: [1227103] stress-ng-af-alg: 107 cryptographic algorithms max (with defconfigs)
stress-ng: fail: [1227204] stress-ng-af-alg: bind failed, errno=19 (No such device)
stress-ng: fail: [1227194] stress-ng-af-alg: bind failed, errno=19 (No such device)