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
7c122ac921
commit
32b3af697c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue