Tweak fio tests for benchmarks

1. Remove ramp_time as this was giving very strange results.

2. Up the runtime to 75 seconds to compensate.

3. Print the fio command to the console to validate.
This commit is contained in:
Joshua Boniface 2021-10-03 15:06:18 -04:00
parent a09578fcf5
commit 3948206225
1 changed files with 2 additions and 2 deletions

View File

@ -244,8 +244,7 @@ def run_benchmark(self, pool):
--randrepeat=1 \
--numjobs=1 \
--time_based \
--runtime=60 \
--ramp_time=15 \
--runtime=75 \
--group_reporting \
--iodepth={iodepth} \
--bs={bs} \
@ -258,6 +257,7 @@ def run_benchmark(self, pool):
bs=test_matrix[test]['bs'],
rw=test_matrix[test]['rw'])
print("Running fio job: {}".format(' '.join(fio_cmd.split())))
retcode, stdout, stderr = pvc_common.run_os_command(fio_cmd)
if retcode:
raise BenchmarkError("Failed to run fio test: {}".format(stderr), job_name=job_name, db_conn=db_conn, db_cur=db_cur, zkhandler=zkhandler)