From: Michael Tokarev <mjt@tls.msk.ru>
To: Avi Kivity <avi@redhat.com>
Cc: KVM list <kvm@vger.kernel.org>
Subject: Re: high load with win7 & usb tablet
Date: Fri, 10 Sep 2010 16:44:26 +0400 [thread overview]
Message-ID: <4C8A282A.5010506@msgid.tls.msk.ru> (raw)
In-Reply-To: <4C8A2254.7090505@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2564 bytes --]
10.09.2010 16:19, Avi Kivity wrote:
> On 09/03/2010 03:21 PM, 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:
[]
> That's pretty good for an idle guest.
Hm. Well. Sometimes it goes "a bit" further than that:
efer_reload 0 0
exits 6307547 12445
fpu_reload 39995 49
halt_exits 74950 50
halt_wakeup 72075 49
host_state_reload 2150687 5585
hypercalls 0 0
insn_emulation 3218768 6337
insn_emulation_fail 0 0
invlpg 0 0
io_exits 962906 5012
irq_exits 190637 436
irq_injections 31017 2
irq_window 0 0
largepages 0 0
mmio_exits 1076036 496
mmu_cache_miss 31812 9
mmu_flooded 0 0
mmu_pde_zapped 0 0
mmu_pte_updated 0 0
mmu_pte_write 9818 9
mmu_recycled 0 0
mmu_shadow_zapped 43946 0
mmu_unsync 0 0
nmi_injections 0 0
nmi_window 0 0
pf_fixed 2553881 5512
pf_guest 0 0
remote_tlb_flush 4502 0
request_irq 0 0
It happens every few seconds, but it does not look like
this is the cause of high CPU load, most likely it's some
periodic tasks that really triggers every few secs, not
more often, so almost does not add to the average and min
loads.
> What does the guest think it is doing? The Windows performance monitor?
Nothing. It shows perfmon.exe using 3% CPU, and that's about
it. I'm attaching a .png screenshot of the KVM window with
w7 perfmon running. Unfortunately I don't have English
version handy, it's all in Russian, and I weren't able to
change system language to English. But it is still readable.
During this shot, host CPU was about 30..35% in use - higher
than usual 25%, but I guess it's due to perfmon.
Also, I haven't found a way to see, for example, individual
interrupt activity in windows (like /proc/interrupts in
linux).
Thanks!
/mjt
[-- Attachment #2: w7-perfmon-ru-idle.png --]
[-- Type: image/png, Size: 31806 bytes --]
next prev parent reply other threads:[~2010-09-10 12:44 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
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 [this message]
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=4C8A282A.5010506@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=avi@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