Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAXlT-0000Cx-V9 for qemu-devel@nongnu.org; Thu, 03 Jan 2008 16:38:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAXlR-0000AG-Vg for qemu-devel@nongnu.org; Thu, 03 Jan 2008 16:38:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAXlR-00009x-Bz for qemu-devel@nongnu.org; Thu, 03 Jan 2008 16:38:09 -0500 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JAXlR-0006Py-2S for qemu-devel@nongnu.org; Thu, 03 Jan 2008 16:38:09 -0500 From: Clemens Kolbitsch Subject: Re: [Qemu-devel] performance monitor Date: Thu, 3 Jan 2008 22:38:02 +0100 References: <200801032136.27558.clemens.kol@gmx.at> <200801032129.09756.paul@codesourcery.com> In-Reply-To: <200801032129.09756.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801032238.03458.clemens.kol@gmx.at> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On Thursday 03 January 2008 22:29:06 Paul Brook wrote: > > ... Ok, to cut a long question short: Is there any hardware support im > > qemu for doing monitoring (that goes deeper than using "time") and has > > anyone ever tested something that could work? > > Probably your application wants the performance counters. Qemu doesn't > emulate those. > > Besides which, qemu is not cycle accurate. Any performance measurements > your make are pretty much meaningless, and bear absolutely no relationship > to real hardware. Thanks for the quick answer Paul! Not really what I wanted to hear, but probably true ;-) Does anyone have an idea on how I can measure performance in qemu to a somewhat accurate level? I have modified qemu (the memory handling) and the linux kernel and want to find out the penalty this introduced... does anyone have any comments / ideas on this? Thanks!