Re: Is fallback vhost_net to qemu for live migrate available?

2013-10-14 Thread Qin Chuanyu
On 2013/8/30 0:08, Anthony Liguori wrote: Hi Qin, KVM and Xen represent memory in a very different way. KVM can only track when guest mode code dirties memory. It relies on QEMU to track when guest memory is dirtied by QEMU. Since vhost is running outside of QEMU, vhost also needs to tell QEM

Re: [Xen-devel] Is fallback vhost_net to qemu for live migrate available?

2013-09-05 Thread Stefano Stabellini
On Tue, 3 Sep 2013, Michael S. Tsirkin wrote: > On Tue, Sep 03, 2013 at 09:40:48AM +0100, Wei Liu wrote: > > On Tue, Sep 03, 2013 at 09:28:11AM +0800, Qin Chuanyu wrote: > > > On 2013/9/2 15:57, Wei Liu wrote: > > > >On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote: > > > >>On 2013/8/30

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-03 Thread Wei Liu
On Tue, Sep 03, 2013 at 11:55:56AM +0300, Michael S. Tsirkin wrote: > On Tue, Sep 03, 2013 at 09:40:48AM +0100, Wei Liu wrote: > > On Tue, Sep 03, 2013 at 09:28:11AM +0800, Qin Chuanyu wrote: > > > On 2013/9/2 15:57, Wei Liu wrote: > > > >On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote:

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-03 Thread Michael S. Tsirkin
On Tue, Sep 03, 2013 at 09:40:48AM +0100, Wei Liu wrote: > On Tue, Sep 03, 2013 at 09:28:11AM +0800, Qin Chuanyu wrote: > > On 2013/9/2 15:57, Wei Liu wrote: > > >On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote: > > >>On 2013/8/30 0:08, Anthony Liguori wrote: > > >>>Hi Qin, > > >> > > >

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-03 Thread Wei Liu
On Tue, Sep 03, 2013 at 09:28:11AM +0800, Qin Chuanyu wrote: > On 2013/9/2 15:57, Wei Liu wrote: > >On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote: > >>On 2013/8/30 0:08, Anthony Liguori wrote: > >>>Hi Qin, > >> > By change the memory copy and notify mechanism ,currently virtio-net

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-02 Thread Qin Chuanyu
On 2013/9/2 15:57, Wei Liu wrote: On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote: On 2013/8/30 0:08, Anthony Liguori wrote: Hi Qin, By change the memory copy and notify mechanism ,currently virtio-net with vhost_net could run on Xen with good performance。 I think the key in do

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-02 Thread Michael S. Tsirkin
On Mon, Sep 02, 2013 at 08:57:22AM +0100, Wei Liu wrote: > On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote: > > On 2013/8/30 0:08, Anthony Liguori wrote: > > >Hi Qin, > > > > >>By change the memory copy and notify mechanism ,currently virtio-net with > > >>vhost_net could run on Xen wi

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-02 Thread Wei Liu
On Sat, Aug 31, 2013 at 12:45:11PM +0800, Qin Chuanyu wrote: > On 2013/8/30 0:08, Anthony Liguori wrote: > >Hi Qin, > > >>By change the memory copy and notify mechanism ,currently virtio-net with > >>vhost_net could run on Xen with good performance。 > > > >I think the key in doing this would be to

Re: Is fallback vhost_net to qemu for live migrate available?

2013-09-01 Thread Jason Wang
On 08/31/2013 12:45 PM, Qin Chuanyu wrote: > On 2013/8/30 0:08, Anthony Liguori wrote: >> Hi Qin, > >>> By change the memory copy and notify mechanism ,currently >>> virtio-net with >>> vhost_net could run on Xen with good performance。 >> >> I think the key in doing this would be to implement a pro

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-30 Thread Qin Chuanyu
On 2013/8/30 0:08, Anthony Liguori wrote: Hi Qin, By change the memory copy and notify mechanism ,currently virtio-net with vhost_net could run on Xen with good performance。 I think the key in doing this would be to implement a property ioeventfd and irqfd interface in the driver domain kern

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-29 Thread Anthony Liguori
Hi Qin, On Mon, Aug 26, 2013 at 10:32 PM, Qin Chuanyu wrote: > Hi all > > I am participating in a project which try to port vhost_net on Xen。 Neat! > By change the memory copy and notify mechanism ,currently virtio-net with > vhost_net could run on Xen with good performance。 I think the key in

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-27 Thread Wei Liu
First of all, good job, Chuanyu. :-) On Tue, Aug 27, 2013 at 03:04:54PM +0800, Qin Chuanyu wrote: [...] > >. > > > Thanks for your reply. > > In fact,I am not sure that whether vhost_log could work on Xen live > migrate or not. Yes,vhost_sync_dirty_bitmap work well on Kvm,but > vhost_net havn't r

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-27 Thread Qin Chuanyu
On 2013/8/27 15:16, Michael S. Tsirkin wrote: On Tue, Aug 27, 2013 at 03:04:54PM +0800, Qin Chuanyu wrote: On 2013/8/27 12:19, Michael S. Tsirkin wrote: On Tue, Aug 27, 2013 at 11:32:31AM +0800, Qin Chuanyu wrote: Hi all I am participating in a project which try to port vhost_net on Xen。 By

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-27 Thread Michael S. Tsirkin
On Tue, Aug 27, 2013 at 03:04:54PM +0800, Qin Chuanyu wrote: > On 2013/8/27 12:19, Michael S. Tsirkin wrote: > >On Tue, Aug 27, 2013 at 11:32:31AM +0800, Qin Chuanyu wrote: > >>Hi all > >> > >>I am participating in a project which try to port vhost_net on Xen。 > >> > >>By change the memory copy and

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-27 Thread Qin Chuanyu
On 2013/8/27 12:19, Michael S. Tsirkin wrote: On Tue, Aug 27, 2013 at 11:32:31AM +0800, Qin Chuanyu wrote: Hi all I am participating in a project which try to port vhost_net on Xen。 By change the memory copy and notify mechanism ,currently virtio-net with vhost_net could run on Xen with good p

Re: Is fallback vhost_net to qemu for live migrate available?

2013-08-26 Thread Michael S. Tsirkin
On Tue, Aug 27, 2013 at 11:32:31AM +0800, Qin Chuanyu wrote: > Hi all > > I am participating in a project which try to port vhost_net on Xen。 > > By change the memory copy and notify mechanism ,currently > virtio-net with vhost_net could run on Xen with good > performance。TCP receive throughput o

Is fallback vhost_net to qemu for live migrate available?

2013-08-26 Thread Qin Chuanyu
Hi all I am participating in a project which try to port vhost_net on Xen。 By change the memory copy and notify mechanism ,currently virtio-net with vhost_net could run on Xen with good performance。TCP receive throughput of single vnic from 2.77Gbps up to 6Gps。In VM receive side,I instead gra