]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/test: add perf tests for crimson
authorKefu Chai <kchai@redhat.com>
Mon, 12 Aug 2019 12:10:35 +0000 (20:10 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Aug 2019 02:37:54 +0000 (10:37 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/cbt/radosbench_4K_read.yaml [new file with mode: 0644]
src/test/crimson/cbt/radosbench_4K_write.yaml [new file with mode: 0644]

diff --git a/src/test/crimson/cbt/radosbench_4K_read.yaml b/src/test/crimson/cbt/radosbench_4K_read.yaml
new file mode 100644 (file)
index 0000000..59a1b09
--- /dev/null
@@ -0,0 +1,29 @@
+meta:
+- desc: |
+   Run radosbench benchmark using cbt.
+   4K read workload.
+
+tasks:
+- cbt:
+    benchmarks:
+      radosbench:
+        concurrent_ops: 16
+        concurrent_procs: 2
+        op_size: [4096]
+        pool_profile: 'replicated'
+        read_time: 30
+        read_only: true
+        prefill_time: 3
+    monitoring_profiles:
+      perf:
+        nodes:
+          - osds
+        args: 'stat -p {pid} -o {perf_dir}/perf_stat.{pid}'
+    cluster:
+      osds_per_node: 3
+      iterations: 1
+      pool_profiles:
+        replicated:
+          pg_size: 128
+          pgp_size: 128
+          replication: 'replicated'
diff --git a/src/test/crimson/cbt/radosbench_4K_write.yaml b/src/test/crimson/cbt/radosbench_4K_write.yaml
new file mode 100644 (file)
index 0000000..175c182
--- /dev/null
@@ -0,0 +1,28 @@
+meta:
+- desc: |
+   Run radosbench benchmark using cbt.
+   4K write workload.
+
+tasks:
+- cbt:
+    benchmarks:
+      radosbench:
+        concurrent_ops: 16
+        concurrent_procs: 2
+        op_size: [4096]
+        pool_profile: 'replicated'
+        write_time: 3
+        write_only: true
+    monitoring_profiles:
+      perf:
+        nodes:
+          - osds
+        args: 'stat -p {pid} -o {perf_dir}/perf_stat.{pid}'
+    cluster:
+      osds_per_node: 3
+      iterations: 1
+      pool_profiles:
+        replicated:
+          pg_size: 128
+          pgp_size: 128
+          replication: 'replicated'