From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOaQh-0001yO-Ml for qemu-devel@nongnu.org; Thu, 31 Jul 2008 11:51:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOaQf-0001v2-VC for qemu-devel@nongnu.org; Thu, 31 Jul 2008 11:51:03 -0400 Received: from [199.232.76.173] (port=55065 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOaQf-0001ur-R6 for qemu-devel@nongnu.org; Thu, 31 Jul 2008 11:51:01 -0400 Received: from sj-iport-2.cisco.com ([171.71.176.71]:42983) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KOaQe-0001iN-Jc for qemu-devel@nongnu.org; Thu, 31 Jul 2008 11:51:01 -0400 Message-ID: <4891DF28.6040908@cisco.com> Date: Thu, 31 Jul 2008 09:50:00 -0600 From: "David S. Ahern" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] scheduling of qemu threads Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel@nongnu.org Last week or so Anthony made a comment about qemu basically being single threaded given its global mutex. What are the impacts to simultaneous scheduling of qemu threads? As I understand it, qemu has a main thread, a monitor thread, an IO thread and a thread for each vcpu. Can 2 or more vcpu threads run concurrently? Can a vcpu thread and an IO thread run concurrently? Does kvm alter the concurrency? david