From: Dulloor Subject: Re: Xen-devel [XEN PATCH] [Linux-PVOPS] ballooning on numa domains Date: Mon, 9 Nov 2009 05:35:17 -0500 Message-ID: <940bcfd20911090235y704d163el4347a805e5a90b4f@mail.gmail.com> References: <940bcfd20911082340x25ebdccep3984b4acc2d6ac57@mail.gmail.com> <4AF7E8EC020000780001E68E@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <4AF7E8EC020000780001E68E@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org - Xen guest domains can't read the numa acpi tables and this patch (in the current state) is a no-op for them. - dom0 can read the numa tables (same as xen). Also, the memory map for dom0 is (currently) set in a way that the numa ranges are consistent. I don't see that changing, so I feel the assumption is valid. - XENMEMF flags are indeed meant for xen tools. But, ballooning is completely xen specific too ... it is a xen tool, except that it resides in domain's kernel/tree. Please let know your take on this. -dulloor On Mon, Nov 9, 2009 at 4:03 AM, Jan Beulich wrote: >>>> Dulloor 09.11.09 08:40 >>> >>Problems : >>* With ballooning, the mfns could change underneath and the numa >>mappings could get distorted (even for domains with the actual >>physical memory map). > > Besides being unsure about the idea as such (I don't think Xen kernels > have been knowing much about NUMA characteristics of the underlying > machine), you're assuming that node IDs in kernel and hypervisor are > identical, which I don't think is generally valid; XENMEMF_node(), afaict, > is presently meant to be used by the Xen tools (and hypervisor internal > users) only. > > Jan > >