From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Wawro Subject: Re: [User Question] Repeated severe performance problems on guest Date: Thu, 18 Apr 2013 15:27:45 +0200 Message-ID: <516FF4D1.2050502@googlemail.com> References: <5168227B.1050402@googlemail.com> <20130416054916.GA5286@stefanha-thinkpad.redhat.com> <516D0280.4090408@googlemail.com> <20130417135311.GA8954@stefanha-thinkpad.muc.redhat.com> <5C6B7C93-7905-4B5E-93BA-D0C80DA3EE84@googlemail.com> <20130418072551.GA19195@stefanha-thinkpad.redhat.com> <516FC454.6060902@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm , Marcelo Tosatti , Gleb Natapov , Paolo Bonzini To: Stefan Hajnoczi Return-path: Received: from mail-ee0-f54.google.com ([74.125.83.54]:52865 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755489Ab3DRN1s (ORCPT ); Thu, 18 Apr 2013 09:27:48 -0400 Received: by mail-ee0-f54.google.com with SMTP id e51so1309603eek.41 for ; Thu, 18 Apr 2013 06:27:46 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 04/18/2013 03:14 PM, Stefan Hajnoczi wrote: Dear Stefan, > No answer but some more questions. > > Regarding the kvm_stat output, the exits are caused by 68,000 > pagefaults/second (pf_fixed). Perhaps someone can explain what this > means? > > The host has 8 cores, the guest has 7. Host pidstat shows qemu-kvm > consuming 263.9% CPU: > > 11:25:27 4017 11.13 34.65 218.12 263.90 7 qemu-kvm > > Why is the guest not getting more than 3 CPUs since the host is otherwise idle? If one waits a little longer, top shows all 7 cores under utilization (700%). Unfortunately we have to be quick with the reboots during daytime, because the system is in production use and we have not decided yet to completely replace it. > > You may want to disable ksmd on the host since you only have 1 guest, > but I doubt that will fix the main problem: > > 11:25:27 100 0.00 7.89 0.00 7.89 7 ksmd We did that earlier today. No difference. > > For details, see https://www.kernel.org/doc/Documentation/vm/ksm.txt. > > What is the python process on the host doing? Is it poking libvirt? > > 11:25:27 4558 4.66 3.55 0.00 8.21 7 python > 11:25:27 3659 3.99 4.55 0.00 8.54 7 libvirtd That is virt-manager.py, exactly doing that. Best regards, Martin > Stefan