Re: [Xen-devel] VM Migration on a NUMA server?

2015-08-03 Thread Dario Faggioli
On Mon, 2015-08-03 at 12:23 +, Kun Cheng wrote: > On Mon, Aug 3, 2015 at 6:10 PM Dario Faggioli > wrote: > > On Sat, 2015-08-01 at 06:21 +, Kun Cheng wrote: > > I've looked into those settings and vcpu affinities on Xen > wiki page. > > However what I'm tr

Re: [Xen-devel] VM Migration on a NUMA server?

2015-08-03 Thread Kun Cheng
On Mon, Aug 3, 2015 at 6:10 PM Dario Faggioli wrote: > On Sat, 2015-08-01 at 06:21 +, Kun Cheng wrote: > > I've looked into those settings and vcpu affinities on Xen wiki page. > > However what I'm trying to argue about is memory should be migrated > > when vcpus are moved to another node. >

Re: [Xen-devel] VM Migration on a NUMA server?

2015-08-03 Thread Dario Faggioli
On Sat, 2015-08-01 at 06:21 +, Kun Cheng wrote: > I've looked into those settings and vcpu affinities on Xen wiki page. > However what I'm trying to argue about is memory should be migrated > when vcpus are moved to another node. > I still struggle a bit to understand what you mean. It's exact

Re: [Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Kun Cheng
I've looked into those settings and vcpu affinities on Xen wiki page. However what I'm trying to argue about is memory should be migrated when vcpus are moved to another node. But setting a vcpu's affinity only seems to allow vcpu migration between different nodes. As my NUMA server is on the way

Re: [Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Kun Cheng
Thank you for such a detailed reply! Currently what's in my mind is to let memory also be migrated when a vcpu or a vm has to be migrated to some other node. In that case let's suppose there would be a simple load balancing mechanism. And I think a NUMA machine can be some sort of seen as small sym

Re: [Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Dario Faggioli
On Fri, 2015-07-31 at 13:10 +0100, Wei Liu wrote: > On Fri, Jul 31, 2015 at 11:41:11AM +, Kun Cheng wrote: > > Let me be more specific, such idea is for the NUMA scheduling as currently > > xen only migrate vcpus but leave memory at the previous node. > > > > Xen doesn't support memory migrat

Re: [Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Dario Faggioli
On Fri, 2015-07-31 at 02:32 +, Kun Cheng wrote: > Hi all, > Hi, > > I'm sorry for taking your time and I'd like to make an enquery about > the status of VM migration support on a NUMA server. > Status is: it's not there, and won't happen soon. I've started working on it, but then got preempte

Re: [Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Wei Liu
On Fri, Jul 31, 2015 at 11:41:11AM +, Kun Cheng wrote: > Let me be more specific, such idea is for the NUMA scheduling as currently > xen only migrate vcpus but leave memory at the previous node. > Xen doesn't support memory migration at the moment. However Xen scheduler won't migrate vcpus o

Re: [Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Kun Cheng
Let me be more specific, such idea is for the NUMA scheduling as currently xen only migrate vcpus but leave memory at the previous node. Kun Cheng 于2015年7月31日 周五10:32写道: > Hi all, > > I'm sorry for taking your time and I'd like to make an enquery about the > status of VM migration support on a NU

[Xen-devel] VM Migration on a NUMA server?

2015-07-31 Thread Kun Cheng
Hi all, I'm sorry for taking your time and I'd like to make an enquery about the status of VM migration support on a NUMA server. Currently It looks like when a vm is migrated only its vcpus are moved to the other node but not its memory. So, is anyone trying to fix that issue? If I want to do it