Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyjEE-0004xb-3P for qemu-devel@nongnu.org; Sat, 08 Nov 2008 03:31:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyjEB-0004xM-Ah for qemu-devel@nongnu.org; Sat, 08 Nov 2008 03:31:32 -0500 Received: from [199.232.76.173] (port=50618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyjEB-0004xJ-7B for qemu-devel@nongnu.org; Sat, 08 Nov 2008 03:31:31 -0500 Received: from mx20.gnu.org ([199.232.41.8]:19293) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KyjEA-0006LS-O8 for qemu-devel@nongnu.org; Sat, 08 Nov 2008 03:31:30 -0500 Received: from hall.aurel32.net ([88.191.82.174]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyjE9-0001R4-T1 for qemu-devel@nongnu.org; Sat, 08 Nov 2008 03:31:30 -0500 Date: Sat, 8 Nov 2008 09:31:18 +0100 From: Aurelien Jarno Message-ID: <20081108083118.GB9549@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 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 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 -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net