Subject: Re: New bunch of problems with pmax
To: Simon Burge <simonb@melb.cpr.itg.telecom.com.au>
From: James MacKinnon <jmack@Phys.UAlberta.Ca>
List: port-pmax
Date: 05/22/1995 21:23:13
On Tue, 23 May 1995, Simon Burge wrote:

> (thread with Ted Mellon, who says)
> > I don't believe that swap has ever worked, although I'd be very
> > interested in evidence to the contrary.   I haven't had time to go in
> > and figure this one out - if you want to, please be my guest.   I will
> > get to it eventually, but not as soon as I'd like.

agreed. swap has never worked. The kernel was and still has been higher
in priority.

> 
> avm is active virtual memory, not total VM.  What does the output of
> 'pstat -s' show?  I get this:
> 
> Device      1K-blocks     Used    Avail Capacity  Type
> /dev/rz0b       65025        4    65021     0%    Interleaved
> 

I show and it has never shown otherwise):

dene# pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/rz0b       65536        4    65532     0%    Interleaved

but perhaps pstat -T is more telling:

dene# pstat -T
 77/2588 files
   8095 vnodes
0M/64M swap space

I just did a 4K dd of the swap partition to see what's in there.
Not much. I was hoping to find some indication of structure, but it's
all uniformly 0x6C throughout:

# xd -c swap.dd | more
     0: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
    10: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
    20: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
    30: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
    40: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
...
   FD0: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
   FE0: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll
   FF0: 6C 6C 6C 6C 6C 6C 6C 6C  6C 6C 6C 6C 6C 6C 6C 6C | llllllllllllllll

Cheers, 
--
James S. MacKinnon           Office: P-139 Avahd-Bhatia Physics Lab
Department of Physics        Voice : (403) 492-8226
University of Alberta        email : Jim.MacKinnon@Phys.UAlberta.CA
Edmonton, Canada T6G 2N5
        WWW:   http://www.phys.ualberta.ca/~jmack/jmack.html