fio uses all cores of the system.
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
export FIO_NUMJOBS=$(nproc)
|
||||||
measure_temp.sh > ${1} &
|
measure_temp.sh > ${1} &
|
||||||
TPID=$!
|
TPID=$!
|
||||||
fio ~/git/pistress/fio/fio_cpu
|
fio ~/git/pistress/fio/fio_cpu
|
||||||
kill $TPID > /dev/null
|
kill $TPID > /dev/null
|
||||||
|
unset FIO_NUMJOBS
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ cpuchunks=100000
|
|||||||
runtime=3600
|
runtime=3600
|
||||||
time_based
|
time_based
|
||||||
group_reporting
|
group_reporting
|
||||||
numjobs=4
|
numjobs=${FIO_NUMJOBS}
|
||||||
|
|
||||||
[cpu-stress]
|
[cpu-stress]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user