mirror of
https://github.com/ceph/ceph
synced 2025-01-06 03:01:24 +00:00
2ee9365d0b
Signed-off-by: Sage Weil <sage@newdream.net>
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
overrides:
|
|
ceph:
|
|
log-ignorelist:
|
|
- must scrub before tier agent can activate
|
|
conf:
|
|
osd:
|
|
# override short_pg_log_entries.yaml (which sets these under [global])
|
|
osd_min_pg_log_entries: 3000
|
|
osd_max_pg_log_entries: 3000
|
|
tasks:
|
|
- exec:
|
|
client.0:
|
|
- sudo ceph osd erasure-code-profile set myprofile crush-failure-domain=osd m=2 k=2
|
|
- sudo ceph osd pool create base 4 4 erasure myprofile
|
|
- sudo ceph osd pool application enable base rados
|
|
- sudo ceph osd pool set base min_size 2
|
|
- 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 60
|
|
- sudo ceph osd pool set cache target_max_objects 5000
|
|
- rados:
|
|
clients: [client.0]
|
|
pools: [base]
|
|
ops: 10000
|
|
objects: 6600
|
|
max_seconds: 1200
|
|
size: 1024
|
|
op_weights:
|
|
read: 100
|
|
write: 100
|
|
delete: 50
|
|
copy_from: 50
|