]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Add simple rbd performance tests
authorVasu Kulkarni <vasu@redhat.com>
Sat, 6 Jan 2018 17:19:32 +0000 (09:19 -0800)
committerVasu Kulkarni <vasu@redhat.com>
Sat, 6 Jan 2018 17:19:32 +0000 (09:19 -0800)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/suites/rbd/librbd/clusters/fixed-3-rbd.yaml [new file with mode: 0644]
qa/suites/rbd/librbd/clusters/fixed-3.yaml [deleted symlink]
qa/suites/rbd/librbd/workloads/rbd_fio_perf_4k.yaml [new file with mode: 0644]
qa/suites/rbd/librbd/workloads/rbd_fio_perf_4m.yaml [new file with mode: 0644]
qa/suites/rbd/librbd/workloads/rbd_fio_perf_62k.yaml [new file with mode: 0644]

diff --git a/qa/suites/rbd/librbd/clusters/fixed-3-rbd.yaml b/qa/suites/rbd/librbd/clusters/fixed-3-rbd.yaml
new file mode 100644 (file)
index 0000000..7029213
--- /dev/null
@@ -0,0 +1,15 @@
+roles:
+- [mon.a, mgr.x]
+- [osd.0, osd.1, osd.2]
+- [mon.3, mgr.4, osd.5]
+- [osd.6, osd.7, osd.8]
+- [client.0]
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 10 # GB
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/suites/rbd/librbd/clusters/fixed-3.yaml b/qa/suites/rbd/librbd/clusters/fixed-3.yaml
deleted file mode 120000 (symlink)
index a3ac9fc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../clusters/fixed-3.yaml
\ No newline at end of file
diff --git a/qa/suites/rbd/librbd/workloads/rbd_fio_perf_4k.yaml b/qa/suites/rbd/librbd/workloads/rbd_fio_perf_4k.yaml
new file mode 100644 (file)
index 0000000..3be188c
--- /dev/null
@@ -0,0 +1,9 @@
+tasks:
+- rbd_fio:
+    client.0:
+      fio-io-size: 80%
+      formats: [2]
+      features: [[layering],[layering,exclusive-lock,object-map]]
+      io-engine: rbd
+      rw: randrw
+      runtime: 600
diff --git a/qa/suites/rbd/librbd/workloads/rbd_fio_perf_4m.yaml b/qa/suites/rbd/librbd/workloads/rbd_fio_perf_4m.yaml
new file mode 100644 (file)
index 0000000..b6c0706
--- /dev/null
@@ -0,0 +1,10 @@
+tasks:
+- rbd_fio:
+    client.0:
+      fio-io-size: 80%
+      formats: [2]
+      features: [[layering],[layering,exclusive-lock,object-map]]
+      io-engine: rbd
+      rw: randrw
+      bs: 4M
+      runtime: 600
diff --git a/qa/suites/rbd/librbd/workloads/rbd_fio_perf_62k.yaml b/qa/suites/rbd/librbd/workloads/rbd_fio_perf_62k.yaml
new file mode 100644 (file)
index 0000000..3be188c
--- /dev/null
@@ -0,0 +1,9 @@
+tasks:
+- rbd_fio:
+    client.0:
+      fio-io-size: 80%
+      formats: [2]
+      features: [[layering],[layering,exclusive-lock,object-map]]
+      io-engine: rbd
+      rw: randrw
+      runtime: 600