diff --git a/mountpoint-s3/scripts/fio/write_latency/seq_write_small.fio b/mountpoint-s3/scripts/fio/write_latency/seq_write_small.fio index b316279da..fa4b2a76a 100644 --- a/mountpoint-s3/scripts/fio/write_latency/seq_write_small.fio +++ b/mountpoint-s3/scripts/fio/write_latency/seq_write_small.fio @@ -2,7 +2,7 @@ name=fs_bench bs=1B -[sequential_write_small_file] +[time_to_write_one_byte_file] size=1B rw=write ioengine=sync diff --git a/mountpoint-s3/scripts/fs_latency_bench.sh b/mountpoint-s3/scripts/fs_latency_bench.sh index bcf24a3a9..74d4a379f 100755 --- a/mountpoint-s3/scripts/fs_latency_bench.sh +++ b/mountpoint-s3/scripts/fs_latency_bench.sh @@ -126,8 +126,7 @@ do dir_size=$(awk "BEGIN {print $dir_size*10}") done - -run_start_time_to_first_byte_benchmarks() { +run_file_benchmarks() { category=$1 jobs_dir=mountpoint-s3/scripts/fio/${category}_latency for job_file in "${jobs_dir}"/*.fio; do @@ -188,8 +187,8 @@ for job_file in "${jobs_dir}"/*.fio; do done } -run_start_time_to_first_byte_benchmarks read -run_start_time_to_first_byte_benchmarks write +run_file_benchmarks read +run_file_benchmarks write # combine all bench results into one json file jq -n '[inputs]' ${results_dir}/*.json | tee ${results_dir}/output.json