www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/24/08:36:52

Date: Mon, 24 Nov 1997 14:38:06 +0100 (MET)
From: Thomas Knudsen <tk AT geb DOT gfy DOT ku DOT dk>
To: djgpp AT delorie DOT com
Subject: Re: Intermittent Run-Time of DJGPP App under Win95 (fwd)
Message-ID: <Pine.SGI.3.95.971124143716.29936D-100000@geb.gfy.ku.dk>
MIME-Version: 1.0

On Mon, 24 Nov 1997, Eli Zaretskii wrote:

> 
> On Mon, 24 Nov 1997, Thomas Knudsen wrote:
> 
> > I have had the same experience with a GRX2.2+DJGPP based graphics program,
> > running in a DOS box under Win95. The symptoms are quite hard to describe
> > consistently (as they are quite inconsistent ;-), but at least *most* of
> > the time, the program tends to run slow, when running by itself, i.e. 
> > only sharing the processor power with the Win95 MegaKludge (TM). However,
> > if I open *another* DOS box, and have it sitting idle in the background,
> > suddenly the program runs at more than double speed.
> 
> Do I understand correctly that your experience is limited to Windows 95?
> The original message seemed to imply that it also happens on plain DOS.
> 
> Windows 95 might change its scheduling policies depending on several 
> factors.  I'm not sure that I know enough about this, but you might try 
> to play with the related settings in the DOS box property sheet.
> 

Under plain DOS the program seems to behave deterministically, in terms of
speed (less minor differences due to the initial state of the disk
buffer).

I cannot test behaviour under Win3.11, because my display driver for
Win3.11 barfs on VESA 2.0 programs in a dos box (!)

My DOS properties under Win95: No EMS, all other memory settings "Auto",
idle sensitivity set to "Low". Screen settings: 50 lines, Fast ROM Emu,
Dynamic memory allocation. These settings have (empirically) shown to be
optimum, wrt. speed

Any explanations are very welcome!

--
Thomas Knudsen                         | www:  http://www.gfy.ku.dk/~tk/
National Survey and Cadastre - Denmark | e-mail:            tk AT gfy DOT ku DOT dk
Geodetic office, Rentemestervej 8      | Direct Phone:   +45 35 87 52 64
DK-2400 Copenhagen NV, Denmark         | FAX:            +45 35 87 50 52


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019