home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycs
- From: osycs@giac1.oscs.montana.edu (Craig Spannring)
- Subject: Re: Fragmented swap space
- Message-ID: <1992Sep12.031803.2313@coe.montana.edu>
- Keywords: swapon
- Sender: usenet@coe.montana.edu (USENET News System)
- Organization: Geographic Information & Analysis Center Montana State University
- References: <1992Sep11.101522.9410@linda.lidac.liu.se>
- Date: Sat, 12 Sep 1992 03:18:03 GMT
- Lines: 40
-
- In article <1992Sep11.101522.9410@linda.lidac.liu.se> thenglid@linda.lidac.liu.se (Thomas Engstrom) writes:
- >The output of pstat -s on one of our DECsystem 5500 looks like this:
- >
- >% pstat -s
- >228416k swap configured
- >122016k reserved virtual address space
- > 272k used (160k text, 0k smem)
- > 132840k free, 0k wasted, 95304k missing
- >avail: 4151*32k 8*1k
- >
- >The manual says that the 95304k missing is due to fragmentation of the
- >swap partition.
-
- Actually, fragmented memory is reported as the wasted space by pstat.
- The missing memory that pstat reports is probably swap space that is
- configured in the kernel, but not actually mounted at this time. What
- this means is that you have a line in your configuration file that
- looks like-
-
- config vmunix root on rz2a swap on rz2b and rz3b dumps on rz2b
-
- This line configures the kernel to use /dev/rz3b as a secondary swap
- partition. To actually start using the secondary swap space you need
- to add an entry to your /etc/fstab for /dev/rz3b as a swap device like-
-
- /dev/rz3b::sw:0:0:::
-
- Next execute swapon(8) in your /etc/rc like-
-
- /etc/swapon -a >/dev/console
-
- P.S. Remember to check that you don't have a file system mounted
- on the secondary swap space. If you do, the swap space will
- overwrite your files, and bad things will happen to nice systems.
-
- --
- =========================================================================
- Six of one, 110 (base 2) of | Craig Spannring --- (406) 994-6128
- another. | osycs.giac1.oscs.montana.edu
- ----------------------------+ Geographic Information & Analysis Center
-