home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
- From: dic5340@hertz.njit.edu (David Charlap)
- Newsgroups: comp.os.os2.apps
- Subject: Re: Does anyone know...Swap File
- Message-ID: <1993Jan6.222411.502@njitgw.njit.edu>
- Date: 6 Jan 93 22:24:11 GMT
- References: <Gary.Woodman.905.726283143@anu.edu.au> <1993Jan06.162100.29821@watson.ibm.com> <1993Jan6.204721.27215@apgea.army.mil>
- Sender: news@njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 33
- Nntp-Posting-Host: hertz.njit.edu
-
- In article <1993Jan6.204721.27215@apgea.army.mil> rcmerrit@apgea.army.mil (Robert C. Merritt <rcmerrit>) writes:
- >ok, the new question is: Does the swap file keep growning? I plan to run it
- >24 hours aday (for my BBS) and I don't want to wake up and see a 30 meg swap
- >file!!!
-
- No. The swap file is much like a stack. When pages at the end of the
- file are released, the file will shrink. It grows and shrinks in 1MB
- increments. Also, pages that were swapped out don't normally get
- swapped back in until they're used, so the file may not shring when
- you expect it to. Finally, compression is only done during idle time,
- so periods of high activity will prevent shrinkage.
-
- But, in general, the swap file does shrink, but never to it's
- "just-booted" initial size. Mine starts at 3MB, and usually remains
- between 6MB and 10MB, depending on how many apps I've running.
-
- >next question:
- >With a 486 DX 33 and 16 megs of ram, normally running only 2 or three applica-
- >tions at one time of fewer, mainly dos programs or maybe 1 os/2-windows
- >program and a dos based BBS program (telegard); What size of a swap file
- >should I expect to see?
-
- With a 16MB system, probably less than 4MB in most cases. Remember
- that DOS apps consume about 1MB each, plus any XMS or EMS memory they
- choose to use. An OS/2 BBS program will use less, since it will only
- get what it needs instead of an entire virtual-8088 worth.
-
-
- --
- |) David Charlap | .signature confiscated by FBI due to
- /|_ dic5340@hertz.njit.edu | an ongoing investigation into the
- ((|,) | source of these .signature virusses
- ~|~
-