Ceph Minimal Resource ceph.conf

  • 2

Ceph Minimal Resource ceph.conf

Tags :

Category : Supporting Scripts

Get Social!

The below file content should be added to your ceph.conf file to reduce the resource footprint for low powered machines.

The file may need to be tweaked and tested, as with any configuration, but pay particular attention to osd journal size. As with many data storage systems, Ceph creates a journal file of content that’s waiting to be committed to ‘proper’ storage. The osd journal size sets the the maximum amount of data that can be stored in the journal.

It should be calculated as follows:

2 * (T * filestore max sync interval)

T in this scenario is the lowest maximum throughput that’s expected through the network or on the disk. For example, a standard mechanical hard disk writes at roughly 100MB/ s. A 1GBPS network has a maximum throughput of 125 MB/s and therefore 100MB is the value of T. The parameter filestore max sync interval is 5 by default.

Therefore, 2 * (100 * 5 ) = 1000.

With thanks to Bryan Apperson for the config.


2 Comments

Matt

28-Apr-2016 at 11:07 pm

I appreciate the ceph articles. Recently took the ceph plunge for my home server. Putting the journals on an SD keeps the throughput high and allows me to use cheap spinners.

Would never go back to lvm, mergefs, zfs, raid, etc……

    james.coyle

    29-Apr-2016 at 7:44 am

    It’s the future, Matt!

Leave a Reply