From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYe29-0006t7-Vo for qemu-devel@nongnu.org; Thu, 19 Mar 2015 13:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYe24-0004GL-ES for qemu-devel@nongnu.org; Thu, 19 Mar 2015 13:15:01 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53434 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYe24-0004GH-80 for qemu-devel@nongnu.org; Thu, 19 Mar 2015 13:14:56 -0400 Message-ID: <550B040F.6070109@suse.de> Date: Thu, 19 Mar 2015 18:14:55 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1426784962-7541-1-git-send-email-imammedo@redhat.com> <1426784962-7541-2-git-send-email-imammedo@redhat.com> In-Reply-To: <1426784962-7541-2-git-send-email-imammedo@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 for-2.3 1/2] numa: introduce machine callback for VCPU to node mapping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , qemu-devel@nongnu.org Cc: ehabkost@redhat.com Am 19.03.2015 um 18:09 schrieb Igor Mammedov: > Current default round-robin way of distributing VCPUs among > NUMA nodes might be wrong in case on multi-core/threads > CPUs. Making guests confused wrt topology where cores from > the same socket are on different nodes. >=20 > Allow a machine to override default mapping by providing > MachineClass->cpu_index_to_socket_id() MachineClass::cpu_index_to_socket_id() please - can be fixed when applyin= g. > callback which would allow it group VCPUs from a socket > on the same NUMA node. >=20 > Signed-off-by: Igor Mammedov > --- > v3: > - split out numa/machine change into a separate patch > --- > include/hw/boards.h | 5 +++++ > include/sysemu/numa.h | 3 ++- > numa.c | 18 +++++++++++++----- > vl.c | 2 +- > 4 files changed, 21 insertions(+), 7 deletions(-) --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=FCrnberg)