From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KytI0-0008BR-Lc for qemu-devel@nongnu.org; Sat, 08 Nov 2008 14:16:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KytI0-0008B0-1f for qemu-devel@nongnu.org; Sat, 08 Nov 2008 14:16:08 -0500 Received: from [199.232.76.173] (port=41199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KytHz-0008As-KP for qemu-devel@nongnu.org; Sat, 08 Nov 2008 14:16:07 -0500 Received: from hall.aurel32.net ([88.191.82.174]:48869) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KytHz-0004Mf-0U for qemu-devel@nongnu.org; Sat, 08 Nov 2008 14:16:07 -0500 Date: Sat, 8 Nov 2008 20:16:04 +0100 From: Aurelien Jarno Message-ID: <20081108191604.GA20748@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 0/11] target-mips: optimizations 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, This is version 2 of the series which includes: - Changes suggested by Laurent Desnogues. - Correctly free tmp variables Aurelien ---- This series optimize the MIPS emulation, and more precisely the 64-bit emulation as shown the table below. All the tests have been done on an x86-64 host. The 32-bit task corresponds to compilation of C++ code using a 32-bit userland. The times are given is seconds. +---------------------+---------------------+ | Boot time | 32-bit task | +----------+----------+----------+----------+ | Original | Patched | Original | Patched | +--------------------+----------+----------+----------+----------+ | qemu-system-mips32 | 33 | 33 | 131 | 131 | | | | | | | +--------------------+----------+----------+----------+----------+ | qemu-system-mips64 | 53 | 33 | 303 | 138 | | + 32-bit kernel | | | | | +--------------------+----------+----------+----------+----------+ | qemu-system-mips64 | 47 | 31 | 231 | 107 | | + 64-bit kernel  | | | | | +--------------------+----------+----------+----------+----------+ With this series, there is now very few overheads running a 32-bit system in qemu-system-mips64, and a gain when switching to a 64-bit kernel. This is probably not true on a 32-bit host. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net