From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Chmielewski Subject: Re: 0.11: SMP guests using one host CPU only? Date: Thu, 22 Oct 2009 11:28:53 +0200 Message-ID: <4AE025D5.7010403@wpkg.org> References: <4ADD7CFF.1080003@wpkg.org> <4ADD85D3.7000004@redhat.com> <4ADD8E56.5030409@wpkg.org> <4ADDB813.5010004@redhat.com> <4ADDB8F0.5010709@wpkg.org> <4ADDB95E.6080309@redhat.com> <4ADDBFA1.3060007@wpkg.org> <4AE00426.3030404@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx03.syneticon.net ([78.111.66.105]:53273 "EHLO mx03.syneticon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754486AbZJVJ2z (ORCPT ); Thu, 22 Oct 2009 05:28:55 -0400 In-Reply-To: <4AE00426.3030404@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: >> Some 1-CPU guests have only one thread though? >> > > Are you sure they're using kvm? Try 'info kvm' in the monitor. tcg > will only use on thread (more will be spawned for I/O, but will > eventually die). Indeed, that was a good suggestion - they were not using KVM (support not compiled in, and kvm didn't complain when starting). IO and CPU speed was rather OK, so I didn't notice ;) To sum up the thread: I guess qemu _without_ KVM will only use one CPU, even when you assign more CPUs to the guest? -- Tomasz Chmielewski http://wpkg.org