qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Best way to get real performance info?
@ 2006-09-06 12:10 Alessandro Corradi
  2006-09-06 13:37 ` andrzej zaborowski
  0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Corradi @ 2006-09-06 12:10 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

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?
Thanks

Ale

[-- Attachment #2: Type: text/html, Size: 446 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Best way to get real performance info?
  2006-09-06 12:10 [Qemu-devel] Best way to get real performance info? Alessandro Corradi
@ 2006-09-06 13:37 ` andrzej zaborowski
  0 siblings, 0 replies; 2+ messages in thread
From: andrzej zaborowski @ 2006-09-06 13:37 UTC (permalink / raw)
  To: qemu-devel

On 06/09/06, Alessandro Corradi <ale.corradi@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-06 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 12:10 [Qemu-devel] Best way to get real performance info? Alessandro Corradi
2006-09-06 13:37 ` andrzej zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).