mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +00:00
f5f2ced624
SLOW_OPS unifies both of them since mimic Signed-off-by: Kefu Chai <kchai@redhat.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
tasks:
|
|
- install: null
|
|
- ceph:
|
|
log-whitelist:
|
|
- overall HEALTH_
|
|
- \(OSDMAP_FLAGS\)
|
|
- \(OSD_
|
|
- \(PG_
|
|
- \(POOL_
|
|
- \(CACHE_POOL_
|
|
- \(SMALLER_PGP_NUM\)
|
|
- \(OBJECT_
|
|
- \(SLOW_OPS\)
|
|
- \(TOO_FEW_PGS\)
|
|
- thrashosds:
|
|
chance_pgnum_grow: 2
|
|
chance_pgpnum_fix: 1
|
|
timeout: 1200
|
|
- exec:
|
|
client.0:
|
|
- sudo ceph osd pool create base 4
|
|
- sudo ceph osd pool application enable base rados
|
|
- sudo ceph osd pool create cache 4
|
|
- sudo ceph osd tier add base cache
|
|
- sudo ceph osd tier cache-mode cache writeback
|
|
- sudo ceph osd tier set-overlay base cache
|
|
- sudo ceph osd pool set cache hit_set_type bloom
|
|
- sudo ceph osd pool set cache hit_set_count 8
|
|
- sudo ceph osd pool set cache hit_set_period 3600
|
|
- sudo ceph osd pool set cache target_max_objects 250
|
|
- rados:
|
|
clients:
|
|
- client.0
|
|
objects: 500
|
|
op_weights:
|
|
copy_from: 50
|
|
delete: 50
|
|
cache_evict: 50
|
|
cache_flush: 50
|
|
read: 100
|
|
rollback: 50
|
|
snap_create: 50
|
|
snap_remove: 50
|
|
cache_try_flush: 50
|
|
write: 100
|
|
ops: 4000
|
|
pool_snaps: true
|
|
pools:
|
|
- base
|