Re: [Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-21 Thread Paolo Bonzini
On 21/04/2015 11:53, Konstantin Krotov wrote: >> Can you detail the problem more? That could be a kernel bug. > > I connect to the host system, two storage systems as block devices. Both > block devices combine md-raid1. md-device use as disk for virtual > machine. If i use io=native, read perf

Re: [Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-21 Thread Konstantin Krotov
16.04.2015 14:57, Paolo Bonzini пишет: On 16/04/2015 13:17, Konstantin Krotov wrote: In my production system i'm interested to use io=thread, becouse i export MD raid1 devices to guest's and i need to read from the MD device performs balanced between raid1 legs (it's true only if io=thread).

Re: [Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-16 Thread Paolo Bonzini
On 16/04/2015 13:17, Konstantin Krotov wrote: > In my production system i'm interested to use io=thread, becouse i > export MD raid1 devices to guest's and i need to read from the MD device > performs balanced between raid1 legs (it's true only if io=thread). Can you detail the problem more? Tha

Re: [Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-16 Thread Konstantin Krotov
16.04.2015 04:27, Fam Zheng пишет: On Wed, 04/15 11:17, Konstantin Krotov wrote: Hello list! I performed tests with fio and obtained results: *** virtio-scsi with cache=none, io=threads, blok device is md-device from mdadm raid1, random r/w, 32 thread from guest (debian, kernel 3.16): fio f

Re: [Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-16 Thread Paolo Bonzini
On 16/04/2015 03:27, Fam Zheng wrote: > > virtio-scsi, on the other hand, provides more features and means to be more > scalable (you won't need to painfully mess with pci bridges to attach 1000 > disks). > > Anyway, we are working on improving virtio-scsi performance, although it's > theoretic

Re: [Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-15 Thread Fam Zheng
On Wed, 04/15 11:17, Konstantin Krotov wrote: > Hello list! > > I performed tests with fio and obtained results: > > *** virtio-scsi with cache=none, io=threads, blok device is md-device from > mdadm raid1, random r/w, 32 thread from guest (debian, kernel 3.16): > > fio fio1 > readtest: (g=0): r

[Qemu-devel] virtio-blk and virtio-scsi performance comparison

2015-04-15 Thread Konstantin Krotov
Hello list! I performed tests with fio and obtained results: *** virtio-scsi with cache=none, io=threads, blok device is md-device from mdadm raid1, random r/w, 32 thread from guest (debian, kernel 3.16): fio fio1 readtest: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=32