|
硬件商, 一般提供“烤机”测试呀.
机器交付前, 压力测试24小时不死机就行了.
类似于SuperPi测试.
如果你的网络正常, 在需要测试的机器上,打开终端Terminal 然后输入如下指令:
第一条:
wget https://gitee.com/hpc4you/linux/raw/master/pi.sh
第二条:
bash pi.sh &
bash pi.sh &
bash pi.sh &
bash pi.sh &
bash pi.sh &
内存读写测试
yum install stress
apt-get install stress
开8个终端,
每个里面均输入:
stress --cpu 16 --io 10 --vm 4 --vm-bytes 128M --timeout 7200
# 16 cpu bound processes
# 10 I/O bound processes.
# 4 memory allocator processes
# runs for 7200 seconds, namely 2 hours
同时运行如上操作, 机器挺2小时以上不死机, 就算硬盘稳定.
仅供参考.
|
|