Menu

#278 IO speed in virtualbox

freedos12
open
nobody
None
5
2020-05-26
2020-05-11
Thomas
No

Mint 19.3, 64bit 4.15.0-99, Virtualbox 5.2.34, Turbo Pascal 5.5
Fujitsu Workstation with Xeon W3565 3.2Ghz (1 "CPU" and 1024K of 10G dedicated to the VM)
FreeDos 1.2

After I had successfully installed freedos 1.2 in my Virtualbox environment,
I also managed to copy the Turbo Pascal 5.5 files (via an additional ISO file)
to the corresponding hard disk and was able to install and start turbo pascal
5.5, too.

However, the input/output speed in the main editor is far from that that i
remembered on my XT clone 30 years ago. If I enter 20 chars
(usually within one or two seconds) then it takes half a minute or longer
for them to be displayed on screen.

Maybe some guest additions are missing, or do some "special settings"
have to be done in Virtualbox?

What can I do to get at least the speed of my XT (I expected it to be
way faster than that)?

Discussion

  • Anthony Williams

    Just to quote myself from an older email:

    "The only quirk I remember hearing about in recent years was slowdown
    (in Borland IDEs) due to FDAPM, but that can be worked around by using
    "ADV:REG" instead."

    Possibly try that?

    P.S. Free Pascal 3.2.0rc1 is out. While it still doesn't (AFAIK) have a proper Go32v2 (32-bit DOS) hosted compiler for (16-bit) i8086-msdos target (but the Win32 PE version can probably still run under HX), it does still have an IDE.

     
    • Thomas

      Thomas - 2020-05-13

      Thanks Antony,

      ADV:MIN and ADV:REG lead to an acceptable response time, but they also lead to 94% (min) or 100% (reg) CPU usage (i.e. one CPU at 3.2Ghz, while the original had something around 4.77 MHz), when idling (command prompt) 92% in both cases.

      Is that a problem of freedos or a problem of virtualbox?

       
      • Anthony Williams

        Sorry for late reply, but I'm not sure. I think it's actually just the way things were done in DOS days, i.e. "polling" without worrying much about cpu usage since it was single-user anyways. You'd have to ask on the mailing list (or check the archives), I think it's been discussed before.

        IIRC, some editors could handle themselves better than others. TDE (DJGPP build) uses DPMI yield, but its keyboard handling was always buggy under VirtualBox, so I never used it much there. Not sure what better editors exist.

         

Log in to post a comment.