Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1zln-0004CI-8Q for qemu-devel@nongnu.org; Fri, 30 May 2008 04:15:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1zll-0004BV-Fc for qemu-devel@nongnu.org; Fri, 30 May 2008 04:15:26 -0400 Received: from [199.232.76.173] (port=53908 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1zll-0004BQ-B0 for qemu-devel@nongnu.org; Fri, 30 May 2008 04:15:25 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:49257) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1zll-0006n3-80 for qemu-devel@nongnu.org; Fri, 30 May 2008 04:15:25 -0400 Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 413FDDD58743 for ; Fri, 30 May 2008 10:14:42 +0200 (CEST) Received: from [134.155.92.112] (helo=[192.168.0.103]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1K1zl4-0004RW-00 for qemu-devel@nongnu.org; Fri, 30 May 2008 10:14:42 +0200 Message-Id: <7B349DEE-4173-402B-ABCA-3E75B744B41B@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: [Qemu-devel] Re: KQEMU code organization Date: Fri, 30 May 2008 10:14:40 +0200 References: <483C3D55.2000508@siemens.com> <483EA1AD.1010901@bellard.org> <20080529161322.GB21610@shareable.org> <200805291726.05398.paul@codesourcery.com> <20080529163536.GD21610@shareable.org> <483EEB5D.1030004@codemonkey.ws> <483F2437.1090606@bellard.org> Sender: andreas.faerber@web.de 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 Hi, Am 30.05.2008 um 05:32 schrieb Mulyadi Santosa: > On Fri, May 30, 2008 at 4:46 AM, Fabrice Bellard > wrote: >> >> Code patching seems interesting. Although I did not look in detail, >> it >> seems that VirtualBox use it extensively and gets very good >> performance >> without using hardware virtualization. > > I second that. Beside being Qemu users, I am also now a loyal user of > VirtualBox. I guess that VBox can identify hot spot (repeating > instructions or TB) and tries harder and harder to optimize it. It > could be related to what I call "smart flush of translation cache"... > not entirely flushing cached TB but selectively doing so. > > However, I also guess that VBox is tightly related to its kernel > module, thus without it ...it might be slower than Qemu/TCG..but I > have no hard data to support it. I've tried VirtualBox on a Core Duo Mac and despite its kernel module, in my perception, it is significantly slower than Q, which does not have any hypervisor. The responsiveness to moving the mouse around is better though in VirtualBox. Andreas