[sheepdog-users] Performance without cache

Liu Yuan namei.unix at gmail.com
Wed Aug 21 11:10:31 CEST 2013


On Wed, Aug 21, 2013 at 10:56:54AM +0200, Valerio Pachera wrote:
> 2013/8/21 MORITA Kazutaka <morita.kazutaka at gmail.com>:
> > Can you give us the complete sheep command line options and the qemu
> > tree you are using?
> 
> Yesterday I was using the master branch of sheep and qemu 1.6.50 (from git).
> Both have been downloaded and compiled yesterday morning (~7 utc).
> Note: qemu was compiled on my laptop (always debian wheezy).
> Sheep was run like this
>   sheep -n size=20000 /mnt/sheep/dsk01,/mnt/sheep/dsk01/obj,/mnt/sheep/dsk02
> 
> Now I'm running
> QEMU emulator version 1.6.0 (the branch taken from
> git://github.com/sheepdog/qemu.git)
> 
> And latest master of sheep
> Sheep 0.7.0_8_gf9d11c6.
> 
> I removed the object cache option (I was not using it anyway. cache=directsync)
> sheep -n /mnt/sheep/dsk01,/mnt/sheep/dsk01/obj,/mnt/sheep/dsk02
> 
> > (The output of 'git log -1 --oneline' on your
> > qemu directory may help us.)
> 
> git log -1 --oneline
> 81017d9 sheepdog: check simultaneous create in resend_aioreq
> 
> Now option '-n' is working fine!
> 
> I get 45-60 M/s.
> dd if=/dev/zero of=/mnt/small/c bs=1M count=512 oflag=direct
> 
> qemu-system-x86_64 -name wheezy_template -enable-kvm -drive
> file=sheepdog:wheezy_template,if=virtio -drive
> file=sheepdog:big,if=virtio -drive file=sheepdog:small,if=virtio -m
> 512 -smp 2

Could you restart all sheep with -j and run the same dd in guest too(no -n)?

I just want to compare the performance gain between '-n' and '-j'.

Note, we shouldn't enable both '-n' and '-j' for sheep.

Thanks
Yuan



More information about the sheepdog-users mailing list