Skip to contentSkip to conversation

Best way to get real performance info?

Qemu-devel Alessandro Corradi 2 participants 2 messages Sep 6, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Alessandro Corradi

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.

Quoted 10 lines

Thanks

Ale
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 1 line
balrog 2oo6