public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: "Thomas Løcke" <thomas.granvej6@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: USB tablet CPU usage pattern. Possible bug?
Date: Tue, 05 Oct 2010 10:20:23 +0400	[thread overview]
Message-ID: <4CAAC3A7.3020104@msgid.tls.msk.ru> (raw)
In-Reply-To: <AANLkTim2_hhMUnHf7gOpvXVsZY=rHNj66=4qX6Nn=dUe@mail.gmail.com>

05.10.2010 09:36, Thomas Løcke wrote:
> Hey all,
> 
> The other day I upgraded the kernel on one of my KVM hosts. I went
> from 2.6.34.1 to 2.6.35.7, and immediately I noticed that my Windows
> XP guests was now using significantly more CPU while idle, compared to
> the 2.6.34.1 kernel. All the Windows XP guests are running with
> -usbdevice tablet.
> 
> Using the 2.6.34.1 kernel idle CPU usage for the Windows XP guests was
> sitting at ~5%, with spikes going as high as 10%. Using 2.6.35.7 these
> numbers were ~20%, with spikes going as high as 35%.
> 
> Everything appeared to work as usual, except for this higher idle load.
> 
> I'm using qemu-kvm 0.12.50. All images are raw. No SMP for the Windows
> XP guests.
> 
> I downgraded to 2.6.34.7, and the CPU load pattern is now back to normal.
> 
> The server is a Sun Fire X4270 (dual quad core Xeon 5520, 24GB RAM)
> running Slackware 13.1 x86_64.
> 
> I've no idea whether this is intentional, or if it is a bug in the
> kernel, the KVM modules or in qemu-kvm.

It's not only usb tablet, it's any usb device.  There were a long
thread started by me a while back, initially titled

 high load with win7 & usb tablet

and later renamed to

 high load with usb device

here on kvm@vger.  But there's nothing conclusive in there.

There are also several threads on LKML (linux kernel mailing
list) about high power consumption and high idle load with
recent (2.6.35+ and even some stable) kernels, also without
anything conclusive.

The two (high cpu utilisation in kvm while guest is only
checking usb devices and high idle load in recent kernels)
may be related or may be not.  It'd be nice to find out
what the problem(s) is(are), but so far it weren't done.

/mjt

      reply	other threads:[~2010-10-05  6:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05  5:36 USB tablet CPU usage pattern. Possible bug? Thomas Løcke
2010-10-05  6:20 ` Michael Tokarev [this message]

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=4CAAC3A7.3020104@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=kvm@vger.kernel.org \
    --cc=thomas.granvej6@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