public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Wawro <martin.wawro@gmail.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: kvm <kvm@vger.kernel.org>, Marcelo Tosatti <mtosatti@redhat.com>,
	Gleb Natapov <gleb@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [User Question] Repeated severe performance problems on guest
Date: Thu, 18 Apr 2013 15:27:45 +0200	[thread overview]
Message-ID: <516FF4D1.2050502@googlemail.com> (raw)
In-Reply-To: <CAJSP0QVOnfSp_wyn-qyd5dcLETcAAJi36zFMLpeJUYETJHTjkQ@mail.gmail.com>

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


  reply	other threads:[~2013-04-18 13:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12 15:04 [User Question] Repeated severe performance problems on guest Martin Wawro
2013-04-16  5:49 ` Stefan Hajnoczi
2013-04-16  7:49   ` Martin Wawro
2013-04-17 13:53     ` Stefan Hajnoczi
2013-04-17 19:52       ` Martin Wawro
2013-04-18  7:25         ` Stefan Hajnoczi
2013-04-18 10:00           ` Martin Wawro
2013-04-18 13:14             ` Stefan Hajnoczi
2013-04-18 13:27               ` Martin Wawro [this message]
2013-04-19  5:59                 ` Stefan Hajnoczi
2013-04-19  6:51                   ` Martin Wawro
2013-04-18  7:42   ` Martin Wawro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516FF4D1.2050502@googlemail.com \
    --to=martin.wawro@gmail.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox