[Gluster-users] mirrored glusterfs for virtual machine images?

Tomasz Chmielewski mangoo at wpkg.org
Sun Apr 25 21:24:08 UTC 2010

Am 25.04.2010 23:05, Jon M. Skelton wrote:
> I'm currently doing this. Ubuntu 10.04 (beta) using glusterfs to mirror
> qcow2 KVM machine images. Works quite well. In both your crashing cases,
> things look much like when VM gets 'virsh destroy'. It's a little rough
> on the filesystem contained within the machine image. I've had some luck
> cleaning them up accessing the machine image filesystems via qemu-nbd:

Did you compare how much performance drops, versus bare metal?

I.e. run it in virtual guest, virtual host and the glusterfs server 
itself (if virtual host is a different server than at least one of 
glusterfs servers)?

time dd if=/dev/zero of=/bigfile bs=1M count=5000

time dd if=/bigfile of=/dev/null bs=64k

And drop caches between each run with:

echo 3 > /proc/sys/vm/drop_caches

Tomasz Chmielewski

More information about the Gluster-users mailing list