🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #1121

Using swapon with a RT running 4.3bsd

#1121
From: Jon Zeeff
Date: Wed, 13 Mar 1991 19:28
34 lines
1528 bytes
Has anyone sucessfully used swapon on a rt running 4.3bsd?

hd0b and hd2b are about 16MB each.  memhog tried to grab 7MB and failed.
i
irie:/u2/tmp $ ulimit -m
8000
irie:/u2/tmp $
irie:/u2/tmp $ cat /etc/fstab
/dev/hd0a /                     ufs rw 1 1
/dev/rhd0b swap                 swap rw 0 0
/dev/hd1a /u2                   ufs rq 1 3
/dev/hd1b /u3                   ufs rq 1 4
/dev/hd2a /u4                   ufs rq 1 3
/dev/rhd2b swap                 swap rw 0 0
irie:/u2/tmp $ swapon -a
Adding /dev/rhd0b as swap device
Adding /dev/rhd2b as swap device
irie:/u2/tmp $ ./memhog
malloc failed
irie:/u2/tmp $ vmstat
 procs     memory              page              faults                  cpu
r b w   avm   fre  re at  pi  po  fr  de  sr h0 h1 h2 d3  in  sy  cs us sy id
 1 0 0  2664  3496   0  1   2   0   0   0   0  2  1  0  0  35 157  46  4 11 85
irie:/u2/tmp $

From top:
Memory:  5822K  (3168K) real,  7810K  (3890K) virtual,  3144K free

Looks to me like swapon just doesn't work.  Perhaps I'm doing something
wrong?


-- 
Jon Zeeff (NIC handle JZ)	 zeeff@b-tech.ann-arbor.mi.us
Technical Details
Message-ID: <VPT-V4+@b-tech.uucp>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!ox.com!b-tech!b-tech.ann-arbor.mi.us!zeeff

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!ox.com!b-tech!b-tech.ann-arbor.mi.us!zeeff
From: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Using swapon with a RT running 4.3bsd
Message-ID: <VPT-V4+@b-tech.uucp>
Date: 13 Mar 91 19:28:58 GMT
Sender: zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff)
Organization: Branch Technology
Lines: 34