Re: [Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-08 Thread Wangting (Kathy)
On 2015-2-8 18:10, Paolo Bonzini wrote: > > > On 07/02/2015 12:26, Wangting (Kathy) wrote: >> OK, Thank you very much for your detailed explanation. >> >> But I have another question about the big change from qemu-1.5.3 to >> qemu-1.6.0-rc0. >> >> When I use ramdisk for IO performance testing,

Re: [Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-08 Thread Paolo Bonzini
On 07/02/2015 12:26, Wangting (Kathy) wrote: > OK, Thank you very much for your detailed explanation. > > But I have another question about the big change from qemu-1.5.3 to > qemu-1.6.0-rc0. > > When I use ramdisk for IO performance testing, the result is as follows. > > [fio-test]

Re: [Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-07 Thread Wangting (Kathy)
OK, Thank you very much for your detailed explanation. But I have another question about the big change from qemu-1.5.3 to qemu-1.6.0-rc0. When I use ramdisk for IO performance testing, the result is as follows. [fio-test] rw bs iodepthjobs bw iops ---

Re: [Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-03 Thread Paolo Bonzini
On 03/02/2015 03:56, Wangting (Kathy) wrote: > Sorry, I find that the patch of "virtio-scsi: Optimize virtio_scsi_init_req" > can slove this problem. Great that you could confirm that. :) > By the way, can you tell me the reason of the change about cdb and sense? cdb and sense are variable-size

Re: [Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-03 Thread Paolo Bonzini
On 03/02/2015 03:31, Wangting (Kathy) wrote: > Hi Paolo, > > Recently I test IO performance with virtio-scsi, and find out that the patch > of > "virtio-scsi: add support for the any_layout feature" affects IO performance > of model > with 4KB 32iodepth sequence read. > > Why cdb and sense is

Re: [Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-02 Thread Wangting (Kathy)
Sorry, I find that the patch of "virtio-scsi: Optimize virtio_scsi_init_req" can slove this problem. By the way, can you tell me the reason of the change about cdb and sense? On 2015-2-3 10:31, Wangting (Kathy) wrote: > Hi Paolo, > > Recently I test IO performance with virtio-scsi, and find out

[Qemu-devel] [question] the patch which affect performance of virtio-scsi

2015-02-02 Thread Wangting (Kathy)
Hi Paolo, Recently I test IO performance with virtio-scsi, and find out that the patch of "virtio-scsi: add support for the any_layout feature" affects IO performance of model with 4KB 32iodepth sequence read. Why cdb and sense is removed from the struct of VirtIOSCSICmdReq and VirtIOSCSICmdRes