qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Reinoud Zandijk <reinoud@NetBSD.org>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: Win10 always takes 100% cpu power even when idle
Date: Wed, 17 Mar 2021 18:00:37 +0100	[thread overview]
Message-ID: <YFI1tThW/xpwNOsc@diablo.13thmonkey.org> (raw)
In-Reply-To: <YFIr7YJvjGXURoRl@redhat.com>

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

On Wed, Mar 17, 2021 at 04:18:53PM +0000, Daniel P. Berrangé wrote:
> On Wed, Mar 17, 2021 at 05:11:22PM +0100, Reinoud Zandijk wrote:
> > when executing Qemu with
> > 
> >   qemu-system-x86_64 -m 4G -smp cores=2 -M q35 -snapshot \
> >     -drive file=/home/reinoud/Downloads/Win10-demo.raw,format=raw \
> >     -rtc base=localtime,clock=host -spice port=5924,disable-ticketing=on \
> >     -vga qxl -usb -device usb-tablet -net nic -net tap,ifname=tap0,script=no
> > 
> > my cpu usage in Windows10 *allways* reports 100% cpu usage. On the host system
> > its always 190%+ ie it is really taking two cores completely.

> IIRC,  "-usb" still adds a USB-1 controller and that's known to be bad for
> causing high load in Windows guests in particular. So before debugging
> anything else, I'd suggest configuring a USB-3 controller instead - see
> docs/usb2.txt XHCI info.

I tried that and added `-device qemu-xhci' instead of the `-usb' and it indeed
showed an USB 3 interface. It didn't help though; its still consuming 100% CPU
from both configured CPUs.

When I completely remove USB, i get the jagged mouse again but it makes no
difference :-/

Reinoud


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-03-17 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17 16:11 Win10 always takes 100% cpu power even when idle Reinoud Zandijk
2021-03-17 16:18 ` Daniel P. Berrangé
2021-03-17 17:00   ` Reinoud Zandijk [this message]
2021-03-17 17:05     ` Daniel P. Berrangé
2021-03-17 21:29       ` Reinoud Zandijk

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=YFI1tThW/xpwNOsc@diablo.13thmonkey.org \
    --to=reinoud@netbsd.org \
    --cc=berrange@redhat.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).