www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/21/12:31:55

From: lubaldo AT adinet DOT com DOT uy
Message-Id: <3.0.1.32.19980321141421.0068dff8@adinet.com.uy>
Date: Sat, 21 Mar 1998 14:14:21 -0300
To: djgpp AT delorie DOT com
Subject: Re: DJ: Compiler Optimizations
In-Reply-To: <35132C51.1C31@cs.com>
References: <Yp4jNfu00YUp0mGGE0 AT andrew DOT cmu DOT edu>
Mime-Version: 1.0

At 09:56 PM 20/03/1998 -0500, you wrote:
>James W Sager Iii wrote:
>> 
>> I just read through the FAQ.
>> I set up my smartdrive better so my system dies less on me.
>> Also I noted I could set up a ram-drive.  I did set this
>> 12 meg ramdrive up, and set the temp variable equal to it, but I
>> noticed no marked performance gain.  To get the incrdible speed of
>> the ramdrive, what settings should I set in rhide?  Or should
>> I copy over some files to the ramdrive each time I want to use DJ?
>> Any help is appreciated, I'm just tired of waiting a minute and a half
>> for my programs to compile on DJ when TC only takes 10 seconds.
>
>Here are some general pieces of advice.  They may not apply equally to
>you and your system; in other words, YMMV:
>
> - Make sure that the environment variable TMPDIR is what you have set
>to point to the RAM drive.  TEMP, TMP, etc., won't work.
> - Make sure your SMARTDRV cache is set to buffer both reads and writes.
> - As long as your RAM drive is large enough to hold all of gcc's
>temporary files, excess space goes to waste.
> - On the other hand, the larger your SMARTDRV cache, the better.
> - SMARTDRV running in plain DOS is not as efficient as Windows 95's
>disk cache.  In fact, running from a DOS box under Win95 can double or
>triple compilation speeds.
> - Make sure your caches aren't so big that they leave too little memory
>left for gcc to run in!  Typing 'go32-v2' at the DOS prompt can tell you
>if you have memory problems.

	This is my experience (not war here): I have 20mb of RAM and when running
under Windows 95 DJGPP uses a lot the harddisk... much slower... I
recommend using DJGPP under Windows 95 if you have more than 32mb of RAM.
Using Norton Cache (NCACHE2) with a cache of 8mb does a great job! DJGPP
donīt uses the harddisk! BTW, my drive is compressed, so, DJGPP uses less
physical harddisk, so the cache is more efficient.
	You have to try your self wich is the best configuration that works for
you, try under Windows 95, under DOS with caches and different sizes of
it... and try with ramdrives also.

	BTW: RHIDE donīt works under Linux DOSEMU 0.66... someone knows how to get
it working if it is possible?

Just my opinion... Goodbye!


Ivan Baldo:
lubaldo AT adinet DOT com DOT uy - http://members.xoom.com/baldo.
Phone: (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America.

(If you have problems with the previous addresses, try this ones:
ibaldo AT usa DOT net, http://baldo.home.ml.org).

- Raw text -


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