Email exchange with Yekai and I am told hisi_sec2 only support 2 threads
in default. We can enable more threads when modprobe. I will try to find
out the best way to enable more threads as default.

ubuntu@kreiken:~$ sudo modprobe -r hisi_sec2
ubuntu@kreiken:~$ sudo modprobe hisi_sec2 ctx_q_num=2 pf_q_num=1024
ubuntu@kreiken:~$ sudo stress-ng --aggressive --verify --timeout 330 
--metrics-brief --tz --times --af-alg 0
stress-ng: info:  [29055] dispatching hogs: 128 af-alg
stress-ng: info:  [29055] successful run completed in 330.18s (5 mins, 30.18 
secs)
stress-ng: info:  [29055] stressor       bogo ops real time  usr time  sys time 
  bogo ops/s   bogo ops/s
stress-ng: info:  [29055]                           (secs)    (secs)    (secs)  
 (real time) (usr+sys time)
stress-ng: info:  [29055] af-alg        111959371    330.08    299.71  10668.10 
   339193.31     10208.00
stress-ng: info:  [29055] thermal zone temperatures not available
stress-ng: info:  [29055] for a 330.18s run time:
stress-ng: info:  [29055]   42263.02s available CPU time
stress-ng: info:  [29055]     300.36s user time   (  0.71%)
stress-ng: info:  [29055]   10668.78s system time ( 25.24%)
stress-ng: info:  [29055]   10969.14s total time  ( 25.95%)
stress-ng: info:  [29055] load average: 138.79 94.92 43.18

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867900

Title:
  CPU stress test fails with focal kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to