Received: from eggs.gnu.org ([2001:4830:134:3::10]:49330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCFKu-0001SV-Hn for qemu-devel@nongnu.org; Fri, 16 Jan 2015 17:25:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCFKr-0007ZS-36 for qemu-devel@nongnu.org; Fri, 16 Jan 2015 17:25:48 -0500 Received: from indium.canonical.com ([91.189.90.7]:47204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCFKq-0007ZK-UJ for qemu-devel@nongnu.org; Fri, 16 Jan 2015 17:25:45 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1YCFKp-00023s-FX for ; Fri, 16 Jan 2015 22:25:43 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 70C772E80BF for ; Fri, 16 Jan 2015 22:25:43 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 16 Jan 2015 22:16:17 -0000 From: Ryan Harper <1318830@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140512220354.16267.10828.malonedeb@soybean.canonical.com> Message-Id: <20150116221617.19779.3906.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1318830] Re: High CPU usage on windows virtual machine Reply-To: Bug 1318830 <1318830@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, Are you running ntp in the host or timekeeping in the guest? If so, is the guest clock close to what current time should be? Also, can you try adding this option: -global mc146818rtc.lost_tick_policy=3Dslew -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1318830 Title: High CPU usage on windows virtual machine Status in QEMU: New Status in qemu package in Ubuntu: New Bug description: I got Ubuntu 14.04, with Qemu 2.0 and moved my windows VM to this new box= , and made sure that what this article indicates was achieved https://www.kraxel.org/blog/2014/03/qemu-and-usb-tablet-cpu-consumtion/ I can attest that it works following the instructions, erasing the regist= ry, etc. Unfortunately, with 4 cpus as below, I still see 60% CPU outside as shown= by "Top" versus 0% CPU inside. My Kernel is 3.15.0-031500rc4-generic If some developer wants to log in and take a look, I am happy to help. Th= e box is not in production and I take full responsibility. Until this is so= lved, KVM is not going to compete with Hyper-V or Vmware. Basically KVM is= not suitable for the Enterprise as of yet. qemu-system-x86_64 -enable-kvm -name Production -S -machine pc- i440fx-2.0,accel=3Dkvm,usb=3Doff -cpu kvm64,+rdtscp,+pdpe1gb,+x2apic,+dca,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx= ,+ds_cpl,+monitor,+dtes64,+pclmuldq,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme,hv_rela= xed,hv_vapic,hv_spinlocks=3D0xfff -m 4024 -realtime mlock=3Doff -smp 4,sockets=3D1,cores=3D4,threads=3D1 -u= uid e8701c5c-b542-0199-fd2a-1047df24770e -no-user-config -nodefaults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/Production.monitor,s= erver,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol -rtc base=3Dlocalt= ime -no-shutdown -boot strict=3Don -device piix3-usb- uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 -drive file=3D/var/lib/libvirt/images/Production.img,if=3Dnone,id=3Ddrive-virtio- disk0,format=3Draw -device virtio-blk- pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-virtio-disk0,id=3Dvir= tio- disk0,bootindex=3D1 -netdev tap,fd=3D30,id=3Dhostnet0,vhost=3Don,vhostfd= =3D31 -device virtio-net- pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:16:3a:d2:cd:ea,bus=3Dpci.0,addr= =3D0x3 -netdev tap,fd=3D35,id=3Dhostnet1,vhost=3Don,vhostfd=3D36 -device virtio-= net- pci,netdev=3Dhostnet1,id=3Dnet1,mac=3D52:54:00:70:fe:54,bus=3Dpci.0,addr= =3D0x4 -chardev pty,id=3Dcharserial0 -device isa- serial,chardev=3Dcharserial0,id=3Dserial0 -device usb-tablet,id=3Dinput0 -vnc 127.0.0.1:0 -device VGA,id=3Dvideo0,bus=3Dpci.0,addr=3D0x2 -device intel-hda,id=3Dsound0,bus=3Dpci.0,addr=3D0x5 -device hda- duplex,id=3Dsound0-codec0,bus=3Dsound0.0,cad=3D0 -device virtio-balloon- pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x7 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1318830/+subscriptions