Faster Ceph With Linux 5.16 Now That Async Dirops Have Been Flipped On

Written by Michael Larabel in Linux Storage on 12 November 2021 at 07:04 AM EST. 4 Comments
LINUX STORAGE
The Ceph open-source distributed storage system can now enjoy better performance out-of-the-box with Linux 5.16.

Last year with Linux 5.7 the Ceph file-system driver added the feature of async directory operations "dirops" and now finally with Linux 5.16 that is being enabled by default. After lots of testing this summer on Ceph's async dirops code, the developers are comfortable enabling it by default rather than requiring the "nowsync" mount option.

There is this USENIX presentation by Red Hat's Jeff Layton and Patrick Donnelly that covers the asynchronous directory operations for Ceph. Their numbers show removing a directory going from 10.3 seconds to just 0.3 seconds with async dirops, creating many files going from 11.3 seconds to 5.5 seconds, and other performance advantages to async directory operations.


So now with Linux 5.16 this behavior is the default while "wsync" has been added as a mount option for those preferring the old behavior or debugging purposes.

The Ceph pull request for Linux 5.16 sums up the async dirops as "greatly speeds up things like rm, tar, and rsync."
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week