public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Theune <ct@gocept.com>
To: kvm@vger.kernel.org
Subject: CPU usage wrt kernel mode
Date: Fri, 05 Sep 2008 09:23:36 +0200	[thread overview]
Message-ID: <1220599416.25056.17.camel@mindy> (raw)

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

Hi,

we're setting up a couple of machines with KVM and are really happy in
general.

However, we have a consistently appearing issue with a high percentage
of CPU time spent in kernel (aka system) mode.

We're using kernel 2.6.25 on the host and 2.6.25 in the guest. KVM 73 is
compiled manually on the host.

We eliminated virtio as a problem source already, as well as specific
disk storages (local LVM device, AoE device, qcow and raw images).

We use a Linux kernel compilation run to produce the behaviour by
issuing `make -j(N+1)` (for N CPUs) and comaring various virtual machine
configurations as well as the host.

The hosts have 4 to 8 cores and the guests were run with 1 or 2 virtual
CPUs.

In a guest with a single CPU the percentage of system mode time goes up
to 70-80% grinding the VM almost to a halt.

On the host system load stays around 10%.

Latencytop seems to indicate file operations that might cause the CPU
time. The filesystem is ext3 on the host and the guests.

We're kind of stuck after a couple of days of debugging and wonder
whether someone knows this behaviour (we assume this isn't supposed to
be this way) and might know how to debug it further (or even solve it).

Best regards,
Christian

-- 
Christian Theune · ct@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2008-09-05  7:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1220599416.25056.17.camel@mindy \
    --to=ct@gocept.com \
    --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