From: Tristan Gingold Subject: Re: [PATCH 0/6] xen,xend,tools: Add NUMA support to Xen Date: Wed, 2 Aug 2006 08:14:43 +0200 Message-ID: <200608020814.43314.Tristan.Gingold@bull.net> References: <20060731190958.GI1694@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20060731190958.GI1694@us.ibm.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Le Lundi 31 Juillet 2006 21:09, Ryan Harper a =E9crit : > I've respun the NUMA patches against 10874 and I'm re-submitting them > with the optimizations mentioned [1]previously on the list. There was a > request to see the overhead on non-numa/single-node machines. I've > re-run those benchmarks (ballooning up from small mem to multi-gig) as > well as timing the initially domain increase_reservation time to gauge > the overhead when allocating from the heap. Hi, two more points. =46or DOM0_PHYSINFO, sockets_per_node is wrong: pi->sockets_per_node =3D=20 num_online_cpus() / cpus_weight(cpu_core_map[0]); [On ia64, I return the max of sockets per node]. The node_to_cpu field of struct dom0_physinfo is: XEN_GUEST_HANDLE(u64) node_to_cpu; This means the max cpus is 64. I know cpumap_t is also 64 bits. I think you'd better to use cpumap_t. Here we have NUMA machines with 128 cpus. The question is how to upgrade X= en=20 to handle more than 64 cpus. We can either incease cpumap_t size to 256=20 (until we reach a new limit) or use an unlimited cpu structure. Tristan.