Mail Archives: djgpp/1997/11/05/09:28:18
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 -