home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / misc / 2726 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.7 KB  |  58 lines

  1. Newsgroups: comp.os.ms-windows.misc
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!umn.edu!lynx!triton.unm.edu!jfreter
  3. From: jfreter@triton.unm.edu (The Myth)
  4. Subject: Re: To RAM disk or not to RAM disk?
  5. Message-ID: <xzlnr8a@lynx.unm.edu>
  6. Date: Thu, 03 Sep 92 19:35:11 GMT
  7. Organization: University of New Mexico, Albuquerque
  8. References: <92247.31236.J056600@LMSC5.IS.LMSC.LOCKHEED.COM>
  9. Lines: 47
  10.  
  11. In article <92247.31236.J056600@LMSC5.IS.LMSC.LOCKHEED.COM> J056600@LMSC5.IS.LMSC.LOCKHEED.COM writes:
  12. >   I've heard a lot about using RAM disks and I'm confused.  Perhaps a RAM
  13. >disk would be a fast swapfile or TEMP file, but doesn't that just take RAM
  14. >away from Windows if several apps are running?  I have a 386DX-20 with 8 MB
  15. >on board.  I could spare 2 MB as a RAM drive if it would help, but then I'd
  16. >have less memory for Windows, wouldn't I?  I'm a bit confused.  So, should I
  17. >use a RAM DRive or not?  And why or why not?
  18. >
  19.  
  20. Well, I'd only set aside 1 meg for a Ram Disk, and use one meg for a cache,
  21. then use the rest for windows.
  22.  
  23. Reasons for using a small Ram drive:
  24. Windows creates temporary files whenever you want to print out a file. 
  25. these files have to be written, the read back into memory to send to
  26. the printer.  This will slow things down more than if the printjob 
  27. were spooled to the disk.  1 meg is big enough for most smaller documents,
  28. but might not be big enough.  If you use superstore, stacker, or any similar
  29. product, use it on the Ram Disk to effectively double its size (really does
  30. more than double, printer codes are highly compressible).
  31.  
  32. Corel Draw also uses temporary files to store image information that gets
  33. swapped to the display.  But these files are much larger, so 1 Meg certainly
  34. wouldn't be adaquate.  It would need to be closer to 4 meg in size.
  35.  
  36. If you run more than one application at a time, it would better to not use
  37. a RAM drive at all and give thehave of its memory over to windows and the
  38. other over to a cache.
  39.  
  40. My recommendation is, depending on your computer use:
  41.  
  42. mainly word processing and spread sheet use then use smartdrive (or other
  43. cache) with 2 Meg set aside for DOS/ 1 Meg for windows, use 1 meg for a
  44. RAM Disk, create a directory on that Ram Disk, then set the Temp env. var.
  45. to that dir.
  46.  
  47. mainly database use no Ram Disk.  Instead setup smartdrv with 2 Meg DOS,
  48. 1.5-2 Meg windows.  Set temp to a dir on the hard drive.
  49.  
  50. Either of these cases will leave you with ~6 Meg for windows to work with.
  51. Turn off virtual memory unless you get some out of memory erros.  In this
  52. case, use a perm. one.
  53.  
  54. The temporary files created by windows are not the same ones it uses for
  55. swapping/virtual memory, so there are no conflicts.
  56.  
  57.  
  58.