From owner-freebsd-smp Tue Sep 3 18:01:13 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA12092 for smp-outgoing; Tue, 3 Sep 1996 18:01:13 -0700 (PDT) Received: from intercore.com (num1sun.intercore.com [199.181.243.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA12087 for ; Tue, 3 Sep 1996 18:01:09 -0700 (PDT) Received: (robin@localhost) by intercore.com (8.7.1/8.6.4) id UAA10449; Tue, 3 Sep 1996 20:56:01 -0400 (EDT) From: Robin Cutshaw Message-Id: <199609040056.UAA10449@intercore.com> Subject: vmstat on smp To: smp@freebsd.org Date: Tue, 3 Sep 1996 20:55:59 -0400 (EDT) Cc: robin@intercore.com (Robin Cutshaw) X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ---- --