performance stability

Discussions about using Linux guests in VirtualBox.
Post Reply
sunmat
Posts: 3
Joined: 16. Jun 2010, 17:06
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Ubuntu

performance stability

Post by sunmat »

Hello,

I'm using a simple Ubuntu distribution on my Virtuabl Box for work. My underlying host system is MacOSX snow leopard.
For some research I have a code that can use 2 different libraries (one is made by me) and I would like to compare the speed of each version.
Can I rely on the Virtual Box stability for time measurement? Do I risk to add a big error due to the use of Virtual Box?
Is there a way to configure Virtual Box so it use ever the same amount of CPU resources?

Thanks

Matthieu
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: performance stability

Post by Technologov »

timers inside VMs are not 100% correct.

You can try using hand watch, or some timer located on Host OS.
For hand watch - you test must be relatively long - more than a minute.
Post Reply