I'm running a Raid5 (3x 500GB Sata2 HDD) based on btrfs 3.12
(Ubuntu 14.04 x64) and a VirutalBox VM uses this volume. As long as no other process accesses the volume, the VM runs fine. But recently I copied a larger file to that volume too and I almost got no iops out of my VM. Opening even small programs inside the VM took up to several minutes. The copy process in contrast runs on acceptable speed. Furthermore I used gzip
to zip that large file on the btrfs
volume and virtual box seems to have issues keeping the VM alive (vm windows turns grey, did not respond).
I found that using the mount option noatime
could help to improve performance, but as I only access two files on the volume (the VM's VDI and the other file) I think this would not improve the situation much.
Could you please explain this behaviour to me and maybe suggest something to improve the VM's throughput?
linux-generic-lts-utopic
).$ btrfs --version
;Btrfs v3.12
;uname -a
;Linux hostname 3.16.0-34-generic #47~14.04.1-Ubuntu SMP Fri Apr 10 17:49:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
btrfs
command line management tool is not the same as the kernel modules. :) Don't confuse the two.