From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: How many threads should a kvm vm be starting? Date: Tue, 27 Sep 2011 09:33:11 +0300 Message-ID: <4E816E27.8040005@redhat.com> References: <201109261829.38937.thomas@fjellstrom.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: thomas@fjellstrom.ca Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31184 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753174Ab1I0GdT (ORCPT ); Tue, 27 Sep 2011 02:33:19 -0400 In-Reply-To: <201109261829.38937.thomas@fjellstrom.ca> Sender: kvm-owner@vger.kernel.org List-ID: On 09/27/2011 03:29 AM, Thomas Fjellstrom wrote: > I just noticed something interesting, a virtual machine on one of my servers > seems to have 69 threads (including the main thread). Other guests on the > machine only have a couple threads. > > Is this normal? or has something gone horribly wrong? > It's normal if the guest does a lot of I/O. The thread count should go down when the guest idles. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.