【X3m】DDR压力测试

Index of /downloads/unittest/

设置CPU模式和降频温度

# 若设备重启需再次配置这两条指令
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor 
echo 105000 > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp

#1 cpu test
echo 4 > /proc/sys/vm/drop_caches
nohup /userdata/xj3_ddr_stress/bin/stressapptest -s 172800 -M 100 -f /tmp/sat.io1 -f /tmp/sat.io2 -i 4 -m 8 -C 2 -W >/userdata/cpu-stress.log &

cpu test log存放目录在 /userdata/cpu-stress.log, 查看当前运行状态

# 10s 会打印一次
tail /userdata/cpu-stress.log

 注:程序默认连续运行48h(如下图-s参数后面的172800,单位:s)

检查cpu test result, 如果/userdata/cpu-stress.log最后Status显示PASS,且日志中未出现"error" 或者 "miscompare" 关键字,表示测试PASS;

如果/userdata/cpu-stress.log最后Status显示FAIL,或者日志中出现了"error" 或者 "miscompare" 关键字,表示测试FAIL;

你可能感兴趣的:(X3M,linux)