[sheepdog-users] cache performance test

Liu Yuan namei.unix at gmail.com
Wed Jul 17 17:41:31 CEST 2013


在 2013-7-17 PM11:37,"Valerio Pachera" <sirio81 at gmail.com>写道:
>
> Here I am with a new performance test with Sheepdog 0.6.0_127_g085568a.
> I don't understand the reason, but write speed with cache enabled is
> the same as without cache.
>
> The host where I'm running the guest has this configuration:
>   sheep -w size=20000 /mnt/sheep/meta/,/mnt/sheep/dsk02
>
> /dev/sda3 on /mnt/sheep/meta type xfs (rw,relatime,attr2,delaylog,noquota)
> /dev/sdb1 on /mnt/sheep/dsk02 type xfs
(rw,relatime,attr2,delaylog,noquota)
>
> sda is and ssd disk!
>
> The guest
> qemu-system-x86_64 -name backup -enable-kvm -drive
> file=sheepdog:backup,cache=writeback -drive
> file=sheepdog:backup_data,cache=writeback ...
>
> dd if=/dev/zero of=c1 bs=1M count=512 oflag=sync
> 512+0 record dentro
> 512+0 record fuori
> 536870912 byte (537 MB) copiati, 63,3792 s, 8,5 MB/s
>

may you try it on you host too?oflag=sync is always slow. try oflag=direct
instead

> I'm writing into sheepdog:backup_data (1T), also formatted with xfs.
>
> The other two hosts have almost the same configuration:
>   sheep -w size=20000
/mnt/sheep/dsk01,/mnt/sheep/dsk01/obj,/mnt/sheep/dsk02
>
> /dev/vg00/sheepdog      /mnt/sheep/dsk01        xfs
> defaults,noatime        0       2
> /dev/sdb1       /mnt/sheep/dsk02       xfs     defaults,noatime        0
      2
>
> No ssd here.
> The performance is exactly the same.
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20130717/61189121/attachment-0005.html>


More information about the sheepdog-users mailing list