[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Win10 always takes 100% cpu power even when idle
From: |
Daniel P . Berrangé |
Subject: |
Re: Win10 always takes 100% cpu power even when idle |
Date: |
Wed, 17 Mar 2021 17:05:39 +0000 |
User-agent: |
Mutt/2.0.5 (2021-01-21) |
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 :|