home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35602 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.9 KB

  1. Path: sparky!uunet!news.univie.ac.at!chx400!ira.uka.de!Sirius.dfn.de!zam103!ibt013!kiehl
  2. From: kiehl@ibt013.ibt.kfa-juelich.de (Horst Kiehl)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: The swapper file
  5. Keywords: swap
  6. Message-ID: <379@zam103.zam.kfa-juelich.de>
  7. Date: 6 Nov 92 15:07:49 GMT
  8. References: <joiner.720807574@exa> <720863714marten.marten@feki.toppoint.de> <joiner.720927714@exa> <16839@umd5.umd.edu>
  9. Sender: news@zam103.zam.kfa-juelich.de
  10. Reply-To: kiehl@ibt013.ibt.kfa-juelich.de (Horst Kiehl)
  11. Organization: Forschungszentrum Juelich GmbH (KFA), Germany
  12. Lines: 30
  13. Nntp-Posting-Host: ibt013
  14.  
  15. In article <16839@umd5.umd.edu>,
  16. adhir@cygnus.umd.edu (Alok Dhir) writes:
  17.  
  18. >Hey all.  I just installed the service pack on my IBM PS/2 model 90 at work
  19. >and have noticed something interesting.  On my 486/50 clone at home, my swapper
  20. >file grows like crazy and rarely ever shrinks.  On the PS/2 at work, however,
  21. >the swapper tends to stay way down around 4096k.  If it grows, it'll shrink
  22. >right back as soon as I quite a few apps.
  23.  
  24. The OS/2 V2.0 Volume 1 Redbook (I think) describes the method of using
  25. space in the swap file. I'll try to summarize it.
  26.  
  27. When a memory page needs to be swapped out for the first time, a space
  28. in the swap file is dedicated to it (and the page is swapped out). This
  29. space stays at the same place in the swap file until the page is
  30. deallocated (discarded). (This implies that there's no need to "clean
  31. up" the swap file (shifting page spaces, slowing down the system), but
  32. also implies that there can be times when large areas of the swap file
  33. are unused.)  After the swap file has grown and space in the new part of
  34. the swap file has been dedicated to at least one page, the swap file
  35. won't shrink before the last dedicated page space in this part of the
  36. swap file is free again.
  37.  
  38. In consequence, different sequences of opening and closing the same set
  39. of objects can cause different behaviours (growth and shrinkage) of the
  40. swapfile.
  41.  
  42. I hope this helps.
  43.  
  44. Horst
  45.