]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
smoke: add some rados osd thrashing test
authorSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 16:44:07 +0000 (09:44 -0700)
committerSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 16:44:07 +0000 (09:44 -0700)
ec, caching, snaps

Signed-off-by: Sage Weil <sage@inktank.com>
suites/smoke/basic/tasks/rados_api_tests.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rados_bench.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rados_cache_snaps.yaml [new file with mode: 0644]
suites/smoke/basic/tasks/rados_ec_snaps.yaml [new file with mode: 0644]

diff --git a/suites/smoke/basic/tasks/rados_api_tests.yaml b/suites/smoke/basic/tasks/rados_api_tests.yaml
new file mode 100644 (file)
index 0000000..7049319
--- /dev/null
@@ -0,0 +1,15 @@
+tasks:
+- install: null
+- ceph:
+    fs: ext4
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+- thrashosds:
+    chance_pgnum_grow: 2
+    chance_pgpnum_fix: 1
+    timeout: 1200
+- workunit:
+    clients:
+      client.0:
+      - rados/test.sh
diff --git a/suites/smoke/basic/tasks/rados_bench.yaml b/suites/smoke/basic/tasks/rados_bench.yaml
new file mode 100644 (file)
index 0000000..f93b4a6
--- /dev/null
@@ -0,0 +1,24 @@
+overrides:
+  ceph:
+    conf:
+      global:
+        ms inject delay max: 1
+        ms inject delay probability: 0.005
+        ms inject delay type: osd
+        ms inject internal delays: 0.002
+        ms inject socket failures: 2500
+tasks:
+- install: null
+- ceph:
+    fs: xfs
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+- thrashosds:
+    chance_pgnum_grow: 2
+    chance_pgpnum_fix: 1
+    timeout: 1200
+- radosbench:
+    clients:
+    - client.0
+    time: 1800
diff --git a/suites/smoke/basic/tasks/rados_cache_snaps.yaml b/suites/smoke/basic/tasks/rados_cache_snaps.yaml
new file mode 100644 (file)
index 0000000..37ef509
--- /dev/null
@@ -0,0 +1,41 @@
+tasks:
+- install: null
+- ceph:
+    fs: btrfs
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+- thrashosds:
+    chance_pgnum_grow: 2
+    chance_pgpnum_fix: 1
+    timeout: 1200
+- exec:
+    client.0:
+    - ceph osd pool create base 4
+    - ceph osd pool create cache 4
+    - ceph osd tier add base cache
+    - ceph osd tier cache-mode cache writeback
+    - ceph osd tier set-overlay base cache
+    - ceph osd pool set cache hit_set_type bloom
+    - ceph osd pool set cache hit_set_count 8
+    - ceph osd pool set cache hit_set_period 3600
+    - ceph osd pool set cache target_max_objects 250
+- rados:
+    clients:
+    - client.0
+    objects: 500
+    op_weights:
+      copy_from: 50
+      delete: 50
+      evict: 50
+      flush: 50
+      read: 100
+      rollback: 50
+      snap_create: 50
+      snap_remove: 50
+      try_flush: 50
+      write: 100
+    ops: 4000
+    pool_snaps: true
+    pools:
+    - base
diff --git a/suites/smoke/basic/tasks/rados_ec_snaps.yaml b/suites/smoke/basic/tasks/rados_ec_snaps.yaml
new file mode 100644 (file)
index 0000000..d9282bf
--- /dev/null
@@ -0,0 +1,31 @@
+tasks:
+- install: null
+- ceph:
+    fs: xfs
+    log-whitelist:
+    - wrongly marked me down
+    - objects unfound and apparently lost
+- thrashosds:
+    chance_pgnum_grow: 3
+    chance_pgpnum_fix: 1
+    timeout: 1200
+- rados:
+    clients:
+    - client.0
+    ec_pool: true
+    max_in_flight: 64
+    max_seconds: 600
+    objects: 1024
+    op_weights:
+      append: 100
+      copy_from: 50
+      delete: 50
+      read: 100
+      rmattr: 25
+      rollback: 50
+      setattr: 25
+      snap_create: 50
+      snap_remove: 50
+      write: 0
+    ops: 400000
+    size: 16384