Subject: Re: SMP doesn?t work the way i want.
To: None <martin@duskware.de>
From: Patrik Hansson <padde@beta.telenordia.se>
List: tech-smp
Date: 02/07/2003 11:53:50
Den 7 Feb 2003 skrev Martin Husemann:

> On Fri, Feb 07, 2003 at 09:42:54AM +0100, Patrik Hansson wrote:
> 
> > Talked to a friend of mine. In his system systat vmstat displays both his cpu?s.
> 
> Uhmm, how? And is he running NetBSD ;-)
> 
> There is no trace of the number of CPUs in "systat" or "systat vmstat" display,
> as far as I can tell.
> 
> Martin

Yes he is. Here is some information from his system:

==============
systat vmstat:
==============


     1 user     Load  0.13  0.31  0.52                  Fri Feb  7 11:46:30

           memory totals (in kB)             PAGING   SWAPPING 
Interrupts
          real   virtual    free             in  out   in  out 
  total
Active  44012     44012  423656     ops 
cpu0 softclock
All     86884     86884  782340     pages 
cpu0 softnet
 
  cpu0 timer
Proc:r  d  s  w    Csw   Trp   Sys  Int  Sof   Flt        forks 
cpu0 FPU flush IPI
            7                                              fkppw 
  cpu0 FPU synch IPI
                                                           fksvm 
  cpu0 TLB shootdown IPI
    0.2% Sy   0.2% Us   2.1% Ni   0.0% In  97.5% Id        pwait 
  cpu1 timer
|    |    |    |    |    |    |    |    |    |    |       relck 
cpu1 timeset IPI
-                                                         rlkok 
cpu1 FPU flush IPI
                                                           noram 
  cpu1 FPU synch IPI
Namei         Sys-cache     Proc-cache                    ndcpy 
cpu1 TLB shootdown IPI
     Calls     hits    %     hits     %                    fltcp 
  ioapic0 pin 14
        14       14  100                                   zfod 
  ioapic0 pin 15
                                                           cow 
  ioapic0 pin 19
Discs  wd0  wd1  wd2  wd3  fd0  md0  sd0 raid          64 fmin 
ioapic0 pin 17
seeks                                                  85 ftarg
xfers                                  1                  itarg
bytes   3K   3K   2K   2K             4K   3K         130 wired
%busy  0.1  0.1  0.1  0.1            0.4  0.2             pdfre
                                                           pdscn


==========
vmstat -i:
==========

interrupt                                     total     rate
cpu0 softclock                              7769739      100
cpu0 softnet                                 471134        6
cpu0 timer                                  7769747      100
cpu0 FPU flush IPI                               14        0
cpu0 FPU synch IPI                              186        0
cpu0 TLB shootdown IPI                       229805        2
cpu1 timer                                  7767316       99
cpu1 timeset IPI                              77688        1
cpu1 FPU flush IPI                               11        0
cpu1 FPU synch IPI                              135        0
cpu1 TLB shootdown IPI                      5474309       70
ioapic0 pin 14                                42029        0
ioapic0 pin 15                                30544        0
ioapic0 pin 19                               577681        7
ioapic0 pin 17                                49963        0
Total                                      30260301      389


=========
uname -a:
=========

NetBSD mozilla.int.nocom.net 1.6N NetBSD 1.6N (MOZILLA.MP) #1: Mon Feb 
3 11:39:06 CET 2003 

keihan@mozilla.int.nocom.net:/storage/system/NetBSD/src/sys/arch/i386/compile/MOZILLA.MP