前言
烤机程序用于把设备的使用率拉满,进行可靠性测试。这里主要贴一下cpu和gpu的烤机程序。
cpu为arm64,gpu是orin nano的模组。
烤机的jetson设备为如下,输入54v:
reComputer Mini J3011 - Intelligent Edge AI Computer with NVIDIA® Jetson™ Orin™ Nano 8GB
CPU-burn
终端安装测试工具:
sudo apt install stress
基本用法:
stress <option>
例如,让六个cpu满载运行600秒,--timeout为可去选项:
stress --cpu 6 --timeout 600s
stress工具也可以对内存和硬盘IO进行压力测试。
GPU-burn
git下来GPU的烤机程序进行编译,然后运行脚本:
git clone https://github.com/jjjadand/jetson-gpu-burn.git
cd jetson-gpu-burn
make -j6
./script.sh
也可以运行编译后的执行文件,10000是运行时间选项,可去掉:
sudo ./gpu_burn 100000
烤机效果图
cpu和gpu满载运行的效果图,终端打开jtop查看效果如下:
cpu和gpu都已经满载。
补充,如果没有安装jtop,可运行如下命令:
sudo apt install python3-pip
sudo pip install jetson-stats
重启后,终端输入jtop就可以启动