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

On Wed, Mar 17, 2021 at 06:00:37PM +0100, Reinoud Zandijk wrote:
> 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 :-/

Possibly you need some of the hyperv enlightenments enabled too. Though
I can't recall the precise command line offhand, as I just rely on
virt-install virt-manager to do the right thing for Windows guests.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



  reply	other threads:[~2021-03-17 17:08 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
2021-03-17 17:05     ` Daniel P. Berrangé [this message]
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=YFI24wf3rg993d7H@redhat.com \
    --to=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=reinoud@netbsd.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.