From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 508C2C433E0 for ; Wed, 17 Mar 2021 16:18:35 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B851864E83 for ; Wed, 17 Mar 2021 16:18:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B851864E83 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=NetBSD.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:58462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMYsT-0003kz-DS for qemu-devel@archiver.kernel.org; Wed, 17 Mar 2021 12:18:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMYlb-0004wA-1Y for qemu-devel@nongnu.org; Wed, 17 Mar 2021 12:11:27 -0400 Received: from 13thmonkey.org ([80.100.255.32]:65372 helo=diablo.13thmonkey.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMYlZ-0002tG-9A for qemu-devel@nongnu.org; Wed, 17 Mar 2021 12:11:26 -0400 Received: by diablo.13thmonkey.org (Postfix, from userid 103) id CC3E9C13ADD; Wed, 17 Mar 2021 17:11:22 +0100 (CET) Date: Wed, 17 Mar 2021 17:11:22 +0100 From: Reinoud Zandijk To: qemu-devel@nongnu.org Subject: Win10 always takes 100% cpu power even when idle Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wgUTGuAO1SrmD61b" Content-Disposition: inline Received-SPF: none client-ip=80.100.255.32; envelope-from=reinoud@diablo.13thmonkey.org; helo=diablo.13thmonkey.org X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --wgUTGuAO1SrmD61b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, 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. Using our NVMM accelerator makes it run a whole lot faster, as good as native speed, but it always takes up the whole two processors too! Windows10 also *allways* reports 100% cpu usage. Its not a startup thing for even when letting it run for quite some time never reduces the cpu time. In contrast, running NetBSD in the VM takes no CPU time at all when idle. When Googling about this, I saw this come by quite often. Is there something Qemu can do about this? What makes it spin like this and why is it Windows10 specific? This is a specific VM aware version too if I may believe it saying so. I already replaced drivers to virtio etc but to no avail. Always 100% CPU time for all CPUs. Could this also be an ACPI thing? With regards, Reinoud --wgUTGuAO1SrmD61b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEELRHWktq6GkG74/X0gpw3AEPIqmgFAmBSKigACgkQgpw3AEPI qmg+WAgArfKMPZSa+R+S5c1ff+5Y/hgztTu/+/14MD8lIkoYY/hI7ZX7HIPBP9r8 5BbdZ9Hvzpy/v4RZtlj16Blikm1FjiYyS5qa7viYvzjdG//+a5W1TXkNRk5rtncc SHclb0Nd6FtNOafi139OSgfkyK2vIoZsPdhiHaj9293aQ1b2LMbFfnILYfQ+ACpx kFPF2IdjeHXAs4z8nlN9WEhviZTG6VzvavaQwGRu1UArgiDjyc7ckTqYtoLkWPqV 9o3mHQsB2GSUjBtFUH7heyOrErisK5PK9B4GjjG7vuEWjB/v6SSKStfYkeZyCVmk RiYSCrrCmzrFESPF8xtpN2uwUU6B1w== =Nt7K -----END PGP SIGNATURE----- --wgUTGuAO1SrmD61b--