[FUG-BR] SMP

Luiz Neto lneto em ucmbrasil.com.br
Sex Mar 24 12:53:48 BRT 2006


Caros, boa tarde.

Comprei um pc PIV 3.00GHZ HT  habilitei o kernel com 

options         SMP  
device apic


meu dmesg está assim,

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #1: Thu Mar 23 18:39:07 UTC 2006
    root@:/usr/src/sys/i386/compile/MULAMBO
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.13-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x441d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,<b14>>
  Hyperthreading: 2 logical CPUs
real memory  = 2147287040 (2047 MB)
avail memory = 2096324608 (1999 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 0.3> irqs 0-23 on motherboard
ioapic1 <Version 0.3> irqs 24-47 on motherboard
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0

SMP: AP CPU #1 Launched!

Googleando por ai vi que no top não aparece as duas cpus e sim uma coluna "C"
onde deve alternar entre 1 e 0 dependendo do processo. Mas isso não está
acontecendo como mostra o top abaixo


0.0% user,  0.0% nice,  0.2% system,  0.0% interrupt, 99.8% idle
Mem: 40M Active, 6440K Inact, 22M Wired, 20M Buf, 1934M Free
Swap:

  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
  410 root        1  96    0 13356K 12816K select 0   0:01  0.00% clamd
  392 mysql       6  20    0 56880K 24556K kserel 0   0:00  0.00% mysqld
  394 root        1   8    0  1224K   672K nanslp 0   0:00  0.00% svscan
  585 root        1  96    0  6076K  3100K select 0   0:00  0.00% sshd
  588 root        1  20    0  4160K  2868K pause  0   0:00  0.00% csh
  412 qmails      1  96    0  1236K   676K select 0   0:00  0.00% qmail-send
  288 root        1  96    0  1292K   856K select 0   0:00  0.00% syslogd
  609 root        1  96    0  2348K  1572K CPU0   0   0:00  0.00% top
  450 root        1   8    0  1312K  1020K nanslp 0   0:00  0.00% cron
  367 root        1   8    0  1644K  1096K wait   0   0:00  0.00% sh


Alguém poderia me ajudar??

Grato.

Luiz.
_______________________________________________
freebsd mailing list
freebsd em fug.com.br
http://lists.fug.com.br/listinfo.cgi/freebsd-fug.com.br



Mais detalhes sobre a lista de discussão freebsd