VM disk performance on btrfs partition

Recently I read Alexandre Rosenfeld’s blog post about low performance of btrfs while placing VM’s disk on it, so I had a try and got almost the same result.

I tried to have someone look into the problem, and now get the answer, quoting Bastian Blank :

This is a result of the filesystem design, no bug. For decent performance don’t use O_SYNC on files. For qemu use cache=writeback in the disk definition.

One thought on “VM disk performance on btrfs partition”

Comments are closed.

This work by Aron Xu is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported.