压力测试
GPU 压力测试
git clone https://github.com/wilicc/gpu-burn
cd gpu-burn
make
让 GPU 持续工作 30 秒进行压力测试
./gpu_burn 30
cpu 压力测试
sudo apt-get install stress-ng
查看可用的 CPU 核心
nproc
CPU 压力测试 60 秒
stress-ng --cpu $(nproc) --timeout 60s
git clone https://github.com/wilicc/gpu-burn
cd gpu-burn
make
./gpu_burn 30
sudo apt-get install stress-ng
nproc
stress-ng --cpu $(nproc) --timeout 60s