From: Michael Tokarev <mjt@tls.msk.ru>
To: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: high load with win7 & usb tablet
Date: Fri, 10 Sep 2010 16:16:07 +0400 [thread overview]
Message-ID: <4C8A2187.1020202@msgid.tls.msk.ru> (raw)
In-Reply-To: <4C8A1AE3.8030705@redhat.com>
10.09.2010 15:47, Jes Sorensen wrote:
> On 09/03/10 14:21, Michael Tokarev wrote:
>> Hello.
>>
>> I noticed that window7, unlike windowsXP as I played with
>> previously, poses quite high load on host when idle. On
>> my machine, host cpu usage is about 25% when one single-cpu
>> win7 guest is running with "-usbdevice tablet" option.
>> Here's a typical kvm_stats when such a guest is idling:
>
> Hi Michael,
>
> I am curious, the XP numbers you are referring to, are they against the
> same version of KVM/QEMU or is it something you saw in the past? It
I ran winXP guest and win7 guest one after another on the
same machine using the same version of kvm (it was 0.12.5).
You run a freshly installed win7 guest and at idle it consumes
about 25% of host CPU. You shut it down and run a freshly
installed winXP guest - about 3..4% host CPU usage at idle.
(This is AthlonII CPU, 3.2GHz. Cpufreq is enabled, and that
activity is not enough for ondemand governer to increase the
frequency from the lowest awailable 800MHz, so that's 25% of
800MHz, not 25% of 3.2GHz).
> would be interesting to track down whether this idle time consumption is
> only with win7 or if it happens with all versions of windows, as opposed
> to being a general problem in current KVM/QEMU.
It does not happen on winXP and happens on win7.
I haven't tried vista - don't have it around.
Since my initial report, I learned a bit about USB
(trying to find a way to change pooling frequency).
I don't actually understand how it works, but some
sources claims that USB device descriptor, among
other things, also may include preferred pooling
interval. It has also been mentioned that win7
has different USB driver for HID devices, and some
sources report that it now checks for mouse moves
1000 times per second, instead of 120 or 250 as
previous versions of windows. I've no idea how
accurate these sources and claims are, however... :)
Thanks!
/mjt
next prev parent reply other threads:[~2010-09-10 12:16 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 12:21 high load with win7 & usb tablet Michael Tokarev
2010-09-10 11:47 ` Jes Sorensen
2010-09-10 12:16 ` Michael Tokarev [this message]
2010-09-10 16:17 ` high load with usb device Michael Tokarev
2010-09-12 9:26 ` Avi Kivity
2010-09-14 6:51 ` Michael Tokarev
2010-09-14 9:06 ` Avi Kivity
2010-09-14 9:08 ` Avi Kivity
2010-09-14 10:00 ` Michael Tokarev
2010-09-14 10:07 ` Avi Kivity
2010-09-14 10:25 ` Michael Tokarev
2010-09-14 10:39 ` Avi Kivity
2010-09-14 11:02 ` Michael Tokarev
2010-09-14 13:15 ` Michael Tokarev
2010-09-14 13:25 ` Avi Kivity
2010-09-14 13:29 ` Michael Tokarev
2010-09-14 13:38 ` Michael Tokarev
2010-09-14 14:45 ` Avi Kivity
2010-09-14 14:53 ` Michael Tokarev
2010-09-14 16:00 ` Avi Kivity
2010-09-14 16:29 ` Michael Tokarev
2010-09-14 16:37 ` Avi Kivity
2010-09-14 16:50 ` Michael Tokarev
2010-09-14 16:45 ` David S. Ahern
2010-09-14 15:51 ` David S. Ahern
2010-09-14 16:00 ` Michael Tokarev
2010-09-14 16:09 ` David S. Ahern
2010-09-10 12:19 ` high load with win7 & usb tablet Avi Kivity
2010-09-10 12:44 ` Michael Tokarev
2010-09-10 12:50 ` Avi Kivity
[not found] ` <4C8A44E6.2060008@msgid.tls.msk.ru>
2010-09-10 14:56 ` Avi Kivity
2010-09-10 15:03 ` Michael Tokarev
2010-09-10 16:03 ` Avi Kivity
2010-09-14 8:26 ` Brad Campbell
2010-09-14 8:33 ` Michael Tokarev
2010-09-14 8:46 ` Brad Campbell
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=4C8A2187.1020202@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=Jes.Sorensen@redhat.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