]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Add small cluster thrashing tasks
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 17 Jan 2012 23:06:24 +0000 (15:06 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Tue, 17 Jan 2012 23:08:02 +0000 (15:08 -0800)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
suites/regression/thrash/btrfs/with-btrfs.yaml [new file with mode: 0644]
suites/regression/thrash/clusters/6-osd-2-machine.yaml [new file with mode: 0644]
suites/regression/thrash/thrashers/default.yaml [new file with mode: 0644]
suites/regression/thrash/workloads/radosbench.yaml [new file with mode: 0644]
suites/regression/thrash/workloads/readwrite.yaml [new file with mode: 0644]
suites/regression/thrash/workloads/snaps.yaml [new file with mode: 0644]

diff --git a/suites/regression/thrash/btrfs/with-btrfs.yaml b/suites/regression/thrash/btrfs/with-btrfs.yaml
new file mode 100644 (file)
index 0000000..a16cc1b
--- /dev/null
@@ -0,0 +1,3 @@
+overrides:
+  ceph:
+    btrfs: 1
diff --git a/suites/regression/thrash/clusters/6-osd-2-machine.yaml b/suites/regression/thrash/clusters/6-osd-2-machine.yaml
new file mode 100644 (file)
index 0000000..e7e7504
--- /dev/null
@@ -0,0 +1,3 @@
+roles:
+- [mon.0, mds.a, osd.0, osd.1, osd.2]
+- [mon.1, mon.2, client.0, osd.3, osd.4, osd.5]
diff --git a/suites/regression/thrash/thrashers/default.yaml b/suites/regression/thrash/thrashers/default.yaml
new file mode 100644 (file)
index 0000000..2004588
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- ceph:
+    log-whitelist:
+    - wrongly marked me down or wrong addr
+- thrashosds:
diff --git a/suites/regression/thrash/workloads/radosbench.yaml b/suites/regression/thrash/workloads/radosbench.yaml
new file mode 100644 (file)
index 0000000..3940870
--- /dev/null
@@ -0,0 +1,4 @@
+tasks:
+- radosbench:
+    clients: [client.0]
+    time: 1800
diff --git a/suites/regression/thrash/workloads/readwrite.yaml b/suites/regression/thrash/workloads/readwrite.yaml
new file mode 100644 (file)
index 0000000..c53e52b
--- /dev/null
@@ -0,0 +1,9 @@
+tasks:
+- rados:
+    clients: [client.0]
+    ops: 4000
+    objects: 500
+    op_weights:
+      read: 45
+      write: 45
+      delete: 10
diff --git a/suites/regression/thrash/workloads/snaps.yaml b/suites/regression/thrash/workloads/snaps.yaml
new file mode 100644 (file)
index 0000000..bb0c500
--- /dev/null
@@ -0,0 +1,12 @@
+tasks:
+- rados:
+    clients: [client.0]
+    ops: 4000
+    objects: 500
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      snap_create: 50
+      snap_remove: 50
+      snap_rollback: 50