Buildroot stress-ng Linux系统压力测试

Buildroot stress-ng Linux系统压力测试

复制代码
复制代码
/**********************************************************************
 *            Buildroot stress-ng Linux系统压力测试
 * 说明:
 *     之前有使用lmbench对整板进行一些测试,如果相对某一部分专门进行测试,
 * 就可以参考使用stree-ng来进行处理。
 *
 *                                2018-6-25 深圳 宝安西乡 曾剑锋
 *********************************************************************/

一、参考文档:
    1. Stress-ng
        http://kernel.ubuntu.com/~cking/stress-ng/
    2. stress-ng.pdf
        http://kernel.ubuntu.com/~cking/stress-ng/stress-ng.pdf
    3. stress-ng
        https://wiki.ubuntu.com/Kernel/Reference/stress-ng

二、使用示例:
    [buildroot@root ~]#  stress-ng --cpu 0 --tz -t 60
    stress-ng: info:  [9331] dispatching hogs: 2 cpu
    stress-ng: info:  [9331] cache allocate: using built-in defaults as unable to determine cache details
    stress-ng: info:  [9331] cache allocate: default cache size: 2048K
    stress-ng: info:  [9331] successful run completed in 60.05s (1 min, 0.05 secs)
    stress-ng: info:  [9331] cpu:
    stress-ng: info:  [9331]     imx_thermal_zone   57.57 °C
    [buildroot@root ~]#  stress-ng --matrix 1 -t 1m
    stress-ng: info:  [9490] dispatching hogs: 1 matrix
    stress-ng: info:  [9490] cache allocate: using built-in defaults as unable to determine cache details
    stress-ng: info:  [9490] cache allocate: default cache size: 2048K
    stress-ng: info:  [9490] successful run completed in 60.00s (1 min, 0.00 secs)
复制代码
复制代码
posted @   滴滴滴  阅读(1251)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
Buildroot stress-ng Linux系统压力测试
点击右上角即可分享
微信分享提示