From: Daniel Stodden Subject: Re: Re: NUMA and SMP Date: Thu, 22 Mar 2007 16:38:29 +0100 Message-ID: <1174577909.4957.4.camel@lapbode42.lrr.in.tum.de> References: <45FFDD32.8030607@ncic.ac.cn> <1174398691.5642.43.camel@lapbode42.lrr.in.tum.de> <46008592.5070603@ncic.ac.cn> <1174445110.4426.72.camel@lapbode42.lrr.in.tum.de> <4601D8DE.1070602@ncic.ac.cn> <1174560170.28163.67.camel@lapbode42.lrr.in.tum.de> <460272F7.8030407@ncic.ac.cn> <1174566510.30554.8.camel@lapbode42.lrr.in.tum.de> <20070322130238.GS17518@us.ibm.com> <1174575365.2961.10.camel@lapbode42.lrr.in.tum.de> <20070322151218.GW17518@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20070322151218.GW17518@us.ibm.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: Ryan Harper Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org On Thu, 2007-03-22 at 10:12 -0500, Ryan Harper wrote: > * Daniel Stodden [2007-03-22 10:03]: > > On Thu, 2007-03-22 at 08:02 -0500, Ryan Harper wrote: > >=20 > > > > > and for the paravirt xen-guest-linux do not support numa-aware= now ,or=20 > > > > > does it support numa-aware if CONFIG_NUMA choiced? > > > >=20 > > > > no. there is num-support in xen, as far as inspection of the memo= ry > > > > topology and inclusion in the memory management is concerned. so > > > > basically, you can add the desired node number to get_free_pages(= ). > > >=20 > > > There is NUMA support in Xen since 3.0.4 in the hypervisor, and we = have > > > the capability to ensure a guest memory is local to the processors = being > > > used. The topology of the system is not exported to the guest so > > > CONFIG_NUMA in the guest kernel config will be of no value. > >=20 > > oops, that's more than i've noticed. thanks for the correction. so no= w > > it seems up to me to ask questions. :} i don't see that path taken al= ong > > vcpu_migrate. where is it happening? >=20 > The credit scheduler is not NUMA aware. So to ensure that the initial > allocation for the guest remains local, the domain uses a cpumask > (generated from cpus=3D"" config file option) to keep the scheduler fr= om > migrating vcpus to off-node cpus. i see. not like i'm too deep in the srat, but methinks there may be sane default values to be generated from the srat. any work happening or having happened on that front? regards, daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B