Re: [PATCH net-next V2 6/8] vhost: packed ring support

2018-10-14 Thread Jason Wang
On 2018年10月15日 10:43, Michael S. Tsirkin wrote: On Mon, Oct 15, 2018 at 10:22:33AM +0800, Jason Wang wrote: On 2018年10月13日 01:23, Michael S. Tsirkin wrote: On Fri, Oct 12, 2018 at 10:32:44PM +0800, Tiwei Bie wrote: On Mon, Jul 16, 2018 at 11:28:09AM +0800, Jason Wang wrote: [...] @@

Re: [PATCH net-next V2 6/8] vhost: packed ring support

2018-10-14 Thread Michael S. Tsirkin
On Mon, Oct 15, 2018 at 10:22:33AM +0800, Jason Wang wrote: > > > On 2018年10月13日 01:23, Michael S. Tsirkin wrote: > > On Fri, Oct 12, 2018 at 10:32:44PM +0800, Tiwei Bie wrote: > > > On Mon, Jul 16, 2018 at 11:28:09AM +0800, Jason Wang wrote: > > > [...] > > > > @@ -1367,10 +1397,48 @@ long

Re: [RFC] VSOCK: The performance problem of vhost_vsock.

2018-10-14 Thread Jason Wang
On 2018年10月15日 09:43, jiangyiwen wrote: Hi Stefan & All: Now I find vhost-vsock has two performance problems even if it is not designed for performance. First, I think vhost-vsock should faster than vhost-net because it is no TCP/IP stack, but the real test result vhost-net is 5~10 times

Re: [PATCH net-next V2 6/8] vhost: packed ring support

2018-10-14 Thread Jason Wang
On 2018年10月13日 01:23, Michael S. Tsirkin wrote: On Fri, Oct 12, 2018 at 10:32:44PM +0800, Tiwei Bie wrote: On Mon, Jul 16, 2018 at 11:28:09AM +0800, Jason Wang wrote: [...] @@ -1367,10 +1397,48 @@ long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *arg

[RFC] VSOCK: The performance problem of vhost_vsock.

2018-10-14 Thread jiangyiwen
Hi Stefan & All: Now I find vhost-vsock has two performance problems even if it is not designed for performance. First, I think vhost-vsock should faster than vhost-net because it is no TCP/IP stack, but the real test result vhost-net is 5~10 times than vhost-vsock, currently I am looking for

Re: [PATCH v8] virtio_blk: add discard and write zeroes support

2018-10-14 Thread Michael S. Tsirkin
On Fri, Oct 12, 2018 at 02:06:28PM -0700, Daniel Verkamp wrote: > From: Changpeng Liu > > In commit 88c85538, "virtio-blk: add discard and write zeroes features > to specification" (https://github.com/oasis-tcs/virtio-spec), the virtio > block specification has been extended to add