fio uses all cores of the system.

This commit is contained in:
2026-02-27 09:14:32 +01:00
parent dcd6806e72
commit 3d68686a96
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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]