From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dulloor Subject: Re: [PATCH 00/11] PV NUMA Guests Date: Sat, 10 Apr 2010 23:06:29 -0400 Message-ID: References: <4FA716B1526C7C4DB0375C6DADBC4EA35562034BCF@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4FA716B1526C7C4DB0375C6DADBC4EA35562034BCF@LONPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Fri, Apr 9, 2010 at 7:34 AM, Ian Pratt wrote: >> The set of patches implements virtual NUMA-enlightenment to support >> NUMA-aware PV guests. In more detail, the patch implements the >> following : >> >> * For the NUMA systems, the following memory allocation strategies are >> implemented : >> =A0- CONFINE : Confine the VM memory allocation to a single node. As >> opposed to the current method of doing this in python, the patch >> implements this in libxc(along with other strategies) and with >> assurance that the memory actually comes from the selected node. > > Do you use the VCPU affinity masks to determine the node in question, or = is there another parameter to specify this? As of now, the node is selected solely based on the distribution of free memory (across nodes). > > Thanks, > Ian > > >> - STRIPE : If the VM memory doesn't fit in a single node and if the VM >> is not compiled with guest-numa-support, the memory is allocated >> striped across a selected max-set of nodes. >> - SPLIT : If the VM memory doesn't fit in a single node and if the VM >> is compiled with guest-numa-support, the memory is allocated split >> (equally for now) from the min-set of nodes. The =A0VM is then made >> aware of this NUMA allocation (virtual NUMA enlightenment). >> -DEFAULT : This is the existing allocation scheme. >> >> * If the numa-guest support is compiled into the PV guest, we add >> numa-guest-support to xen features elfnote. The xen tools use this to >> determine if SPLIT strategy can be applied. >> >> * The PV guest uses the virtual NUMA enlightenment to setup its NUMA >> layout (at the time of initmem_init) >> >> Please comment. >> >> -dulloor >> >> Signed-off-by: Dulloor Rao >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >