Zhang, Yang Z
2011-Jul-28 01:33 UTC
[Xen-devel] xl miss the logic of memory allocation on NUMA platform
Hi Stefano In our recently experience, we found xl doesn''t have the memory allocation logic on NUMA platform. It will allocate the memory from every node when creating guest: (XEN) Domain 4 (total: 261112): (XEN) Node 0: 64894 (XEN) Node 1: 65406 (XEN) Node 2: 65406 (XEN) Node 3: 65406 For xm, it will allocate the memory on the node where the guest cpu reside: 1348 (XEN) Domain 3 (total: 263160): 1349 (XEN) Node 0: 0 1350 (XEN) Node 1: 0 1351 (XEN) Node 2: 0 1352 (XEN) Node 3: 263160 Is there a plan to add this logic to xl? best regards yang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2011-Jul-28 11:26 UTC
[Xen-devel] Re: xl miss the logic of memory allocation on NUMA platform
On Thu, 28 Jul 2011, Zhang, Yang Z wrote:> Hi Stefano > In our recently experience, we found xl doesn''t have the memory allocation logic on NUMA platform. It will allocate the memory from every node when creating guest: > (XEN) Domain 4 (total: 261112): > (XEN) Node 0: 64894 > (XEN) Node 1: 65406 > (XEN) Node 2: 65406 > (XEN) Node 3: 65406 > > For xm, it will allocate the memory on the node where the guest cpu reside: > 1348 (XEN) Domain 3 (total: 263160): > 1349 (XEN) Node 0: 0 > 1350 (XEN) Node 1: 0 > 1351 (XEN) Node 2: 0 > 1352 (XEN) Node 3: 263160 > > Is there a plan to add this logic to xl?I think we forgot about this feature but it is important and hopefully somebody will write a patch for it before 4.2 is out. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2011-Jul-30 17:36 UTC
Re: [Xen-devel] Re: xl miss the logic of memory allocation on NUMA platform
On Thu, Jul 28, 2011 at 12:26:06PM +0100, Stefano Stabellini wrote:> On Thu, 28 Jul 2011, Zhang, Yang Z wrote: > > Hi Stefano > > In our recently experience, we found xl doesn''t have the memory allocation logic on NUMA platform. It will allocate the memory from every node when creating guest: > > (XEN) Domain 4 (total: 261112): > > (XEN) Node 0: 64894 > > (XEN) Node 1: 65406 > > (XEN) Node 2: 65406 > > (XEN) Node 3: 65406 > > > > For xm, it will allocate the memory on the node where the guest cpu reside: > > 1348 (XEN) Domain 3 (total: 263160): > > 1349 (XEN) Node 0: 0 > > 1350 (XEN) Node 1: 0 > > 1351 (XEN) Node 2: 0 > > 1352 (XEN) Node 3: 263160 > > > > Is there a plan to add this logic to xl? > > I think we forgot about this feature but it is important and hopefully > somebody will write a patch for it before 4.2 is out. >I just added a note about this to Xen 4.1 release notes: http://wiki.xen.org/xenwiki/Xen4.1 -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Zhang, Yang Z
2011-Aug-01 01:51 UTC
[Xen-devel] RE: xl miss the logic of memory allocation on NUMA platform
Ok, I will submit a patch later. best regards yang> -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: Thursday, July 28, 2011 7:26 PM > To: Zhang, Yang Z > Cc: Stefano Stabellini; xen-devel@lists.xensource.com > Subject: Re: xl miss the logic of memory allocation on NUMA platform > > On Thu, 28 Jul 2011, Zhang, Yang Z wrote: > > Hi Stefano > > In our recently experience, we found xl doesn''t have the memory allocation > logic on NUMA platform. It will allocate the memory from every node when > creating guest: > > (XEN) Domain 4 (total: 261112): > > (XEN) Node 0: 64894 > > (XEN) Node 1: 65406 > > (XEN) Node 2: 65406 > > (XEN) Node 3: 65406 > > > > For xm, it will allocate the memory on the node where the guest cpu reside: > > 1348 (XEN) Domain 3 (total: 263160): > > 1349 (XEN) Node 0: 0 > > 1350 (XEN) Node 1: 0 > > 1351 (XEN) Node 2: 0 > > 1352 (XEN) Node 3: 263160 > > > > Is there a plan to add this logic to xl? > > I think we forgot about this feature but it is important and hopefully somebody > will write a patch for it before 4.2 is out._______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2011-Aug-01 09:03 UTC
[Xen-devel] RE: xl miss the logic of memory allocation on NUMA platform
On Mon, 1 Aug 2011, Zhang, Yang Z wrote:> Ok, I will submit a patch later.great :-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel