O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Now that we have a cache tier configured, we need to set some recommended configuration options for the cache pool:

  1. 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
  1. 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
  1. 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required