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 I cannot verify that. Anyhow, moving memory really draws my
interest now.

On Fri, Jul 31, 2015 at 8:50 PM Dario Faggioli <dario.faggi...@citrix.com>
wrote:

> On Fri, 2015-07-31 at 13:10 +0100, Wei Liu wrote:
> > On Fri, Jul 31, 2015 at 11:41:11AM +0000, 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 out of its NUMA node in most cases.
> >
> Yes, as I said in my email, if soft affinity is used (and that's the
> default, if anything contradicting that is specified in the confing
> file) the vcpus are allowed to run outside of the NUMA node where the
> memory has been allocated, but they'll try not to do so.
>
> > I will let Dario (CC'ed) confirm. He might also able to give you
> > pointers if you want to work on such feature.
> >
> Thanks for the ping on this! :-)
>
> Regards,
> Dario
> --
> <<This happens because I choose it to happen!>> (Raistlin Majere)
> -----------------------------------------------------------------
> Dario Faggioli, Ph.D, http://about.me/dario.faggioli
> Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to