From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKxau-0003A1-Ri for qemu-devel@nongnu.org; Wed, 06 Sep 2006 09:37:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKxat-00035u-D1 for qemu-devel@nongnu.org; Wed, 06 Sep 2006 09:37:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKxat-00035e-7z for qemu-devel@nongnu.org; Wed, 06 Sep 2006 09:37:31 -0400 Received: from [66.249.82.224] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKxb2-0002of-Pp for qemu-devel@nongnu.org; Wed, 06 Sep 2006 09:37:40 -0400 Received: by wx-out-0506.google.com with SMTP id r21so2929591wxc for ; Wed, 06 Sep 2006 06:37:30 -0700 (PDT) Message-ID: Date: Wed, 6 Sep 2006 15:37:30 +0200 From: "andrzej zaborowski" Sender: balrogg@gmail.com Subject: Re: [Qemu-devel] Best way to get real performance info? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: balrogg@gmail.com, 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 On 06/09/06, Alessandro Corradi wrote: > > Hi all, > I need to measure the performance of a host OS, a guest OS with and without > kqemu. > I particular I need to have performance info about CPU. I made a simple C > program that makes only arithmetical operations and long cycles. > I run "time ./myapp" but the results are not the real ones. Can someone tell > me how to get this measures? Hi, I don't know about real benchmarking but one improvement I can think of is measure the times on host, with something like the following: [user@host] $ nc -l 10000; time nc -l 10000 and [user@guest] $ nc host_ip_here 10000 <<< started; ./myapp; nc host_ip_here 10000 <<< finished (nc is netcat) It's still very inaccurate but the error is small if ./myapp takes long. Perhaps someone will have better ideas. > Thanks > > Ale > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > -- balrog 2oo6