FUSE File-Systems Pick Up Another Performance Boost With Symlink Caching

Written by Michael Larabel in Linux Storage on 15 October 2018 at 02:00 PM EDT. Add A Comment
LINUX STORAGE
FUSE file-systems in user-space are set to be running faster with the upcoming Linux 4.20~5.0 kernel thanks to several performance optimizations.

The FUSE kernel code for this next Linux kernel cycle already has a hash table optimization and separately is copy file range support for efficient file copy operations. Staged today into the FUSE tree for the next cycle was yet another performance-boosting patch.

Facebook engineer Dan Schatzberg noted they are working on a FUSE file-system and they ended up discovering that symlink reads are not being cached in the page cache compared to file reads. When enabling the caching of symlinks, they at Facebook discovered around a 10% improvement to build times for source code being built from their FUSE file-system with the source tree being built having lots of symlinks.

Details on the symlink cache in this staged commit.
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