From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: smp option of qemu-kvm Date: Thu, 5 Apr 2012 20:03:52 +0100 Message-ID: <20120405190352.GD16805@redhat.com> References: <20120405184050.GB16805@redhat.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: kvm@vger.kernel.org To: Steven Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12299 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755561Ab2DETD5 (ORCPT ); Thu, 5 Apr 2012 15:03:57 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Apr 05, 2012 at 02:52:40PM -0400, Steven wrote: > Hi, Daniel, > Thanks for your quick response. However, the ps -eLf show 4 threads > for the VM and I checked 4 threads have the same tgid. > But the VM I created is with -smp 2 option. Could you explain this? Thanks. As well as the vCPU threads, QEMU creates other threads as needed, typically for I/O - indeed the count of threads may vary over time. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|