Guest Dynamic frequency scaling

This is for discussing general topics about how to use VirtualBox.
Post Reply
dan57
Posts: 2
Joined: 10. May 2012, 15:16

Guest Dynamic frequency scaling

Post by dan57 »

Hi all - does VirtualBox support Dynamic frequency scaling in a guest computer?

My host does and is currently using it, I am new to all this and unsure of the details as to how VirtualBox does it all. The logic behind my question is that since it creates a 'mirror' of the hardware and gets resources allocated to it by the host can it not apply Dynamic frequency scaling to the resources it is allocated?

I have a feeling this is going to be a big NO but had to ask.

Much obliged for any help!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Guest Dynamic frequency scaling

Post by mpack »

The VM is not a mirror of the host hardware. It's an entirely separate (though simulated) PC. The hardware being simulated bears no relationship to the host hardware.

I can't think of a reason why VirtualBox should need to know anything about frequency scaling. If the VM application is idle then the host will throttle back, just like it does for every other application you run on that host.
dan57
Posts: 2
Joined: 10. May 2012, 15:16

Re: Guest Dynamic frequency scaling

Post by dan57 »

thanks. It is for a Uni project I am working on and I was wondering if I could simulate an environment with frequency scaling.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Guest Dynamic frequency scaling

Post by BillG »

Incidentally, frequency scaling on the host has caused problems for virtual machines in the past. Early versions of SpeedStep caused unexpected slowdowns in virtual machines because the activity in the vm was not being detected. Because the host was fairly inactive Speedstep would reduce the CPU frequency slowing the vm. The workaround was to run an application on the host to keep it busy and the CPU running full speed.
Bill
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Guest Dynamic frequency scaling

Post by mpack »

BillG wrote:because the activity in the vm was not being detected.
I'm not sure how that can be true. VirtualBox is just another application running on the host, nothing special really. The host can't be ignorant of how much CPU any app is using, otherwise it couldn't schedule tasks. Old versions of SpeedStep may be badly written and make unwarranted assumptions... but the rest sounds like a PR BS excuse to me! :-)
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Guest Dynamic frequency scaling

Post by BillG »

This was the actual problem.
http://support.microsoft.com/kb/899525
Bill
Post Reply