Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 1996 20:55:59 -0400 (EDT)
From:      Robin Cutshaw <robin@intercore.com>
To:        smp@freebsd.org
Cc:        robin@intercore.com (Robin Cutshaw)
Subject:   vmstat on smp
Message-ID:  <199609040056.UAA10449@intercore.com>

next in thread | raw e-mail | index | archive | help

I've been building the latest release of XFree86 (312Fb) on my
SMP box/kernel.  I booted /kernel.smp and did a vmstat -N /kernel.smp
and got "vmstat: kvm_openfiles: /dev/mem: Permission denied".  It seems
to work fine without the "-N /kernel.smp" modifier or if run by root.

I am doing a non-parallel make and see the cpu idle at 0 and most of the
time used in sys.  It doesn't look like the second cpu is being counted
in total cpu percentage available.  The "sys" figure looks suspect as
well.

free2cpu:robin $ vmstat 5
 procs   memory     page                    disks      faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr s0 c0 f0   in   sy  cs us sy id
 1 0 0   320 11844   27   0   0   0  26   0  2  0  0  236   60 2241  1 99  0
 1 0 0   364 11988  372   0   0   0 364   0 17  0  0  247  708 21121  6 94  0
 1 0 0   388 11460  364   0   0   0 330   0 13  0  0  243  626 22385  3 97  0
 1 0 0   404 10176  281   0   0   0 220   0 13  0  0  242  515 23507  2 98  0
 1 0 0   360 10056    9   0   0   0   0   0 13  0  0  243   24 30659  0 100  0
 0 1 0   340 11992   30   0   0   0 128   0  1  0  0  230   33 30990  8 92  0
 1 0 0   300 10868  304   0   0   0 233   0  9  0  0  239  536 24626  2 98  0
 1 0 0   364 11612  246   0   0   0 272   0 11  0  0  240  404 25153  3 97  0
 1 0 0   344 11696  208   0   0   0 206   0  8  0  0  237  391 26441  3 97  0


This machine is a dual-p133 with 64MB ram (and previously mentioned ncr card).

robin
--
----
Robin Cutshaw         internet: robin@interlabs.com
Internet Labs, Inc.   BellNet:  404-817-9787

    "Time is just one damn thing after another" -- PBS/Nova
----
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609040056.UAA10449>