home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25048 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.3 KB

  1. Path: sparky!uunet!mcsun!corton!irisa!irisa.fr!jorgense
  2. From: jorgense@irisa.fr (Finn Jorgensen)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Cache the swapfile?
  5. Message-ID: <1992Jul21.174620.22449@irisa.fr>
  6. Date: 21 Jul 92 17:46:20 GMT
  7. References: <1615@eba.eb.ele.tue.nl> <2107@lunic.luth.se>
  8. Sender: news@irisa.fr
  9. Organization: Irisa, Rennes(FR)
  10. Lines: 24
  11.  
  12. Ulf Ruthberg writes:
  13.  
  14. > I think it is a good
  15. > idea to cache the swap file since it is heavily used if you run your system
  16. > hard (and who doesnt?).
  17.  
  18.  
  19. To me, it hasn't got any sense to cache the swapfile.
  20. The swapfile is used by OS/2 because of memory shortage. If you
  21. have lots of RAM (16 Mb and up), there should be no use for a swapfile.
  22. (in normal operation with a few applications running)
  23. With only 4Mb, the swapfile is used to a point where things slow down
  24. considerably.
  25. Now, if you use up RAM to cache things, the swapfile will be used more.
  26. OK, the swap is faster, but done much more, so globally, you slow down.
  27.  
  28. My advice is : if you have more than 8Mb of RAM, you may use a cache
  29. for some files, but not SWAPPER.DAT. If you have less, dont cache at all
  30. or use less than 512 Kb for the cache.
  31.  
  32. -- 
  33. Finn Bo Jorgensen   Mail : jorgense@irisa.fr    Tel : 99 84 72 01
  34. IFSIC, bureau TB122, Universite de Rennes
  35. Campus de Beaulieu, 35042 RENNES CEDEX, FRANCE
  36.