VirtIO-FS Is Looking Quite Good For Shared File-System With VMs

Written by Michael Larabel in Virtualization on 6 February 2020 at 06:58 AM EST. 6 Comments
VIRTUALIZATION
Added back to Linux 5.4 was VirtIO-FS for better file/folder sharing with guest VMs that makes use of the FUSE protocol but is much faster than the likes of virtio-9p.

Stefan Hajnoczi of Red Hat's virtualization team presented at the FOSDEM 2020 conference last week on this new shared file-system for virtual machines. The VirtIO-FS performance numbers shared during the presentation indeed put it in much better shape than virtio-9p while obviously coming up short of the raw potential offered by virtio-blk. With the DAX mount option for direct access can allow bypassing the guest page cache too for better performance.

While there is Virtiofsd as the default server for exposing directories to a guest, Hajnoczi did raise the possibilities of creating custom servers for backing VirtIO-FS by a distributed storage system, exposing a synthetic file-system from the host, and other possibilities.

Those wanting to learn more about VirtIO-FS can do so via Stefan's slide deck (PDF).
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