]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados/thrash: add readproxy facet
authorSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:14:52 +0000 (07:14 -0800)
committerSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:14:52 +0000 (07:14 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
suites/rados/thrash/workloads/cache-pool-snaps-readproxy.yaml [new file with mode: 0644]

diff --git a/suites/rados/thrash/workloads/cache-pool-snaps-readproxy.yaml b/suites/rados/thrash/workloads/cache-pool-snaps-readproxy.yaml
new file mode 100644 (file)
index 0000000..59fa3e2
--- /dev/null
@@ -0,0 +1,33 @@
+overrides:
+  ceph:
+    log-whitelist:
+      - must scrub before tier agent can activate
+tasks:
+- 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 readproxy
+      - 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]
+    pools: [base]
+    ops: 4000
+    objects: 500
+    pool_snaps: true
+    op_weights:
+      read: 100
+      write: 100
+      delete: 50
+      copy_from: 50
+      flush: 50
+      try_flush: 50
+      evict: 50
+      snap_create: 50
+      snap_remove: 50
+      rollback: 50