6.2-RELEASE does not use second CPU?

Alex Povolotsky tarkhil at webmail.sub.ru
Wed Apr 25 10:55:07 UTC 2007


Alexey Karagodov wrote:
> please, dmesg, mptable -verbose, mptable -grope
>
> 2007/4/25, Alex Povolotsky <tarkhil at webmail.sub.ru 
> <mailto:tarkhil at webmail.sub.ru>>:
>
>     Kris Kennaway wrote:
>     > On Fri, Apr 20, 2007 at 12:08:57PM -0700, Kevin Oberman wrote:
>     >
>     >>> Date: Fri, 20 Apr 2007 22:54:52 +0400
>     >>> From: "Alexey Karagodov" <karagodov at gmail.com
>     <mailto:karagodov at gmail.com>>
>     >>> Sender: owner-freebsd-stable at freebsd.org
>     <mailto:owner-freebsd-stable at freebsd.org>
>     >>>
>     >>> and what is this, i mean why:
>     >>> WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
>     >>> WARNING: MPSAFE network stack disabled, expect reduced
>     performance.
>     >>>
>     >> I thought it was pretty clear.
>     >>
>     >> ipsec is not multi-processor safe and requires the use of
>     GIANT. If you
>     >> have IPSEC in your kernel the network stack will also be giant
>     locked
>     >> which will cut performance.
>     >>
>     >
>     > Yep, google for extensive discussion (hint: FAST_IPSEC)
>     >
>
>     No visible changes in behaviour with FAST_IPSEC
>
>     Fast IPsec: Initialized Security Association Processing.
>
>     mptable still shows ONE CPU
>
>     Alex.
>
>
>

Full dmesg:

Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p3 #5: Wed Apr 25 13:37:13 MSD 2007
    tarkhil at cluster-one.zinester.com:/usr/obj/usr/src/sys/P4D
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.41-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf64  Stepping = 4
  
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=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>,<b15>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
real memory  = 1046757376 (998 MB)
avail memory = 1015087104 (968 MB)
ACPI APIC Table: <INTEL  DG965SS >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ichwd module loaded
kbd1 at kbdmux0
acpi0: <INTEL DG965SS> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_perf1: <ACPI CPU Frequency Control> on cpu1
acpi_perf1: failed in PERF_STATUS attach
device_attach: acpi_perf1 attach returned 6
acpi_perf1: <ACPI CPU Frequency Control> on cpu1
acpi_perf1: failed in PERF_STATUS attach
device_attach: acpi_perf1 attach returned 6
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <display, VGA> at device 2.0 (no driver attached)
pci0: <simple comms> at device 3.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 
0x30e0-0x30ff mem 0x50300000-0x5031ffff,0x50324000-0x50324fff irq 20 at 
device 25.0 on pci0
em0: Ethernet address: 00:19:d1:03:10:d9
pci0: <serial bus, USB> at device 26.0 (no driver attached)
pci0: <serial bus, USB> at device 26.1 (no driver attached)
pci0: <serial bus, USB> at device 26.7 (no driver attached)
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
atapci0: <GENERIC ATA controller> port 
0x2018-0x201f,0x2024-0x2027,0x2010-0x2017,0x2020-0x2023,0x2000-0x200f 
mem 0x50100000-0x501001ff irq 17 at device 0.0 on pci2
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
pcib3: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci5: <ACPI PCI bus> on pcib5
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
atapci1: <SiI 3114 SATA150 controller> port 
0x1018-0x101f,0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f 
mem 0x50004800-0x50004bff irq 22 at device 1.0 on pci6
ata4: <ATA channel 0> on atapci1
ata5: <ATA channel 1> on atapci1
ata6: <ATA channel 2> on atapci1
ata7: <ATA channel 3> on atapci1
pci6: <serial bus, FireWire> at device 3.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci2: <Intel ICH8 SATA300 controller> port 
0x3108-0x310f,0x311c-0x311f,0x3100-0x3107,0x3118-0x311b,0x3020-0x303f 
mem 0x50325000-0x503257ff irq 19 at device 31.2 on pci0
atapci2: AHCI Version 01.10 controller with 4 ports detected
ata8: <ATA channel 0> on atapci2
ata9: <ATA channel 1> on atapci2
ata10: <ATA channel 2> on atapci2
ata11: <ATA channel 3> on atapci2
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 on 
acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xcafff,0xcd000-0xcdfff,0xce000-0xd27ff,0xd2800-0xd37ff on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
ad8: 70911MB <WDC WD740ADFD-00NLR1 20.07P20> at ata4-master SATA150
ad16: 70911MB <WDC WD740ADFD-00NLR1 20.07P20> at ata8-master SATA150
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad16s1a
cluster-one# mptable -verbose

===============================================================================

MPTable

 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009e800
 searching CMOS 'top of mem' @ 0x0009e400 (633K)
 searching default 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000fe200

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000fe200
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0x9f
  mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:             0x000fe210
  signature:                    'PCMP'
  base table length:            64
  version:                      1.4
  checksum:                     0x7f
  OEM ID:                       ''
  Product ID:                   ''
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  1
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    
Flags
                 0       0x14    BSP, usable     15      6       4       
0xbfebfbff

===============================================================================

cluster-one# mptable -grope

===============================================================================

MPTable

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000fe200
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0x9f
  mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:             0x000fe210
  signature:                    'PCMP'
  base table length:            64
  version:                      1.4
  checksum:                     0x7f
  OEM ID:                       ''
  Product ID:                   ''
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  1
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    
Flags
                 0       0x14    BSP, usable     15      6       4       
0xbfebfbff

===============================================================================

Thanks.

Alex.





More information about the freebsd-stable mailing list