From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: USB tablet CPU usage pattern. Possible bug? Date: Tue, 05 Oct 2010 10:20:23 +0400 Message-ID: <4CAAC3A7.3020104@msgid.tls.msk.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: =?ISO-8859-1?Q?Thomas_L=F8cke?= Return-path: Received: from isrv.corpit.ru ([86.62.121.231]:54817 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753967Ab0JEGU0 (ORCPT ); Tue, 5 Oct 2010 02:20:26 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 05.10.2010 09:36, Thomas L=F8cke wrote: > Hey all, >=20 > The other day I upgraded the kernel on one of my KVM hosts. I went > from 2.6.34.1 to 2.6.35.7, and immediately I noticed that my Windows > XP guests was now using significantly more CPU while idle, compared t= o > the 2.6.34.1 kernel. All the Windows XP guests are running with > -usbdevice tablet. >=20 > Using the 2.6.34.1 kernel idle CPU usage for the Windows XP guests wa= s > sitting at ~5%, with spikes going as high as 10%. Using 2.6.35.7 thes= e > numbers were ~20%, with spikes going as high as 35%. >=20 > Everything appeared to work as usual, except for this higher idle loa= d. >=20 > I'm using qemu-kvm 0.12.50. All images are raw. No SMP for the Window= s > XP guests. >=20 > I downgraded to 2.6.34.7, and the CPU load pattern is now back to nor= mal. >=20 > The server is a Sun Fire X4270 (dual quad core Xeon 5520, 24GB RAM) > running Slackware 13.1 x86_64. >=20 > I've no idea whether this is intentional, or if it is a bug in the > kernel, the KVM modules or in qemu-kvm. It's not only usb tablet, it's any usb device. There were a long thread started by me a while back, initially titled high load with win7 & usb tablet and later renamed to high load with usb device here on kvm@vger. But there's nothing conclusive in there. There are also several threads on LKML (linux kernel mailing list) about high power consumption and high idle load with recent (2.6.35+ and even some stable) kernels, also without anything conclusive. The two (high cpu utilisation in kvm while guest is only checking usb devices and high idle load in recent kernels) may be related or may be not. It'd be nice to find out what the problem(s) is(are), but so far it weren't done. /mjt