From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH 10/12] kvm: enable smp > 1 Date: Fri, 14 May 2010 17:54:08 +0200 Message-ID: <4BED7220.9060203@siemens.com> References: <0af691d779965663abdd7bc708c2ad7bce2f6da0.1273699506.git.mtosatti@redhat.com> <659C91C0-E58A-43F6-A262-A15613E84FD3@suse.de> <4BED70B3.50202@redhat.com> <679AB14D-A9CC-437E-932F-AC13CAC26BA5@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tosatti , Anthony Liguori , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Alexander Graf Return-path: Received: from david.siemens.de ([192.35.17.14]:16465 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344Ab0ENPyb (ORCPT ); Fri, 14 May 2010 11:54:31 -0400 In-Reply-To: <679AB14D-A9CC-437E-932F-AC13CAC26BA5@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: > On 14.05.2010, at 17:48, Avi Kivity wrote: > >> On 05/14/2010 05:06 PM, Alexander Graf wrote: >>> On 12.05.2010, at 23:25, Marcelo Tosatti wrote: >>> >>> >>>> Process INIT/SIPI requests and enable -smp> 1. >>>> >>> Does this enable real SMP or does it still only allow one vcpu to run at a time? >>> >>> >> The realest ever. Still doesn't use in-kernel irqchip (qemu-kvm does "real" smp with -no-kvm-irqchip as well). > > That's odd. On S390 I only get at most 100% cpu usage no matter how much -smp I pass. --enable-io-thread? If you had it disabled, it would also answer my question if -smp works without problems without that feature. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37725 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCxDL-0004tD-1I for qemu-devel@nongnu.org; Fri, 14 May 2010 11:54:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCxDJ-0006m8-1V for qemu-devel@nongnu.org; Fri, 14 May 2010 11:54:14 -0400 Received: from david.siemens.de ([192.35.17.14]:16435) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCxDI-0006lm-OQ for qemu-devel@nongnu.org; Fri, 14 May 2010 11:54:13 -0400 Message-ID: <4BED7220.9060203@siemens.com> Date: Fri, 14 May 2010 17:54:08 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <0af691d779965663abdd7bc708c2ad7bce2f6da0.1273699506.git.mtosatti@redhat.com> <659C91C0-E58A-43F6-A262-A15613E84FD3@suse.de> <4BED70B3.50202@redhat.com> <679AB14D-A9CC-437E-932F-AC13CAC26BA5@suse.de> In-Reply-To: <679AB14D-A9CC-437E-932F-AC13CAC26BA5@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 10/12] kvm: enable smp > 1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , Marcelo Tosatti , Avi Kivity , kvm@vger.kernel.org, qemu-devel@nongnu.org Alexander Graf wrote: > On 14.05.2010, at 17:48, Avi Kivity wrote: > >> On 05/14/2010 05:06 PM, Alexander Graf wrote: >>> On 12.05.2010, at 23:25, Marcelo Tosatti wrote: >>> >>> >>>> Process INIT/SIPI requests and enable -smp> 1. >>>> >>> Does this enable real SMP or does it still only allow one vcpu to run at a time? >>> >>> >> The realest ever. Still doesn't use in-kernel irqchip (qemu-kvm does "real" smp with -no-kvm-irqchip as well). > > That's odd. On S390 I only get at most 100% cpu usage no matter how much -smp I pass. --enable-io-thread? If you had it disabled, it would also answer my question if -smp works without problems without that feature. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux