From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Cure Subject: Re: performance trouble Date: Thu, 2 Feb 2012 11:41:48 +0100 Message-ID: <20120202104148.GN26955@nfs-rbx.ovh.net> References: <20120123082837.GC26955@nfs-rbx.ovh.net> <20120130153655.GI26955@nfs-rbx.ovh.net> <201201301020.35161.iggy@theiggy.com> <20120130165140.GJ26955@nfs-rbx.ovh.net> <4F26D190.4040207@redhat.com> <20120131171552.GL26955@nfs-rbx.ovh.net> <4F282315.30001@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from gandalf.cure.nom.fr ([91.121.137.146]:60434 "EHLO gandalf.cure.nom.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755335Ab2BBKlx (ORCPT ); Thu, 2 Feb 2012 05:41:53 -0500 Content-Disposition: inline In-Reply-To: <4F282315.30001@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hello, Le Tue, Jan 31, 2012 at 07:21:25PM +0200, Avi Kivity ecrivait : > > How many vcpus are there in total (over all guests)? For test we run only 2 VM (RDS/TSE) with 2vcpus for each > That's really strange. No network traffic/cpu/block I/O? > > What do 'vmstat 1' and 'top -d 1' say during this? vmstat 1 during the slowly function : procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- 0 0 0 16104568 20524 195588 0 0 0 0 9918 19301 1 1 98 0 1 0 0 16104348 20524 195588 0 0 0 0 9868 19312 1 1 98 0 0 0 0 16104224 20524 195588 0 0 0 12 10598 19956 0 1 99 0 3 0 0 16104224 20524 195588 0 0 16 4 15044 25466 6 3 91 0 2 0 0 16104352 20524 195588 0 0 0 0 16126 26861 6 4 90 0 0 0 0 16104476 20524 195588 0 0 0 0 14598 24664 6 3 91 0 0 0 0 16104600 20524 195588 0 0 0 0 15025 24970 7 3 90 0 3 0 0 16104740 20524 195588 0 0 0 0 14859 24942 5 2 93 0 3 0 0 16104748 20524 195588 0 0 0 12 14898 24633 9 3 87 0 2 0 0 16104872 20524 195588 0 0 0 0 14625 24840 9 5 86 0 3 0 0 16104872 20524 195588 0 0 0 0 14765 24801 4 2 95 0 1 0 0 16104748 20524 195588 0 0 0 146 12356 20437 7 2 91 0 1 0 0 16104616 20524 195588 0 0 0 0 10768 17531 11 1 88 0 2 0 0 16104724 20524 195588 0 0 0 12 11729 18996 10 2 89 0 top : during the function, top for the KVM where the function runs increase from ~50% to 130% and decrease to ~50% at the end of the function. In Windows, we see that one CPU is used. The CPU in this KVM server runs at 2.3GHz (in the vmware server, cpu runs at 2GHz). For kvm_stats, I mean it's better to have only one VM with one user for the test so I send this evening or tomorrow morning. David.