Can we set the CPU loading percentage for the stressapptest?

39 views
Skip to first unread message

Kevin Chen

unread,
Aug 22, 2022, 2:04:41 AMAug 22
to stressapptest-discuss
Hi, every expert,
I want to use the percentage value for the stressapptest as the stress-ng because we need to run the stressapptest in the background mode and run other commands in the foreground. Can I do it?

BR
Kevin

Nick Sanders

unread,
Aug 22, 2022, 12:03:40 PMAug 22
to stressappt...@googlegroups.com
stressapptest doesn't explicitly support this.

For large systems, you can specify how many threads stressapptest runs, which determines the maximum number of cores it will use. 
Other tricks are using linux tools like nice or cgroups.

--

---
You received this message because you are subscribed to the Google Groups "stressapptest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stressapptest-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/stressapptest-discuss/1d2ec8fa-4970-4f07-9f64-eb1907032bd3n%40googlegroups.com.

David Garnett

unread,
Aug 22, 2022, 12:08:46 PMAug 22
to stressappt...@googlegroups.com
I have attached a text file listing all of the arguments that stressapptest supports.

As NIck stated, there isn't an argument for percent usage of CPU

HELP-stressapptest.txt
Reply all
Reply to author
Forward
0 new messages