+++ /dev/null
-roles:
-- - mon.a
- - osd.0
- - osd.1
- - osd.2
-- - osd.3
- - osd.4
- - osd.5
- - client.0
-tasks:
-- install:
-- ceph:
- log-whitelist:
- - wrongly marked me down
- - slow request
-- 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 60
- - ceph osd pool set cache target_max_objects 500
-- background_exec:
- mon.a:
- - while true
- - do sleep 30
- - echo forward
- - ceph osd tier cache-mode cache forward
- - sleep 10
- - ceph osd pool set cache cache_target_full_ratio .001
- - echo cache-try-flush-evict-all
- - rados -p cache cache-try-flush-evict-all
- - sleep 5
- - echo cache-flush-evict-all
- - rados -p cache cache-flush-evict-all
- - sleep 5
- - echo remove overlay
- - ceph osd tier remove-overlay base
- - sleep 20
- - echo add writeback overlay
- - ceph osd tier cache-mode cache writeback
- - ceph osd pool set cache cache_target_full_ratio .8
- - ceph osd tier set-overlay base cache
- - sleep 30
- - ceph osd tier cache-mode cache readforward
- - done
-- rados:
- clients: [client.0]
- pools: [base]
- max_seconds: 600
- ops: 400000
- objects: 10000
- size: 1024
- op_weights:
- read: 100
- write: 100
- delete: 50
- copy_from: 50