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