delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/06/14:15:34

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Swapping?!
Date: Wed, 06 Jul 94 12:49:32 CDT
From: sasbnb AT unx DOT sas DOT com

Hey Gang,

I have just bought a DX4-100 with 32 Mb of memory. I have a 2 MB ram
disk, an 8 MB windows 3.1 disk cache, and presumably 21 MB laying
around completely unused. 

When I run my Fractal generation program with small X and Y coordinates
(800 X 60), it runs almost instantly. There is a point at which the
time required to run becomes MUCH greater than than the total number of
points. Examing what was happening, I noticed that the disk drive was
thrashing about.         

        800 X 600 X 4 floats/pixel X 2 Bytes/float -> 3.84 MB

I should have much more memory than I need to run the entire job in 
memory, and yet I appear to be paging and/or swapping. 

I use himem.sys, windows ramdrive and smartdrv. I have all extended and
no expanded memory.

What can I do to use all of my memory and never touch my disk?

Thanks,

        Brian P. Barnes

- Raw text -


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