Execution cap with DOS guest
-
edelacy
- Posts: 2
- Joined: 16. Aug 2011, 02:32
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: DOS, UBUNTU
Execution cap with DOS guest
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
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.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Execution cap with DOS guest
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.
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: Execution cap with DOS guest
Execution cap should work with all guest OSes. It is done at the host-platform level.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Execution cap with DOS guest
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.
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.
-
edelacy
- Posts: 2
- Joined: 16. Aug 2011, 02:32
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: DOS, UBUNTU
Re: Execution cap with DOS guest
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,
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.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Execution cap with DOS guest
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.
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
Then you need tame(-res), which does the same but while a program is running.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.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-