Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-06 Thread Paolo Bonzini
On 06/11/2018 08:13, Christoph Hellwig wrote: > On Tue, Nov 06, 2018 at 10:45:08AM +0800, Jason Wang wrote: >>> Storage industry is shifting away from SCSI, which has a scaling >>> problem. >> >> Know little about storage. For scaling, do you mean SCSI protocol itself? If >> not, it's probably not

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-06 Thread Stefan Hajnoczi
On Fri, Nov 02, 2018 at 02:26:00PM -0400, Michael S. Tsirkin wrote: > On Fri, Nov 02, 2018 at 06:21:22PM +, Vitaly Mayatskikh wrote: > > vhost_blk is a host-side kernel mode accelerator for virtio-blk. The > > driver allows VM to reach a near bare-metal disk performance. See IOPS > > numbers be

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-06 Thread Stefan Hajnoczi
On Mon, Nov 05, 2018 at 11:15:04AM -0500, Vitaly Mayatskih wrote: > On Mon, Nov 5, 2018 at 10:48 AM Christian Borntraeger > wrote: > > > For the record, we still do use virtio-blk a lot. As we see new things like > > discard/write zero > > support it seems that others do as well. > > Yes, trim/

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-06 Thread Christoph Hellwig
On Tue, Nov 06, 2018 at 10:45:08AM +0800, Jason Wang wrote: > > Storage industry is shifting away from SCSI, which has a scaling > > problem. > > > Know little about storage. For scaling, do you mean SCSI protocol itself? If > not, it's probably not a real issue for virtio-scsi itself. The above

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-05 Thread Jason Wang
On 2018/11/5 上午11:23, Vitaly Mayatskih wrote: On Sun, Nov 4, 2018 at 10:00 PM Jason Wang wrote: # fio num-jobs # A: bare metal over block # B: bare metal over file # C: virtio-blk over block # D: virtio-blk over file # E: vhost-blk bio over block # F: vhost-blk kiocb over block # G: vhost-blk

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-05 Thread Christian Borntraeger
On 11/05/2018 04:00 AM, Jason Wang wrote: > > On 2018/11/3 上午2:21, Vitaly Mayatskikh wrote: >> vhost_blk is a host-side kernel mode accelerator for virtio-blk. The >> driver allows VM to reach a near bare-metal disk performance. See IOPS >> numbers below (fio --rw=randread --bs=4k). >> >> This i

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-05 Thread Christian Borntraeger
On 11/02/2018 07:26 PM, Michael S. Tsirkin wrote: > On Fri, Nov 02, 2018 at 06:21:22PM +, Vitaly Mayatskikh wrote: >> vhost_blk is a host-side kernel mode accelerator for virtio-blk. The >> driver allows VM to reach a near bare-metal disk performance. See IOPS >> numbers below (fio --rw=randrea

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-04 Thread Jason Wang
On 2018/11/3 上午2:21, Vitaly Mayatskikh wrote: vhost_blk is a host-side kernel mode accelerator for virtio-blk. The driver allows VM to reach a near bare-metal disk performance. See IOPS numbers below (fio --rw=randread --bs=4k). This implementation uses kiocb interface. It is slightly slower th

Re: [PATCH 0/1] vhost: add vhost_blk driver

2018-11-03 Thread Michael S. Tsirkin
On Fri, Nov 02, 2018 at 06:21:22PM +, Vitaly Mayatskikh wrote: > vhost_blk is a host-side kernel mode accelerator for virtio-blk. The > driver allows VM to reach a near bare-metal disk performance. See IOPS > numbers below (fio --rw=randread --bs=4k). > > This implementation uses kiocb interfa