FreeDos guest runs very slow

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jus459
Posts: 1
Joined: 25. Apr 2017, 02:53

FreeDos guest runs very slow

Post by jus459 »

Hi all,

I'm trying to run FreeDos 1.2 in vb but it runs very slow. As a test, I play Doom 1.9, but it's slow to the point that it's unbearable.

Host Specs:
Windows 10 64-bit
Intel i5-6400 2.41GHz
8 GB ram

Guest settings:
FreeDos 1.2
1 Core at 70%
128 MB ram

I attached the log, from start up of the vm to shutdown.

If you need any other info, please ask. Thanks!
Attachments
vblog.zip
(20.64 KiB) Downloaded 7 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: FreeDos guest runs very slow

Post by mpack »

128MB RAM for a DOS guest? That seems pointless, since most DOS apps can't address beyond 1MB, and DOS is not a multitasking OS. Even using expanded/extended memory a DOS app of the day couldn't expect more than about 16MB on a really top end PC.

DOS is not a supported guest OS, meaning that the only graphics available to a FreeDOS guest is basic VESA using an emulated chipset, so yes it will be slow. You'd have to select the lowest resolution available if you want a higher frame rate.

You might want to try enabling VT-x in your hosts BIOS - and then in the VM. That might squeeze out a few extra cycles.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: FreeDos guest runs very slow

Post by michaln »

Yes, the DOS version of DOOM is slow in VirtualBox. But that has nothing to do with FreeDOS.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: FreeDos guest runs very slow

Post by michaln »

mpack wrote:DOS is not a supported guest OS, meaning that the only graphics available to a FreeDOS guest is basic VESA using an emulated chipset, so yes it will be slow. You'd have to select the lowest resolution available if you want a higher frame rate.
That's actually backwards. VESA graphics is not slow in VirtualBox, it is in fact quite fast. Try any version of Windows XP and later without Guest Additions for example, that's VBE. I don't think it's slow, we never had any complaints that it's slow.

The problem with DOOM 1.9 is that it's not using VBE but rather VGA, and specifically Mode X which causes lots of VM exits. It really is slow.
Post Reply