This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: xl miss the logic of memory allocation on NUMA platform

To: "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>
Subject: [Xen-devel] Re: xl miss the logic of memory allocation on NUMA platform
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 28 Jul 2011 12:26:06 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 28 Jul 2011 04:20:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <749B9D3DBF0F054390025D9EAFF47F2212D0F6CD2E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <749B9D3DBF0F054390025D9EAFF47F2212D0F6CD2E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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

<Prev in Thread] Current Thread [Next in Thread>