Move the sysbench disk test at the end ofth full benchmark to get a more consistent energy consumption measure for the first 60 minutes period
This commit is contained in:
parent
e4b11703ca
commit
bef3accb75
1 changed files with 12 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
||||||
TEST_DISK_SPACE="64G"
|
TEST_DISK_SPACE="64G"
|
||||||
TEST_FILE_NUM=512
|
TEST_FILE_NUM=512
|
||||||
COOL_DOWN_TIME="3m"
|
COOL_DOWN_TIME="3m"
|
||||||
|
COOL_DOWN_TIME_2="1m"
|
||||||
WARMUP_TIME=600
|
WARMUP_TIME=600
|
||||||
|
|
||||||
if [[ $# -lt 1 ]] ; then
|
if [[ $# -lt 1 ]] ; then
|
||||||
|
@ -78,9 +79,6 @@ echo ' ' | tee -a $LOGFILE
|
||||||
echo "### Sleeping for a $COOL_DOWN_TIME cooldown period ###" | tee -a $LOGFILE
|
echo "### Sleeping for a $COOL_DOWN_TIME cooldown period ###" | tee -a $LOGFILE
|
||||||
sleep $COOL_DOWN_TIME
|
sleep $COOL_DOWN_TIME
|
||||||
|
|
||||||
echo calling $(dirname $0)/disk-test.sh $LOGFILE $TEST_DISK_SPACE $TEST_FILE_NUM | tee -a $LOGFILE
|
|
||||||
$(dirname $0)/disk-test.sh $LOGFILE $TEST_DISK_SPACE $TEST_FILE_NUM
|
|
||||||
|
|
||||||
echo ' ' | tee -a $LOGFILE
|
echo ' ' | tee -a $LOGFILE
|
||||||
echo "### Stressing the CPU for a $WARMUP_TIME seconds warmup period ###" | tee -a $LOGFILE
|
echo "### Stressing the CPU for a $WARMUP_TIME seconds warmup period ###" | tee -a $LOGFILE
|
||||||
sensors 2>&1 | tee -a $LOGFILE
|
sensors 2>&1 | tee -a $LOGFILE
|
||||||
|
@ -105,6 +103,17 @@ do
|
||||||
sensors 2>&1 | tee -a $LOGFILE
|
sensors 2>&1 | tee -a $LOGFILE
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo ' ' | tee -a $LOGFILE
|
||||||
|
echo "### Sleeping for a $COOL_DOWN_TIME_2 cooldown period ###" | tee -a $LOGFILE
|
||||||
|
sleep $COOL_DOWN_TIME_2
|
||||||
|
|
||||||
|
|
||||||
|
echo ' ' | tee -a $LOGFILE
|
||||||
|
echo TS=$(date --rfc-3339=ns) | tee -a $LOGFILE
|
||||||
|
|
||||||
|
echo calling $(dirname $0)/disk-test.sh $LOGFILE $TEST_DISK_SPACE $TEST_FILE_NUM | tee -a $LOGFILE
|
||||||
|
$(dirname $0)/disk-test.sh $LOGFILE $TEST_DISK_SPACE $TEST_FILE_NUM
|
||||||
|
|
||||||
echo ' ' | tee -a $LOGFILE
|
echo ' ' | tee -a $LOGFILE
|
||||||
echo TS=$(date --rfc-3339=ns) | tee -a $LOGFILE
|
echo TS=$(date --rfc-3339=ns) | tee -a $LOGFILE
|
||||||
echo "#### Tests complete ####" | tee -a $LOGFILE
|
echo "#### Tests complete ####" | tee -a $LOGFILE
|
||||||
|
|
Loading…
Reference in a new issue