[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread |
Date: |
Fri, 26 Apr 2019 10:14:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 23/04/19 14:04, Stefan Hajnoczi wrote:
>> In addition, does Virtio-scsi support Batch I/O Submission feature
>> which may be able to increase the IOPS via reducing the number of
>> system calls?
>
> I don't see obvious batching support in drivers/scsi/virtio_scsi.c.
> The Linux block layer supports batching but I'm not sure if the SCSI
> layer does.
I think he's referring to QEMU, in which case yes, virtio-scsi does
batch I/O submission. See virtio_scsi_handle_cmd_req_prepare and
virtio_scsi_handle_cmd_req_submit in hw/scsi/virtio-scsi.c, they do
blk_io_plug and blk_io_unplug in order to batch I/O requests from QEMU
to the host kernel.
Paolo
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, (continued)
Message not available
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Wei Li, 2019/04/15
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Dongli Zhang, 2019/04/15
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Stefan Hajnoczi, 2019/04/16
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Wei Li, 2019/04/16
- Message not available
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Wei Li, 2019/04/23
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Stefan Hajnoczi, 2019/04/23
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread,
Paolo Bonzini <=
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Wei Li, 2019/04/26
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Paolo Bonzini, 2019/04/27
- Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Wei Li, 2019/04/29
Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Stefan Hajnoczi, 2019/04/29
Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Wei Li, 2019/04/29
Re: [Qemu-devel] Following up questions related to QEMU and I/O Thread, Paolo Bonzini, 2019/04/30