From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH RFC 1/2] linux/vnuma: vnuma support for pv guest Date: Wed, 28 Aug 2013 12:01:48 -0400 Message-ID: <20130828160148.GE16368@phenom.dumpdata.com> References: <1377593580-10040-1-git-send-email-ufimtseva@gmail.com> <1377593580-10040-2-git-send-email-ufimtseva@gmail.com> <20130828012713.GA2840@u109add4315675089e695.ant.amazon.com> <20130828013733.GB2840@u109add4315675089e695.ant.amazon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20130828013733.GB2840@u109add4315675089e695.ant.amazon.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Matt Wilson Cc: Elena Ufimtseva , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Aug 27, 2013 at 06:37:35PM -0700, Matt Wilson wrote: > On Tue, Aug 27, 2013 at 06:27:15PM -0700, Matt Wilson wrote: > > On Tue, Aug 27, 2013 at 04:52:59AM -0400, Elena Ufimtseva wrote: > > > Uses subop hypercall to request XEN about vnuma topology. > > > Sets the memory blocks (aligned by XEN), cpus, distance table > > > on boot. NUMA support should be compiled in kernel. > > > > Are we *really sure* that we want to go this route for PV vNUMA? > > Couldn't we build just enough(tm) of the ACPI tables to express the > > NUMA topology when constructing the domain? That's what we do for the > > e820 map. > > Ignore me somewhat, since the e820 information is retrieved via > hypercall similar to what you're proposing. > > Still, if there's some way that we can reuse existing Linux code > rather than bolting on a completely parallel mechanism to set this up > under PV I think it'd be better. That would also parallel the work you do with ACPI right? We could enable ACPI parsing in a PV guest and provide one table - the SLIT (or SRAT). But I don't know enough about SRAT to know whether this is something that represents truly everything we need? > > --msw > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel