Mail Archives: djgpp/1994/08/04/22:20:45
This is a MIME-encapsulated message
--JAA06306.776043490/fawlty8.eng.monash.edu.au
The original message was received at Fri, 5 Aug 1994 09:36:25 +1000
from wtwong AT localhost
----- The following addresses had delivery problems -----
djlist (unrecoverable error)
----- Transcript of session follows -----
550 djlist... User unknown
----- Original message follows -----
--JAA06306.776043490/fawlty8.eng.monash.edu.au
Content-Type: message/rfc822
Return-Path: wtwong
Received: (wtwong AT localhost) by fawlty8.eng.monash.edu.au (8.6.9/8.6.4) id JAA06300; Fri, 5 Aug 1994 09:36:25 +1000
From: Mr WT Wong <wtwong>
Message-Id: <199408042336 DOT JAA06300 AT fawlty8 DOT eng DOT monash DOT edu DOT au>
Subject: Re: why djgpp so slow on plain DOS
To: GCHEN AT mailgate DOT datap DOT ca (CHEN, GANPING)
Date: Fri, 5 Aug 1994 09:36:22 +1000 (EST)
Cc: djlist
In-Reply-To: <85E6B938018C2979 AT -SMF-> from "CHEN, GANPING" at Aug 4, 94 08:23:48 am
X-Mailer: ELM [version 2.4 PL21]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1459
Hi Ganping,
>
>
> When I run djgpp on plain DOS, it is so slow that it seems hang
> forever. For only one line program in C++, it took 2'30". But when I run
> the djgpp on Windows DOS box for the same program, it seems ok (it took
> 20"). I wonder what causes this problem.
>
> My machine is DX2/66 with 8M RAM. I use Smartdrive instead of RAM
> drive. Any comments are very much appreciated.
I posted a similar question not too long ago, so it's likely that
you're having the same problem that I had.
Anyway, what I was doing wrong was using EMM386 with its default
256 kb of expanded memory, so when go32 runs, it uses the expanded
memory instead of extended memory. As a result of the small amount
of memory (<256kb) it does a lot of swapping and slows down.
When you're using a Windows dos box, Windows provides all the
DPMI memory that is available, which is about 2-2.5 MB looking at
your configuration of 8 MB, also depends on what you've got running at
the same moment.
I just got rid of EMM386 and loaded everything low but I now have
a lot more extended memory for go32 so gcc compiles faster. Hope
this helps.
--
John Wong | Tel : 905 5535
Elec. & Comp. Systems Eng. | email : wtwong AT fawlty7 DOT eng DOT monash DOT edu DOT au
Monash University |
Clayton, Victoria | "Do it or do it not, there is no try"
Australia | - Yoda, TESB
--JAA06306.776043490/fawlty8.eng.monash.edu.au--
- Raw text -