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