Subject: Re: How to add swap file -- Re: Network slowness
To: Toru Nishimura <nisimura@is.aist-nara.ac.jp>
From: Adam Fritzler <afritz@iname.com>
List: port-pmax
Date: 01/13/1998 06:15:11
At 04:03 PM 1/13/98 +0900, you wrote:
>>> FYI, my MAXINE has 40MB RAM and 36MB+ dedicated swap space and I
>>> routinely use it for NetBSD kernel build with 4 parallel make (make -j 4).
>>> It seldom uses swap space, and runs as CPU/RAM speed. 
>>
>> Something must be terribly wrong with my machine then, since it was running
>> out of space with 24mb + 132mb.  Is there something else the "panic:
>> vm_fork: no more kernel virtual memory" could mean? 
>
>I can't imagine other reason than your machine runs as swapless.
>Could you show me the result of;
>
>	/sbin/swapctl -s
>	/sbin/disklabel <YOUR_DISK>
>	cat /etc/fstab

root@eagle:~# swapctl -s
total: 132090k bytes allocated = 4k used, 132086k available

root@eagle:~# disklabel /dev/rz2
# /dev/rz2c:
type: unknown
disk: wdenter
label:
flags:
bytes/sector: 512
sectors/track: 185
tracks/cylinder: 4
sectors/cylinder: 740
cylinders: 5720
total sectors: 4254819
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    65860        0      4.2BSD     1024  8192    16   # (Cyl.    0 - 88)
  c:  4254819        0      unused        0     0         # (Cyl.    0 - 5749*)

# ^^^^ Why doesn't the b partition show up here ^^^^

root@eagle:~# cat /etc/fstab
/dev/rz2a / ffs rw 1 1
/dev/rz2b none swap sw 0 0
/dev/rz2d /usr ffs rw 1 2
/kern /kern kernfs rw

My temp swap file doesn't show in the first swapctl list because I didn't
add it after eagle rebooted AGAIN last night (with a total of 356mb
swap+phys) -- it was having load avgs up past 15.0 and up to 20% into swap.
I don't understand why the b partition doesn't show up in the disklabel.

Adam
(  Adam Fritzler   afritz@iname.com                            )
	           http://afritz.base.org/