Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 23:20:45 +0100
From:      "Jonathan Love" <jil01@doc.ic.ac.uk>
To:        <freebsd-smp@freebsd.org>
Subject:   Major SMP Slowdown...
Message-ID:  <00d301c15e6c$86fc86e0$1f201f81@jon>

next in thread | raw e-mail | index | archive | help
On my ASUS CUV4X-D motherboard, with Dual P3 1Ghz, when SMP is enabled (and
*no* other options/changes are enabled/made), the processors run as slow as
snails - far slower than either one individually.

Here is my dmesg output:

Copyright (c) 1992-2001 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 4.4-STABLE #1: Fri Oct 26 19:22:08 BST 2001
    jon@bert.savageservers.com:/usr/obj/usr/src/sys/BERTKERNEL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1004.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073725440 (1048560K bytes)
config> q
avail memory = 1041846272 (1017428K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0312000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc031209c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1310
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 18 -> irq 2
IOAPIC #0 intpin 17 -> irq 5
IOAPIC #0 intpin 19 -> irq 9
IOAPIC #0 intpin 16 -> irq 10
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device 4.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 2 at device 4.2 on
pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 2 at device 4.3 on
pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb800-0xb83f mem
0xfa800000-0xfa8fffff,0xfb000000-0xfb000fff irq 5 at device 7.0 on pc
i0
fxp0: Ethernet address 00:e0:18:25:75:9a
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <unknown card> (vendor=0x1000, dev=0x0020) at 8.0 irq 9
pci0: <unknown card> (vendor=0x1000, dev=0x0020) at 8.1 irq 10
pci0: <ATI Mach64-GR graphics accelerator> at 12.0 irq 10
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 58644MB <IC35L060AVER07-0> [119150/16/63] at ata0-master UDMA100
acd0: CDROM <MEMOREX CD-MAXX52> at ata1-slave using PIO4
Mounting root from ufs:/dev/ad0s1a

And the mptable...

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:             0x000f5124
  signature:                    'PCMP'
  base table length:            260
  version:                      1.4
  checksum:                     0x53
  OEM ID:                       'OEM00000'
  Product ID:                   'PROD00000000'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  24
  local APIC address:           0xfee00000
  extended table length:        124
  extended table checksum:      138

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

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step
Flags
                 3       0x11    BSP, usable     6       8       10
0x383fbff
                 0       0x11    AP, usable      6       8       10
0x383fbff
--
Bus:            Bus ID  Type
                 0       PCI
                 1       ISA
--
I/O APICs:      APIC ID Version State           Address
                 2       0x11    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT   conforms    conforms        1     0          2    0
                INT      conforms    conforms        1     1          2    1
                INT      conforms    conforms        1     0          2    2
                INT      conforms    conforms        1     3          2    3
                INT      conforms    conforms        1     4          2    4
                INT      conforms    conforms        1     6          2    6
                INT      conforms    conforms        1     7          2    7
                INT      conforms    conforms        1     8          2    8
                INT      conforms    conforms        1    12          2   12
                INT      conforms    conforms        1    14          2   14
                INT      conforms    conforms        1    15          2   15
                INT     active-lo       level        1     0          2    0
                INT     active-lo       level        0   4:D          2   18
                INT     active-lo       level        0   7:A          2   17
                INT     active-lo       level        0   8:A          2   19
                INT     active-lo       level        0   8:B          2   16
                INT     active-lo       level        0  12:A          2   16
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT  active-hi        edge        1     0        255    0
                NMI     active-hi        edge        1     0        255    1

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

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x10000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0x40000000
 address range: 0xbbfe0000
--
System Address Space
 bus ID: 0 address type: prefetch address
 address base: 0xfbfe0000
 address range: 0xec020000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xe8000000
 address range: 0x18000000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--
Bus Heirarchy
 bus ID: 1 bus info: 0x01 parent bus ID: 0
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000000
--
Compatibility Bus Address
 bus ID: 0 address modifier: add
 predefined range: 0x00000001

Do these indicate any problems? Why is it running so slowly when SMP is
enabled? Would another release version fix this? Although questions
shouldn't be asked here, the problem seems to be technical.

Tia,

Jonathan Love



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d301c15e6c$86fc86e0$1f201f81>