www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/05/13:16:50

To: wtwong%fawlty8 DOT eng DOT monash DOT edu DOT au AT mailgate DOT datap DOT ca
Cc: djgpp%sun DOT soe DOT clarkson DOT edu AT mailgate DOT datap DOT ca
Subject: Re: why djgpp so slow on plain
From: GCHEN AT mailgate DOT datap DOT ca(CHEN, GANPING)
Date: 05 Aug 94 08:59:39 MDT
References: <30F4B938028C2979 AT -SMF->

>> 
>>      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.

After I posted the original message on the group, I have received about
10 replies. It was indeed a memory problem, but it was caused by EMM386
not SMARTDRV as pointed out by Mr WT Wong. Thanks all of you for the
help. *I love this group.*

... Ganping Chen

--------------------------------------------------------------------------


        _/_/_/_/_/        _/_/_/_/_/ 
       _/      _/        _/      _/  _/      _/  _/_/_/_/_/  _/      _/
      _/                _/          _/      _/  _/          _/_/    _/
     _/  _/_/_/        _/          _/_/_/_/_/  _/_/_/_/    _/  _/  _/
    _/      _/  _/_/  _/      _/  _/      _/  _/          _/    _/_/
   _/_/_/_/_/  _/_/  _/_/_/_/_/  _/      _/  _/_/_/_/_/  _/      _/
 
   Ganping Chen, Ph.D             ||    Email: gchen AT mailgate DOT datap DOT ca
   System Engineer/Analyst        ||           gchen AT acs DOT ucalgary DOT ca
   Sandwell Inc.                  ||           chenga AT enel DOT ucalgary DOT ca
   Datap Systems Division         ||    Tel:   (403) 264-7005 ext. 169
   940 6th Avenue S.W.            ||           (403) 237-9500
   Calgary, AB, Canada T2P 3T1    ||    Fax:   (403) 237-9898
--------------------------------------------------------------------------


- Raw text -


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