fio test no need input args: zero_buffers,iodepth_batch, iodepth_batch_complete
Signed-off-by: Wei Jihui weijihuiall@163.com --- jobs/fio-basic-openeuler.yaml | 3 --- setup/fio-setup-basic | 16 ---------------- 2 files changed, 19 deletions(-)
diff --git a/jobs/fio-basic-openeuler.yaml b/jobs/fio-basic-openeuler.yaml index 7aae3eb9..3fcdaac8 100644 --- a/jobs/fio-basic-openeuler.yaml +++ b/jobs/fio-basic-openeuler.yaml @@ -8,9 +8,6 @@ fio-setup-basic: iodepth: 1024 nr_task: 2 test_size: 1G - zero_buffers: 1 - iodepth_batch: 2 - iodepth_batch_complete: 4 rwmixread: 70 rw: - write diff --git a/setup/fio-setup-basic b/setup/fio-setup-basic index 157947bb..103f84ab 100755 --- a/setup/fio-setup-basic +++ b/setup/fio-setup-basic @@ -20,11 +20,7 @@ # - numa_cpu_nodes # - pre_read # - rwmixread -# - zero_buffers # - ioscheduler -# - iodepth_batch -# - iodepth_batch_complate -# - partitions
. $LKP_SRC/lib/common.sh . $LKP_SRC/lib/unit.sh @@ -50,10 +46,7 @@ size=$((test_size / nr_task)) : ${file_service_type:=roundrobin} : ${random_distribution:=random} : ${pre_read:=0} -: ${zero_buffers:=0} : ${ioscheduler:=none} -: ${iodepth_batch:=0} -: ${iodepth_batch_complete:=0}
direct=$(parse_bool $direct) raw_disk=$(parse_bool $raw_disk) @@ -102,15 +95,6 @@ group_reporting create_only=1 pre_read=$pre_read " -params="zero_buffers iodepth_batch iodepth_batch_complete" -for param in $params; do - param_value="$(eval echo '$'$param)" - if [ "$param_value" != 0 ]; then - create_task="\ -$create_task -$param=$param_value" - fi -done
if [ "$ioscheduler" != "none" ]; then create_task="\
On Mon, Oct 12, 2020 at 07:48:01PM +0800, Wei Jihui wrote:
fio test no need input args: zero_buffers,iodepth_batch, iodepth_batch_complete
Signed-off-by: Wei Jihui weijihuiall@163.com
jobs/fio-basic-openeuler.yaml | 3 --- setup/fio-setup-basic | 16 ---------------- 2 files changed, 19 deletions(-)
diff --git a/jobs/fio-basic-openeuler.yaml b/jobs/fio-basic-openeuler.yaml index 7aae3eb9..3fcdaac8 100644 --- a/jobs/fio-basic-openeuler.yaml +++ b/jobs/fio-basic-openeuler.yaml @@ -8,9 +8,6 @@ fio-setup-basic: iodepth: 1024 nr_task: 2 test_size: 1G
- zero_buffers: 1
- iodepth_batch: 2
- iodepth_batch_complete: 4 rwmixread: 70 rw:
- write
diff --git a/setup/fio-setup-basic b/setup/fio-setup-basic index 157947bb..103f84ab 100755 --- a/setup/fio-setup-basic +++ b/setup/fio-setup-basic @@ -20,11 +20,7 @@ # - numa_cpu_nodes # - pre_read # - rwmixread -# - zero_buffers # - ioscheduler -# - iodepth_batch -# - iodepth_batch_complate -# - partitions
The partitions was also deleted, is that you want? Thanks, Xueliang
. $LKP_SRC/lib/common.sh . $LKP_SRC/lib/unit.sh @@ -50,10 +46,7 @@ size=$((test_size / nr_task)) : ${file_service_type:=roundrobin} : ${random_distribution:=random} : ${pre_read:=0} -: ${zero_buffers:=0} : ${ioscheduler:=none} -: ${iodepth_batch:=0} -: ${iodepth_batch_complete:=0}
direct=$(parse_bool $direct) raw_disk=$(parse_bool $raw_disk) @@ -102,15 +95,6 @@ group_reporting create_only=1 pre_read=$pre_read " -params="zero_buffers iodepth_batch iodepth_batch_complete" -for param in $params; do
- param_value="$(eval echo '$'$param)"
- if [ "$param_value" != 0 ]; then
create_task="\
-$create_task -$param=$param_value"
- fi
-done
if [ "$ioscheduler" != "none" ]; then create_task="\ -- 2.23.0