From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvKgL-00007x-4R for qemu-devel@nongnu.org; Fri, 15 Dec 2006 16:33:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvKgG-0008UJ-7A for qemu-devel@nongnu.org; Fri, 15 Dec 2006 16:33:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvKgF-0008Tx-W0 for qemu-devel@nongnu.org; Fri, 15 Dec 2006 16:33:24 -0500 Received: from [24.93.47.42] (helo=ms-smtp-03.texas.rr.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvKgF-0003TK-SN for qemu-devel@nongnu.org; Fri, 15 Dec 2006 16:33:24 -0500 Received: from vaio (cpe-66-68-31-100.austin.res.rr.com [66.68.31.100]) by ms-smtp-03.texas.rr.com (8.13.6/8.13.6) with ESMTP id kBFLXLC5013523 for ; Fri, 15 Dec 2006 15:33:22 -0600 (CST) Subject: Re: [Qemu-devel] Qemu speed vs vmplayer? From: Lonnie Mendez In-Reply-To: <45831FB1.4030907@tidetamerboatlifts.com> References: <10541fa50612130009s798a1587n4a3d2b8b51baa334@mail.gmail.com> <200612141645.40403.paul@codesourcery.com> <4582CBA6.6000809@tidetamerboatlifts.com> <200612151613.35422.paul@codesourcery.com> <45831FB1.4030907@tidetamerboatlifts.com> Content-Type: text/plain Date: Fri, 15 Dec 2006 15:33:03 -0600 Message-Id: <1166218383.22784.10.camel@vaio> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Fri, 2006-12-15 at 17:20 -0500, Joseph Miller wrote: > I've got a copy of today's CVS, I was just assuming, since this is the > qemu-devel mailing list, that someone on the list who regularly works on > the qemu code would probably know more about this than I do. I have > some assembly background, and I'm not afraid to start digging into x86 > cpu internals, but I would like a starting point. I'm really trying to > figure out something specific about qemu. When running Qemu+KQEMU for > linux-x86 host on WinXP x86 guest, top shows that 70% or more of my cpu > is being use in the system portion. When using vmplayer (free), top > shows less than 5% of my cpu in the system portion. vmplayer seems to > be a LOT faster than Qemu, however I would prefer to use Qemu. I have a > P4 2.6GHz host system with 1.5G RAM and 512MB RAM allocated to my guest > OS's. Does anyone know the reason behind the slowdown? Is anyone > familiar with what Qemu is so busy doing whilst sitting idle? I should > note that I have compiled the KQemu into my 2.6 kernel instead of > loading it as a module. I have found better performance with it this > way. Any insight from a developer would be most appreciated. Are you using the -kernel-kqemu switch? I see idle usage of 6-10% with kqemu using -kernel-kqemu on windows xp guest. kqemu is closed source software. If you want a starting point for improving the acceleration portion then start by improving qvm86 (the GPL'ed accelerator).