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)
时来天地皆同力,运去英雄不自由
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· 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 让容器管理更轻松!