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

Tuning the client

The client tuning parameters should be defined under the [client] section of your Ceph configuration file. Usually, this [client] section should also be present in the Ceph configuration file hosted on the client node. The parameters are as follows:

  • rbd_cache: Enables caching for the RADOS Block Device (RBD):
        rbd_cache = true
  • rbd_cache_writethrough_until_flush: Starts out in write-through mode, and switches to writeback after the first flush request is received:
        rbd_cache_writethrough_until_flush = true
  • rbd_concurrent_management_ops: The number of concurrent management operations that can be performed on rbd:
        rbd_concurrent_management_ops = 10
  • rbd_cache_size: The rbd cache size in bytes:
        rbd_cache_size = 67108864 ...

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