qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu-img create: set "nocow" flag to solve performance issu


From: Chunyan Liu
Subject: [Qemu-devel] qemu-img create: set "nocow" flag to solve performance issue on btrfs
Date: Wed, 25 Sep 2013 14:38:36 +0800

Hi, List,

Btrfs has terrible performance when hosting VM images, even more when the guest in those VM are also using btrfs as file system.
One way to mitigate this bad performance would be to turn off COW attributes on VM files (since having copy on write for this kind of data is not useful). We could improve qemu-img to ensure they flag newly created images as "nocow". For those who want to use Copy-on-write (for snapshotting, to share snapshots across VM, etc..) could be able to change this behaviour by 'chattr', either globally or per VM.

I wonder could we add a patch to improve qemu-img create, to set 'nocow' flag by default on newly created images?

Thanks,
Chunyan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]