www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/05/09:28:18

Date: Wed, 5 Nov 1997 16:28:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: norup AT astro DOT ku DOT dk
cc: djgpp AT delorie DOT com
Subject: Re: Using a RAMDISK setup
In-Reply-To: <63pbb1$7uq$1@nf.aau.dk>
Message-ID: <Pine.SUN.3.91.971105162505.1432A-100000@is>
MIME-Version: 1.0

On 5 Nov 1997, Anton Norup Soerensen wrote:

> I have 32MB RAM, and I'm using a 4MB disk cache with delayed write.
> By adding also a 4MB RAM disk, I have not been able to see any performance
> gain - so I'm waiting for someone to demonstrate that a RAM disk is actually
> an advantage.

Did you set TMPDIR in the environment to point to that RAM disk?  The 
default value (in DJGPP.ENV) sets it to %DJDIR%/tmp, which is on your 
hard disk.  You need to override that.

My measurements indicate that a RAM disk speeds up compilation by about 
20%.

Also, 4MB disk cache is IMHO too small for a 32MB machine.  5 or 6MB is 
better.

- Raw text -


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