public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
To: kvm@vger.kernel.org
Cc: nikola.ciprich@linuxbox.cz
Subject: KVM got slow after adding more physical memory to host
Date: Tue, 6 Sep 2011 16:02:01 +0200	[thread overview]
Message-ID: <20110906140201.GF18218@pcnci.linuxbox.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

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

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

nik
-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2011-09-06 14:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 14:02 Nikola Ciprich [this message]
2011-09-06 15:13 ` KVM got slow after adding more physical memory to host Avi Kivity
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=20110906140201.GF18218@pcnci.linuxbox.cz \
    --to=nikola.ciprich@linuxbox.cz \
    --cc=kvm@vger.kernel.org \
    /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