New Patches Aim To Boost Linux 9p Performance By ~10x
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.