Subject: RE: Alright, damnit, this is getting annoying.
To: 'NetBSD/VAX list' <port-vax@NetBSD.ORG>
From: Gunnar Helliesen <gunnar@bitcon.no>
List: port-vax
Date: 06/13/1997 10:06:07
I'm running 1.2 release on a uVAXII with 9 megs. Right now I have four
users logged in, one is unpacking kernel source, one is compiling
'config', one is running 'top' and one is used to compile the following
statistics for you:


vaxine:~# sysctl -n kern.version | sed 1q
NetBSD 1.2 (VAXINE) #0: Fri Dec  6 04:14:20 MET 1996


vaxine:~# pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/ra4b       36864     7329    29535    20%    Interleaved


vaxine:~# vmstat
vmstat: No drives attached.
 procs   memory     page                      faults   cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr   in   sy  cs us sy id
 3 0 0 13743   848   26   6   0   0   0   0    0    0   3  1 98  0


vaxine:~# top
load averages:   3.20,  2.77,  1.73                         09:55:13
41 processes:  4 running, 38 sleeping
Cpu states: 39.8% user,  0.0% nice, 59.4% system,  0.0% interrupt,  0.8%
idle
Memory: 3689K Act 1925K Inact 1190K Wired 427K Free 20% Swap

  PID USERNAME PRI NICE   SIZE   RES STATE   TIME   WCPU    CPU COMMAND
24428 root      52  -20  3081K    0K run     0:03 17.05% 17.04% cc1
24276 root      42  -20   921K    0K run     0:36 14.40% 14.40% gunzip
24427 root      39  -20   635K    0K run     0:08  8.40%  8.40% top
24429 root      43  -20   546K    0K run     0:03  9.98%  7.52% sh
24417 root       2  -20   629K    0K sleep   0:08  5.96%  5.96% top
24278 root       2  -20   561K    0K sleep   0:51  5.42%  5.42% tar
  134 root      18  -20   913K    0K sleep  57.8H  2.98%  2.98% httpd
   78 root      18  -20    58K    0K sleep  68:06  0.54%  0.44% update
   63 root       2  -20   275K    0K sleep  17:35  0.36%  0.29% syslogd
  108 root      18  224   831K    0K sleep 143:35  0.05%  0.05% xntpd
24132 root       2  -20   390K    0K sleep   0:33  0.05%  0.05% telnetd
   80 root      18  -20   458K    0K sleep  35:14  0.00%  0.00% cron
15923 gunnar    10  -20  1218K    0K sleep   0:09  0.00%  0.00% <bash>
24280 gunnar    10  -20  1206K    0K sleep   0:05  0.00%  0.00% <bash>
24399 gunnar    10  -20  1206K    0K sleep   0:06  0.00%  0.00% <bash>
24133 gunnar    10  -20  1206K    0K sleep   0:05  0.00%  0.00% <bash>
24277 root      10  -20  1199K    0K sleep   0:00  0.00%  0.00% <bash>
24145 root      10  -20  1199K    0K sleep   0:12  0.00%  0.00% <bash>
24295 root      10  -20  1195K    0K sleep   0:03  0.00%  0.00% <bash>
24414 root      10  -20  1187K    0K sleep   0:03  0.00%  0.00% <bash>
24356 root      10  -20  1187K    0K sleep   0:04  0.00%  0.00% <bash>
24305 root      10  -20   669K    0K sleep   0:03  0.00%  0.00% <make>
  109 root      10  -20   534K    0K sleep  83:08  0.00%  0.00% <sh>
    1 root      10  -20   354K    0K sleep   0:06  0.00%  0.00% <init>
24425 root      10  -20   248K    0K sleep   0:00  0.00%  0.00% <cc>
   57 root      10  -20   112K    0K sleep   0:00  0.00%  0.00% <nfsiod>
   56 root      10  -20   112K    0K sleep   0:00  0.00%  0.00% <nfsiod>
   55 root      10  -20   112K    0K sleep   0:00  0.00%  0.00% <nfsiod>
   54 root      10  -20   112K    0K sleep   0:00  0.00%  0.00% <nfsiod>
20156 httpd      2  -20   983K    0K sleep   0:00  0.00%  0.00% <httpd>
20470 httpd      2  -20   983K    0K sleep   0:02  0.00%  0.00% <httpd>
22341 httpd      2  -20   983K    0K sleep   0:07  0.00%  0.00% <httpd>
 7017 httpd      2  -20   983K    0K sleep   0:09  0.00%  0.00% <httpd>
10839 httpd      2  -20   983K    0K sleep   0:07  0.00%  0.00% <httpd>
14530 httpd      2  -20   983K    0K sleep   0:05  0.00%  0.00% <httpd>
   87 root       2  -20   408K    0K sleep   0:12  0.00%  0.00% <lpd>
24279 root       2  -20   390K    0K sleep   0:03  0.00%  0.00%
<telnetd>
24398 root       2  -20   390K    0K sleep   0:04  0.00%  0.00% telnetd
   92 root       2  -20   363K    0K sleep   0:47  0.00%  0.00% <inetd>
   48 root       2  -20   181K    0K sleep   0:12  0.00%  0.00%
<portmap>
24275 root       2  -20    82K    0K sleep   0:02  0.00%  0.00% <cat>


In other words, vmstat ain't working but the machine is clearly
swapping!

Memory handling seems perfectly OK to me, what am I doing wrong? ;-)

Gunnar

--
Gunnar Helliesen   | Bergen IT Consult AS  | NetBSD/VAX on a uVAX II
Systems Consultant | Bergen, Norway        | '86 Jaguar Sovereign 4.2
gunnar@bitcon.no   | http://www.bitcon.no/ | '73 Mercedes 280 (240D)


>-----Original Message-----
>From:	Johnny Billquist [SMTP:bqt@Update.UU.SE]
>Sent:	Thursday, June 12, 1997 7:44 PM
>To:	Kevin McQuiggin
>Cc:	VAX porting list
>Subject:	Re: Alright, damnit, this is getting annoying. 
>
>> machine big time, now I'm outta here waiting for another stable release to
>> come along...
>
>Kevin, how much memory does you machine have?
>
>It seems like there is a problem in the memory handling in 1.2 NetBSD/vax.
>For me, my fortune is that I have 16 Meg, so I don't need to page.
>
>Building the system is really no pain at all, but I would expect that if I
>only had 8 meg, I would be in deep trouble...
>