www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/05/08:58:06

Date: Sun, 5 Jul 1998 15:54:54 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Thomas Knudsen <tk AT geb DOT gfy DOT ku DOT dk>
cc: djgpp AT delorie DOT com
Subject: Re: bash eats cycles
In-Reply-To: <Pine.SGI.3.95.980703074834.26022B-100000@geb.gfy.ku.dk>
Message-ID: <Pine.SUN.3.91.980705155431.23984D-100000@is>
MIME-Version: 1.0

On Fri, 3 Jul 1998, Thomas Knudsen wrote:

> > I just noticed also that the window really has to be visible to start
> > blocking. It just happend that I had a dos box active but completely hidden
> > behind another window and the load was ok. After closing the hiding window
> > it sufficed for the dos box to become visible again and it started to slow
> > dow. It might be that this is a bug in NT rather in bash, though.
> 
> ... I have seen similar (but not identical) behaviour under Win95: having
> one dos box open, my (djgpp-based) program would rund very slow (but only
> some times!). In such cases, I could spped the program up by a factor of
> 2, by starting an extra *idle* dos box or two (at a single occasion, I
> even had to start 3 idle dos boxes to get the speed up). This is, perhaps,
> just another example of Micros**t's high level technical incompetence... 

Please note that current DJGPP versions don't ensure stack alignment
which can make your program run at half-speed, depending on how
Windows loads (v2.02 will correct that).  So if you see slow-downs
which seem to come and go in a random fashion, it might still be our
bug.

- Raw text -


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