- 论坛徽章:
- 0
|
重新编译内核,打开了
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
options HTT # HyperThreading Technology
但是使用top命令看named 进程都使用cpu1,poll不到cpu0 ,请帮助分析分析。谢谢。
1、dmesg.boot摘录
平台为FreeBSD4.8,
CPU: Intel(R) XEON(TM) CPU 2.00GHz (1995.64-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf24 Stepping = 4
Features=0x3febfbff<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>
Hyperthreading: 2 logical CPUs
real memory = 1610579968 (1572832K bytes)
avail memory = 1562882048 (1526252K bytes)
APIC_IO: MP table broken: 8259->APIC entry missing!
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
Programming 16 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000
cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000
io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000
io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000
io2 (APIC): apic id: 12, version: 0x000f0011, at 0xfec02000
Preloaded elf kernel "kernel" at 0xc0300000.
2、mptable信息如下:
%mptable
===============================================================================
MPTable, version 2.0.15
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
location: EBDA
physical address: 0x0009d540
signature: '_MP_'
length: 16 bytes
version: 1.4
checksum: 0x0d
mode: Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
physical address: 0x0009dab0
signature: 'PCMP'
base table length: 384
version: 1.4
checksum: 0x95
OEM ID: 'IBM ENSW'
Product ID: 'GRANIT SMP '
OEM table pointer: 0x00000000
OEM table size: 0
entry count: 41
local APIC address: 0xfee00000
extended table length: 348
extended table checksum: 230
-------------------------------------------------------------------------------
MP Config Base Table Entries:
--
Processors: APIC ID Version State Family Model Step Flags
0 0x14 BSP, usable 15 2 4 0x0301
--
Bus: Bus ID Type
0 PCI
1 PCI
2 PCI
3 PCI
4 PCI
5 PCI
6 PCI
7 PCI
8 PCI
9 PCI
10 PCI
11 ISA
--
I/O APICs: APIC ID Version State Address
14 0x11 usable 0xfec00000
13 0x11 usable 0xfec01000
12 0x11 usable 0xfec02000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
INT conforms conforms 11 1 14 1
INT conforms conforms 11 0 14 2
INT conforms conforms 11 4 14 4
INT conforms conforms 11 6 14 6
INT conforms conforms 11 7 14 7
INT conforms conforms 11 8 14 8
INT conforms conforms 11 12 14 12
INT conforms conforms 11 13 14 13
INT conforms conforms 11 14 14 14
INT conforms conforms 11 15 14 15
INT conforms conforms 0 9:A 13 10
INT conforms conforms 0 15:A 14 11
INT conforms conforms 2 8:A 13 13
INT conforms conforms 5 7:A 13 11
INT conforms conforms 5 7:B 13 12
INT conforms conforms 7 5:A 13 8
INT conforms conforms 7 5:B 13 9
INT conforms conforms 7 5:C 13 8
INT conforms conforms 7 5 13 9
INT conforms conforms 9 6:A 13 15
INT conforms conforms 9 6:B 12 2
INT conforms conforms 9 6:C 13 15
INT conforms conforms 9 6 12 2
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
NMI conforms conforms 11 0 255 1
ExtINT conforms conforms 11 0 255 0
-------------------------------------------------------------------------------
MP Config Extended Table Entries:
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xa0000
address range: 0x20000
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xcc000
address range: 0x14000
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xfc000000
address range: 0x4000000
--
System Address Space
bus ID: 2 address type: memory address
address base: 0xfa000000
address range: 0x2000000
--
System Address Space
bus ID: 5 address type: memory address
address base: 0xf8000000
address range: 0x2000000
--
System Address Space
bus ID: 7 address type: memory address
address base: 0xf7c00000
address range: 0x400000
--
System Address Space
bus ID: 7 address type: prefetch address
address base: 0xf7800000
address range: 0x400000
--
System Address Space
bus ID: 9 address type: prefetch address
address base: 0xf7400000
address range: 0x400000
--
System Address Space
bus ID: 9 address type: memory address
address base: 0xf7000000
address range: 0x400000
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x0
address range: 0x3b0
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3b0
address range: 0xc
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3bc
address range: 0x4
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3c0
address range: 0x20
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3e0
address range: 0x1f20
--
System Address Space
bus ID: 5 address type: I/O address
address base: 0x2300
address range: 0x200
--
System Address Space
bus ID: 7 address type: I/O address
address base: 0x2500
address range: 0x7b00
--
System Address Space
bus ID: 9 address type: I/O address
address base: 0xa000
address range: 0x6000
--
Bus Heirarchy
bus ID: 11 bus info: 0x01 parent bus ID: 0
=============================================================================== |
|