Page 1 of 1
Execution cap with DOS guest
Posted: 16. Aug 2011, 07:25
by edelacy
Has execution cap been confirmed to work with DOS guests? I installed DOS 5.0 and 6.20 guests on Windows XP and Ubuntu hosts, and I'm still seeing 100% CPU utilization regardless of where I set the cap.
Re: Execution cap with DOS guest
Posted: 16. Aug 2011, 12:00
by vbox4me2
I don't think this will work for OS's that ain't aware, they constantly pull the keyboard to see if anything needs to be done and hereby jogg the cpu, you're going to need dosidle or some sort of tool.
Re: Execution cap with DOS guest
Posted: 16. Aug 2011, 13:53
by Perryg
DOS 6.2 comes with power.exe which idles the CPU when not in use. Just add it to the config.sys and you're good to go.
Re: Execution cap with DOS guest
Posted: 16. Aug 2011, 14:19
by Technologov
Execution cap should work with all guest OSes. It is done at the host-platform level.
Re: Execution cap with DOS guest
Posted: 16. Aug 2011, 14:48
by Perryg
Yes it does and I can confirm that it does in fact work with DOS 6.2, but power.exe frees the cpu ticks when idle (no program executing).
By the way anything below 41% causes the DOS guest to stutter. I have had it as low as 20% and even with the stuttering the guest preforms as it should.
Re: Execution cap with DOS guest
Posted: 17. Aug 2011, 03:27
by edelacy
Thanks to all who responded.
Perryg,
I tried both power.exe and dosidle.exe, and they both idle the cpu when DOS is at the command prompt. However, I have to run a legacy application which does not respect the DOS I/O conventions, and they have no effect when it is running. That's why I was interested in host-platform based throttling.
May I ask what host hardware/OS you are using?
Perryg wrote:Yes it does and I can confirm that it does in fact work with DOS 6.2, but power.exe frees the cpu ticks when idle (no program executing).
By the way anything below 41% causes the DOS guest to stutter. I have had it as low as 20% and even with the stuttering the guest preforms as it should.
Re: Execution cap with DOS guest
Posted: 17. Aug 2011, 03:39
by Perryg
Hardware and OS should not matter. I am using Linux as host though.
When your application is up neither power.exe or dosidle.exe will do any good I am afraid. You see back in the day they were not concerned about the processor being run at full throttle. So when you are running the app it will be what ever you set the throttle at. Just use the CPU execution cap and find the setting that works but consumes the least amount of CPU ticks.
Re: Execution cap with DOS guest
Posted: 17. Aug 2011, 13:04
by vbox4me2
edelacy wrote:However, I have to run a legacy application which does not respect the DOS I/O conventions, and they have no effect when it is running.
Then you need tame(-res), which does the same but while a program is running.