diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/spdk/test/ftl/config | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/spdk/test/ftl/config')
-rw-r--r-- | src/spdk/test/ftl/config/.gitignore | 2 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/drive-prep.fio | 15 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randr.fio | 19 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randrw.fio | 20 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randw-verify-depth128.fio | 20 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randw-verify-j2.fio | 25 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randw-verify-qd128-ext.fio | 20 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randw-verify.fio | 20 | ||||
-rw-r--r-- | src/spdk/test/ftl/config/fio/randw.fio | 18 |
9 files changed, 159 insertions, 0 deletions
diff --git a/src/spdk/test/ftl/config/.gitignore b/src/spdk/test/ftl/config/.gitignore new file mode 100644 index 000000000..5523f29b3 --- /dev/null +++ b/src/spdk/test/ftl/config/.gitignore @@ -0,0 +1,2 @@ +ftl.conf +fio/*.fio diff --git a/src/spdk/test/ftl/config/fio/drive-prep.fio b/src/spdk/test/ftl/config/fio/drive-prep.fio new file mode 100644 index 000000000..430172ca9 --- /dev/null +++ b/src/spdk/test/ftl/config/fio/drive-prep.fio @@ -0,0 +1,15 @@ +[drive_prep] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +thread=1 + +direct=1 +buffered=0 +size=100% +randrepeat=0 +norandommap +bs=4k +iodepth=128 +numjobs=1 +rw=write diff --git a/src/spdk/test/ftl/config/fio/randr.fio b/src/spdk/test/ftl/config/fio/randr.fio new file mode 100644 index 000000000..f3f644476 --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randr.fio @@ -0,0 +1,19 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +direct=1 +thread=1 +buffered=0 +size=100% +randrepeat=0 +time_based +norandommap + +[test] +stonewall +bs=4k +numjobs=4 +rw=randread +iodepth=128 +runtime=1200 diff --git a/src/spdk/test/ftl/config/fio/randrw.fio b/src/spdk/test/ftl/config/fio/randrw.fio new file mode 100644 index 000000000..fdce9a477 --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randrw.fio @@ -0,0 +1,20 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +direct=1 +thread=1 +buffered=0 +size=100% +randrepeat=0 +time_based +norandommap + +[test] +stonewall +bs=4k +numjobs=4 +rw=randrw +rwmixread=70 +iodepth=32 +runtime=1200 diff --git a/src/spdk/test/ftl/config/fio/randw-verify-depth128.fio b/src/spdk/test/ftl/config/fio/randw-verify-depth128.fio new file mode 100644 index 000000000..9adee6cab --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randw-verify-depth128.fio @@ -0,0 +1,20 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +thread=1 +direct=1 +iodepth=128 +rw=randwrite +verify=crc32c +do_verify=1 +verify_dump=0 +verify_state_save=0 +verify_fatal=1 +bs=4k +random_distribution=normal +serialize_overlap=1 +io_size=256M + +[test] +numjobs=1 diff --git a/src/spdk/test/ftl/config/fio/randw-verify-j2.fio b/src/spdk/test/ftl/config/fio/randw-verify-j2.fio new file mode 100644 index 000000000..4610efa3f --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randw-verify-j2.fio @@ -0,0 +1,25 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +thread=1 +direct=1 +iodepth=128 +rw=randwrite +verify=crc32c +do_verify=1 +verify_dump=0 +verify_state_save=0 +verify_backlog=5000 +verify_fatal=1 +bs=4k +random_distribution=normal +serialize_overlap=1 +io_size=256M + +[first_half] +offset=0% +size=50% + +[second_half] +offset=50% diff --git a/src/spdk/test/ftl/config/fio/randw-verify-qd128-ext.fio b/src/spdk/test/ftl/config/fio/randw-verify-qd128-ext.fio new file mode 100644 index 000000000..f22b1f2ec --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randw-verify-qd128-ext.fio @@ -0,0 +1,20 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +thread=1 +direct=1 +iodepth=128 +rw=randwrite +verify=crc32c +do_verify=1 +verify_dump=0 +verify_state_save=0 +verify_fatal=1 +bs=4k +random_distribution=normal +serialize_overlap=1 + +[test] +io_size=64G +numjobs=1 diff --git a/src/spdk/test/ftl/config/fio/randw-verify.fio b/src/spdk/test/ftl/config/fio/randw-verify.fio new file mode 100644 index 000000000..edca6c618 --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randw-verify.fio @@ -0,0 +1,20 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +thread=1 +direct=1 +iodepth=1 +rw=randwrite +size=256M +verify=crc32c +do_verify=1 +verify_dump=0 +verify_state_save=0 +verify_backlog=16 +verify_fatal=1 +bs=68k +random_distribution=normal + +[test] +numjobs=1 diff --git a/src/spdk/test/ftl/config/fio/randw.fio b/src/spdk/test/ftl/config/fio/randw.fio new file mode 100644 index 000000000..f5b20b124 --- /dev/null +++ b/src/spdk/test/ftl/config/fio/randw.fio @@ -0,0 +1,18 @@ +[global] +ioengine=spdk_bdev +spdk_json_conf=${FTL_JSON_CONF} +filename=${FTL_BDEV_NAME} +direct=1 +thread=1 +buffered=0 +size=100% +randrepeat=0 +time_based +norandommap + +[test] +bs=4k +numjobs=1 +rw=randwrite +iodepth=64 +runtime=1200 |