home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / misc / 39459 < prev    next >
Encoding:
Text File  |  1992-12-15  |  2.8 KB  |  56 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!cbnews!shurr
  3. From: shurr@cbnews.cb.att.com (larry.a.shurr)
  4. Subject: SWAPPER>DAT shrinking is a nuisance (was: ...reclaim my swap file?)
  5. Organization: AT&T Bell Laboratories, Columbus, OH
  6. Date: Tue, 15 Dec 1992 18:18:38 GMT
  7. Message-ID: <1992Dec15.181838.28483@cbnews.cb.att.com>
  8. References: <APOULSEN.92Dec11000207@marinara.mit.edu> <sal8.240.724187146@po.cwru.edu>
  9. Lines: 45
  10.  
  11. In article <sal8.240.724187146@po.cwru.edu> sal8@po.cwru.edu (Steve Luzynski) writes:
  12. >In article <APOULSEN.92Dec11000207@marinara.mit.edu> apoulsen@athena.mit.edu (Andy Poulsen) writes:
  13. >>From: apoulsen@athena.mit.edu (Andy Poulsen)
  14. >>Subject: how can I tell what's swapped out and reclaim my swap file?
  15.  
  16. >>[Swapfile has grown to 15M and won't shrink].
  17.  
  18. >When you shutdown and restart the machine it should shrink back down. It 
  19. >will sometimes shrink all on its own if you just let the machine sit for a 
  20. >while...as long as there are no non-OS2 processes running. My machine stays 
  21. >on all the time (last powerup was 4 months ago) and the swapfile is usually 
  22. >back down to 4M in the morning...
  23.  
  24. Before I tweaked my settings to eliminate shrinking, I found that I only
  25. had to let my machine stand idle for a few minutes and it would wake up
  26. and shrink the swap file.  I have my swapfile in its own partition on
  27. drive 2 so it's pretty easy to see paging activity.  When drive 2's light
  28. flashes, it's usually paging or swapfile maintenance..
  29.  
  30. I eliminated shrinking by setting my swapfile size to 15360K as my swap
  31. partition is 16M.  This is the largest setting I could get to work in
  32. that paritition.  If OS/2 thinks your setting is too large, it appears
  33. to use a default of 2048K.
  34.  
  35. I chose a non-shrinking swapfile because I found that the system was
  36. fairly unresponsive during the shrink operation.  The mouse cursor seems
  37. to move around OK (though I haven't tried it in some time with shrinking
  38. enabled), but it doesn't respond to mouse clicks very well -- seems as
  39. though the shrink operation must complete before it responds.  I realize
  40. that I/O can only occur on one of the two disks at a time, and it may be
  41. that the shrink operation must be completed once started before 
  42. swapper.dat can be used again.
  43.  
  44. My controller is a venerable WD1007A which seems to be supported without
  45. resorting to the INT13 driver so I've been assuming that it gives priority
  46. to the shrink operation because the page management code thinks it should
  47. rather than because the hardware requires it.  If I'm wrong, I'd like to
  48. learn otherwise, peferable without flamage.
  49.  
  50. Larry
  51. -- 
  52. Larry A. Shurr (las@cbnmva.att.com) speaking only for myself.
  53. Norman, listen carefully.  I am lying.  Are you sure your circuits are
  54. registering?  Your ears are green.  Logic is a little bird singing in a
  55. meadow.  Logic is a wreath of pretty flowers which smell bad! - Mr. Spock
  56.