stress-ng压测工具

介绍

stess-ng是一个CPU压力测试工具

https://manpages.ubuntu.com/manpages/jammy/man1/stress-ng.1.html

example

stress-ng --cpu -1 --cpu-method all -t 1h --cpu-load 90 cpu-load-slice 500
在所有online core上遍历所有压测算法,运行1小时,负载设置90%,busy时间为500us,然后进入idle 500us,可以模拟频率性能变化

reference

https://cloud.tencent.com/developer/article/1513544
https://www.51cto.com/article/707986.html

posted @ 2023-02-08 10:27  zephyr~  阅读(434)  评论(0编辑  收藏  举报