Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
A new set of patches posted for the Plan 9 (9p) resource sharing protocol code inside the Linux kernel can deliver roughly 10x better performance for file transfers.
If all is in good shape with these patches, the 9p remote file-system protocol implementation within the Linux kernel stands to see much better performance. The 9p code on Linux remains important for VirtFS and other purposes around sharing files with guest virtual machines.
The proposed patches adjust the maximum message size to accommodate the header size, expanding writeback caching to all levels, consolidating different file operations, optional disabling of xattr support depending upon the mount option to reduce extra messages, and other improvements as well as some 9p code fixes.
Eric Van Hensbergen who worked on these Linux 9p performance optimization patches commented on the patch series,”Altogether, these show roughly 10x speed increases on simple file transfers. Future patch sets will improve cache consistency and directory caching…Tested against qemu, cpu, and diod with fsx, dbench, and some simple benchmarks.“
If the patch review goes well these patches could end up in a future Linux kernel release for speeding up 9p file transfers to virtual machines and other p9 uses.