Ceph: Designing and Implementing Scalable Storage Systems
by Michael Hackett, Vikhyat Umrao, Karan Singh, Nick Fisk
XFS filesystem settings
Busy XFS-based FileStore OSDs may find that these settings optimize performance, especially if you have the luxury of using SSDs. The XFS metadata sync operations have traditionally been intrusive and somewhat painful. When the sync thread awakens it may pre-empt the writes of all other processes (threads), which can interfere with Ceph's journal and data flushes. The fs.xfs settings here help to mitigate that effect.
The fs.aio-max-nr setting expands the queue for disk operations. Modest to moderate OSD nodes say those with fewer than 20 OSDs, may do fine with the default value. As the per-host OSD density increases, it increasingly becomes a limiting factor. Throughput benefits from scaling this value proportionally ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access