Re: [Qemu-devel] [PATCH 2/2] virtio-scsi-dataplane: notify guest as batch

2014-11-10 Thread Paolo Bonzini
On 09/11/2014 16:50, Ming Lei wrote: > It isn't necessery to notify guest each time when one request > is completed, and it should be enough to just notify one time > for each running of virtio_scsi_iothread_handle_cmd(). > > This patch supresses about 30K/sec write on eventfd. > > Signed-off-b

[Qemu-devel] [PATCH 2/2] virtio-scsi-dataplane: notify guest as batch

2014-11-09 Thread Ming Lei
It isn't necessery to notify guest each time when one request is completed, and it should be enough to just notify one time for each running of virtio_scsi_iothread_handle_cmd(). This patch supresses about 30K/sec write on eventfd. Signed-off-by: Ming Lei --- hw/scsi/virtio-scsi-dataplane.c |