From: Avi Kivity <avi@redhat.com>
To: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Cc: kvm@vger.kernel.org
Subject: Re: KVM got slow after adding more physical memory to host
Date: Tue, 06 Sep 2011 18:13:27 +0300 [thread overview]
Message-ID: <4E663897.60901@redhat.com> (raw)
In-Reply-To: <20110906140201.GF18218@pcnci.linuxbox.cz>
On 09/06/2011 05:02 PM, Nikola Ciprich wrote:
> Hello,
>
> I'm trying to solve quite a weird problem on one of our customers' box.
> It's quad core Xeon X3430 @ 2.40GHz, running 64bit centos with 2.6.38 (I also tried upgrading to
> 2.6.39).
> After increasing physical memory from 16 to 20GB, all guest got incredibly slow, starting just
> one windows or linux guest causes host to be quite slow, and quest seems to be even slower.
> hardware virtualisation is on, KVM is used, no relevant update since the update.
> here's about 3 seconds of kvm_stat:
>
> kvm_exit 659513 103922
> kvm_entry 659505 103920
> kvm_emulate_insn 631118 99344
> kvm_exit(IO_INSTRUCTION) 625223 98398
> kvm_userspace_exit 624979 98359
> kvm_pio 624970 98357
How many guests in there?
Please post a trace as per http://www.linux-kvm.org/page/Tracing.
> but according to atop, there is almost no I/O activity from guests, and running top in them
> shows them to really be idle...
> but they eat like 60-70% of host CPU core time each..
>
> Do You have any idea on what should I check?
> thanks a lot in advance
Please post /proc/mtrr and /proc/iomem.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-09-06 15:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 14:02 KVM got slow after adding more physical memory to host Nikola Ciprich
2011-09-06 15:13 ` Avi Kivity [this message]
2011-09-06 15:38 ` Nikola Ciprich
2011-09-06 15:45 ` Avi Kivity
2011-09-06 16:01 ` Nikola Ciprich
2011-09-06 16:06 ` Avi Kivity
2011-09-06 16:06 ` Avi Kivity
2011-09-06 16:10 ` Gleb Natapov
2011-09-06 16:30 ` Nikola Ciprich
2011-09-06 17:01 ` Avi Kivity
2011-09-06 19:22 ` KVM got slow after adding more physical memory to host - SOLVED Nikola Ciprich
2011-09-08 14:58 ` Michael Tokarev
2011-09-06 16:08 ` KVM got slow after adding more physical memory to host Avi Kivity
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=4E663897.60901@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=nikola.ciprich@linuxbox.cz \
/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