1 Jan 2011 05:02
Bug#608532: linux-2.6: very low I/O performance when vm's virtual disk placed on btrfs partition
Aron Xu <happyaron.xu <at> gmail.com>
2011-01-01 04:02:23 GMT
2011-01-01 04:02:23 GMT
Package: linux-2.6 Version: 2.6.32-29 While I was running a qemu-kvm virtual machine, I placed the virtual disk on one of my btrfs partition and it results in very low I/O performance. Comparing with an Ext3/4 host partition, it slows several times. The test I ran was installing Squeeze using d-i beta2 netinst ISO image, using expert installation mode: 1. The one using btrfs got nearly stopped at approximately 33% (it's the time to start installing base system, i.e. installing apt/aptitude). It takes about 1 hour to go forward to 50%, with my hard disk making a lot of noise, and finally I shut down the virtual machine. 2. The other one using ext4, which I tried to compare the performance, can finish the installation in ~45 minutes. The two partition are exactly the same hard disk, actually I formatted the previous btrfs partition to ext4 when I ran the test. -- -- Regards, Aron Xu
I noticed that running the program on my machine froze my machine.
That's why I wrote the bug report ;)
Thanks for getting it working on your machine, but I already know it's a
stack overflow.
I'm just concerned that someone else may accidentally or deliberately
write a program that can freeze a machine when executing without
elevated privileges.
It's good to hear that at least with Xen, they can't.

RSS Feed