From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests Date: Tue, 09 Dec 2008 08:55:17 -0600 Message-ID: <493E86D5.5040602@codemonkey.ws> References: <49392CB6.9000000@amd.com> <49393A78.5030601@codemonkey.ws> <4939473D.6080606@amd.com> <49394BB3.9080509@codemonkey.ws> <493D95A9.1090307@andrep.de> <493E7FB5.80606@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: =?ISO-8859-1?Q?Andr=E9_Przywara?= , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from qw-out-2122.google.com ([74.125.92.27]:35993 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752425AbYLIOzX (ORCPT ); Tue, 9 Dec 2008 09:55:23 -0500 Received: by qw-out-2122.google.com with SMTP id 3so360486qwe.37 for ; Tue, 09 Dec 2008 06:55:21 -0800 (PST) In-Reply-To: <493E7FB5.80606@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > Andr=E9 Przywara wrote: >>>> But I wouldn't load the admin with the burden of pinning, but let=20 >>>> this be done by QEMU/KVM. Maybe one could introduce a way to tell=20 >>>> QEMU/KVM to not pin the threads. >>> This is where things start to get ugly... >> Why? qemu-system-x86_64 -numa 2,pin:none and then use whatever metho= d=20 >> you prefer (taskset, monitor) to pin the VCPUs (or left them unpinne= d). > > I agree that for e.g. -numa 2, no host binding should occur. Pinning= =20 > memory or cpus to nodes should only occur if the user explicitly=20 > requested it. Otherwise we run the risk of breaking load balancing. > > If the user chooses to pin, the responsibility is on them. If not, w= e=20 > should allow the host to do its thing. Agreed. Regards, Anthony Liguori