All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kai Zimmer <kai@zimmer.net>
To: kvm@vger.kernel.org
Subject: slow responsiveness of kvm guests
Date: Fri, 31 Jul 2009 14:15:19 +0000 (GMT)	[thread overview]
Message-ID: <737790504.9407.1249049719234.JavaMail.mail@webmail05> (raw)

Hi,

i have three guests running via qemu-kvm. All three are webservers using apache2/django and mysql. System load is very low on all guests and the host, too. Guest 1 reaction times (web server, ssh) are fine as long as no other guest is getting busy. When i ssh to guest 2 it takes 5-15 seconds until i get a login. When i run top or htop on one of the guests the other guests don't react for 5 seconds (webservers or typing in ssh shell). My colleagues already try to convince me to use xen instead...

already
- disabled apm and acpi in the guests
- turned Hyperthreading off
- tried different i/o schedulers: cfq vs. deadline. Result is the same.
- nailed down guest process via taskset to separate cpu cores

host is
OpenSuSe 11.1 x86_64
kvm-78-6.5.1
2xXeon 5550 Nehalem (Quadcores, Speedstep-enabled)
48 GB RAM
1 GB Ethernet as tap interface

all three guests are
Debian 5.0 x86_64
two virtual cpus
4GB RAM (hugepage-backed)
started via
qemu-kvm -hda xyz.qcow2 -daemonize -net nic,model=virtio -net tap -k de -m 3584 -smp 2 -mem-path /hugepages -vnc :2

Any ideas what goes wrong here?
Kai 

             reply	other threads:[~2009-07-31 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-31 14:15 Kai Zimmer [this message]
2009-08-03 12:40 ` slow responsiveness of kvm guests 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=737790504.9407.1249049719234.JavaMail.mail@webmail05 \
    --to=kai@zimmer.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.