Now that we have a cache tier configured, we need to set some recommended configuration options for the cache pool:
- If looking to use a cache-tier in a production deployment, you should use the bloom filters data structure after careful review of the cache-tier considerations:
# ceph osd pool set cache-pool hit_set_type bloom
- hit_set_count defines how much time in seconds each hit set should cover, and hit_set_period defines how many such hit sets are to be persisted:
# ceph osd pool set cache-pool hit_set_count 1 # ceph osd pool set cache-pool hit_set_period = 300
- target_max_bytes is the maximum number of bytes after the cache-tiering agent starts flushing/evicting objects from a cache pool. target_max_objects is the ...