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 response to “VM disk performance on btrfs partition”

  1. Tweets that mention » VM disk performance on btrfs partition True EDGE -- Topsy.com

    […] This post was mentioned on Twitter by Arjan Waardenburg and others. Arjan Waardenburg said: Aron Xu: VM disk performance on btrfs partition: Recently I read Alexandre Rosenfeld’s blog post about low perfo… http://bit.ly/dTL3Z8 […]

Leave a Reply

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