From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVrHU-00031I-Vi for qemu-devel@nongnu.org; Tue, 06 Nov 2012 17:06:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVrHU-0005pv-04 for qemu-devel@nongnu.org; Tue, 06 Nov 2012 17:06:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVrHT-0005pe-OM for qemu-devel@nongnu.org; Tue, 06 Nov 2012 17:05:59 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA6M5wQa024805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Nov 2012 17:05:58 -0500 Message-ID: <509989C3.9070402@redhat.com> Date: Tue, 06 Nov 2012 23:05:55 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1352210901-1923-1-git-send-email-hdegoede@redhat.com> In-Reply-To: <1352210901-1923-1-git-send-email-hdegoede@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] usb: Move interrupt handling from poll to async handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hans de Goede Cc: qemu-devel@nongnu.org On 11/06/12 15:08, Hans de Goede wrote: > This patchsets move interrupt handling for usb-redir and usb-hid devices > over from polling to async handling. Together with a patch to allow > async stepdown in ehci when the periodic schedule only contains interrupt > queues, and a patch to allow usb-hid devices to connect to ehci, this > fixes the usb-tablet causing a crazy cpu load for idle guests. > > With this patchset the cpuload for a fully idle vm with usb-tablet > is lowered from 20% to 2-3% (on my laptop). Not looked at it (yet) in detail, just merged quickly into a test branch, then found it blowing up in an assert with a win7 guest when moving the mouse for the first time after boot. So something is fishy in the hid patches I guess ... cheers, Gerd