Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBPTT-0001rH-KE for qemu-devel@nongnu.org; Mon, 10 May 2010 05:40:31 -0400 Received: from [140.186.70.92] (port=44113 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBPTO-0001qy-1t for qemu-devel@nongnu.org; Mon, 10 May 2010 05:40:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBPTE-00036Q-HL for qemu-devel@nongnu.org; Mon, 10 May 2010 05:40:25 -0400 Received: from ra.siriusit.co.uk ([217.207.197.130]:52675) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBPTE-00033G-AA for qemu-devel@nongnu.org; Mon, 10 May 2010 05:40:16 -0400 Message-ID: <4BE7D475.6020205@siriusit.co.uk> Date: Mon, 10 May 2010 10:40:05 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: sparc64 lazy conditional codes evaluation References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel Blue Swirl wrote: > Thanks a lot, with this patch my tests passed! I applied the combined patch. Yes, I definitely see an improvement with this patch - at least my Debian lenny SPARC boot cd doesn't randomly kernel panic any more. It looks as if it now just can't find /init which could just be due to an incorrect device mapping somewhere. > I also did a bit of refactoring to get the original Sparc64 issue fixed. However, one thing I did notice is that this does introduce a noticeable performance penalty. With OpenBIOS SVN head I see the following: With commit 72139e83a98eba2bfed2dbc2db2818fb19e47ca0 (just before the changes): [ 59.225406] Failed to execute /init [ 59.304088] Kernel panic - not syncing: No init found. Try passing init= option to kernel. [ 59.450313] Press Stop-A (L1-A) to return to the boot prom With commit 5a834bb47c373e887de5210b7ceae96e1ef413f7 (just after the changes): [ 70.384466] Failed to execute /init [ 70.474804] Kernel panic - not syncing: No init found. Try passing init= option to kernel. So while it's technically correct, it seems to have added ~15% overhead to the emulation :( ATB, Mark. -- Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 Sirius Labs: http://www.siriusit.co.uk/labs