Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvoDY-00068f-7C for qemu-devel@nongnu.org; Sun, 17 Dec 2006 00:05:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvoDW-000662-Qg for qemu-devel@nongnu.org; Sun, 17 Dec 2006 00:05:42 -0500 Received: from [69.69.215.43] (helo=mail.premiumoperatingsystems.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GvoDW-00067u-Ba for qemu-devel@nongnu.org; Sun, 17 Dec 2006 00:05:42 -0500 Received: from mail.premiumoperatingsystems.net (localhost.localdomain [127.0.0.1]) by mail.premiumoperatingsystems.net (8.12.11/8.12.11) with ESMTP id kBH4bCFp006830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Dec 2006 23:37:12 -0500 From: it@tidetamerboatlifts.com Message-ID: <26705.71.51.225.120.1166330232.squirrel@secure.emarketingnc.com> In-Reply-To: References: <10541fa50612130009s798a1587n4a3d2b8b51baa334@mail.gmail.com> <200612141645.40403.paul@codesourcery.com> <4582CBA6.6000809@tidetamerboatlifts.com> <200612151613.35422.paul@codesourcery.com> <45831FB1.4030907@tidetamerboatlifts.com> <25199.71.51.225.120.1166272989.squirrel@secure.emarketingnc.com> Date: Sat, 16 Dec 2006 23:37:12 -0500 (EST) Subject: Re: [Qemu-devel] Qemu speed vs vmplayer? MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > On Sat, 16 Dec 2006, it@tidetamerboatlifts.com wrote: > >>> On Fri, 15 Dec 2006, Joseph Miller wrote: > > [..snip..] > >> Malc, >> >> Thanks, >> I think that this was my problem. I didn't realize that the usb tablet >> would cause such a slowdown. The usb tablet is such a useful feature, >> I'm >> sure it is commonly used. Maybe a warning could be provided so that >> users >> would know it has some performance quirks. Maybe I can look at the code >> and find out why it is so much slower? Maybe this is a general usb >> problem? > > You think? As in: tried with and without USB and top reports much higher > CPU usage? In any case do not rely on top(1) too much, as mentioned in > the post for certain CPU usage patterns Linux just does not provide a > meaningful idleness information (which top uses). > > Again as mentioned in the post, i have seen 30%-40% difference between > "real" idleness and what the kernel reports via proc, but 70% is a bit > too much. The negative impact of USB (tablet only?) on the load was > mentioned a few times on the ML and in private conversations with > Anthony Liguori and since there was no progress in this area i doubt > that there's much you can do apart from reporting the issue once again. > > Apparently you wont find much symphaty when reporting the speed issues > while kqemu is active. So i'd suggest to: > > a. Measure and report the difference without kqemu > b. Use something more reliable than top(1) > > -- > vale > Yeah, I said "I think" because I wanted to use a decent benchmark to actually test the results. I threw in a test against VMPlayer as well. I found that with USB tablet emulation, Qemu was approximately only half as fast as it could operate without it. I did NOT perform these tests without KQEMU for two reasons 1) the *concept* that USB tablet emulation slows down Qemu can be shown either way and 2) I can't stand waiting around for hours and hours while Qemu translates code, sorry. At this particular time, I'm really only interested in this particular case because I use it for production use and many non-developer users are wanting to do the same thing. The only major difference that I found between Qemu+KQEMU and VMPlayer was that VMPlayer is about 4x faster when it comes to memory access. You can view my results at: http://www.calcmaster.net/qemu/benchmarks-20061216/ -Joseph