stresstest stoped to early on PI4

The sysbench parameter it to low for the fast Raspberry PI 4 "--cpu-max-prime=10000"
It stopes before the 60 seconds are run out.
Increased to it to 100000
This commit is contained in:
Stephan Oeste 2019-09-28 15:19:16 +02:00 committed by GitHub
parent 0904f5dd66
commit 03e1af97f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ else
tempCRTICAL=7799
fi
echo "Starting sysbench to run for 60 seconds (--max-time=60 --cpu-max-prime=10000)" >&2
echo "Starting sysbench to run for 60 seconds (--max-time=60 --cpu-max-prime=100000)" >&2
# result values
powerWARN=0
@ -60,7 +60,7 @@ tempFAIL=0
tempMAX=0
# starting bench mark
sysbench --max-time=60 --test=cpu --cpu-max-prime=10000 --num-threads=4 run 1>/dev/null 2>&1 &
sysbench --max-time=60 --test=cpu --cpu-max-prime=100000 --num-threads=4 run 1>/dev/null 2>&1 &
# keep monitoring in the background
Maxfreq=$(( $(awk '{printf ("%0.0f",$1/1000); }' </sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) -15 ))