Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 13:24:31 +0100 (BST)
From:      Gunnar Pruessner <pruess@seine.ma.ic.ac.uk>
To:        freebsd-smp@freebsd.org
Cc:        Gunnar Pruessner <pruess@ma.ic.ac.uk>
Subject:   significant SMP slowdown
Message-ID:  <200110031224.f93COVX06988@seine.ma.ic.ac.uk>

next in thread | raw e-mail | index | archive | help
Hi!
Since upgrading from FBSD 3.0.0-19990112-SNAP to FBSD 4.4-RELEASE my
system is running horribly slow as soon as I turn on SMP, i.e. the
GENERIC kernel runs just fine, but using a kernel which supports SMP
(i.e. GENERIC with uncommented SMP and APIC_IO, and I[346]86_CPU
commented out) slows down the entire system significantly. The system
was running  fine for almost two years, but with 4.4 the system even
freezed once and another time during compilation of a new kernel an
idling emacs crashed with SIGABRT (6) and gensetdefs with SIGSEGV
(11). Now it runs with the GENERIC kernel smoothly and without any
problems. Please find attached dmesg from the new 4.4-RELEASE and from
the old 3.0.0-19990112-SNAP. 
Please see also a similar message from Chris Faulhaber:
http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=33169+38797+/usr/local/www/db/text/2001/freebsd-smp/20010930.freebsd-smp

Any suggestions?

Best wishes,
Gunnar


#### dmesg 
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-RELEASE #0: Sat Sep 29 17:43:16 BST 2001
    root@seine.ma.ic.ac.uk:/usr/src/sys/compile/GENERIC_CUSTOM
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (199.43-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8003bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,MMX>
real memory  = 201326592 (196608K bytes)
avail memory = 191213568 (186732K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0491000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 18 -> irq 16
IOAPIC #0 intpin 16 -> irq 18
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
de0: <Digital 21041 Ethernet> port 0x6400-0x647f mem 0xe0906000-0xe090607f irq 2 at device 17.0 on pci0
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:80:ad:1e:70:41
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x6500-0x653f mem 0xe0800000-0xe08fffff,0xe0905000-0xe0905fff irq 16 at device 18.0 on pci0
fxp0: Ethernet address 00:d0:b7:2c:12:30
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x6000-0x60ff mem 0xe0904000-0xe0904fff irq 17 at device 19.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 20.0 irq 18
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcd7ff 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
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
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: 14664MB <IBM-DJNA-351520> [29795/16/63] at ata0-master WDMA2
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da1s1a
da2 at ahc0 bus 0 target 6 lun 0
da2: <NEC DSE2100S 0306> Fixed Direct Access SCSI-2 device 
da2: 10.000MB/s transfers (10.000MHz, offset 15)
da2: 2014MB (4124736 512 byte sectors: 255H 63S/T 256C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST32171W 0338> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 2061MB (4222640 512 byte sectors: 255H 63S/T 262C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DCAS-34330 S61A> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (20.000MHz, offset 15)
da1: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)

### dmesg from the 3.0.0-19990112-SNAP system (/var/run/dmesg.boot)
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0.0-19990112-SNAP #10: Thu Nov 30 14:51:39 CET 2000
    root@seine.physik.fu-berlin.de:/usr/src/sys/compile/CUSTOM
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8003bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,MMX>
real memory  = 201326592 (196608K bytes)
config> quit
avail memory = 192925696 (188404K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xf02c2000.
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
de0: <Digital 21041 Ethernet> rev 0x11 int a irq 19 on pci0.17.0
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:80:ad:1e:70:41
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x08 int a irq 18 on pci0.18.0
fxp0: Ethernet address 00:d0:b7:2c:12:30
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 17 on pci0.19.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
vga0: <Matrox MGA 2064W graphics accelerator> rev 0x01 int a irq 16 on pci0.20.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <IBM-DJNA-351520>, 32-bit, multi-block-16
wd0: 14664MB (30033360 sectors), 29795 cyls, 16 heads, 63 S/T, 512 B/S
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
pas0 at 0x388 irq 10 drq 6 on isa
snd0: <Pro AudioSpectrum 16D rev 63> 
Intel Pentium detected, installing workaround for F00F bug
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
Waiting 2 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
changing root device to da0s1a
da2 at ahc0 bus 0 target 6 lun 0
da2: <NEC DSE2100S 0306> Fixed Direct Access SCSI-2 device 
da2: 10.0MB/s transfers (10.0MHz, offset 15)
da2: 2014MB (4124736 512 byte sectors: 255H 63S/T 256C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST32171W 0338> Fixed Direct Access SCSI-2 device 
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 2061MB (4222640 512 byte sectors: 255H 63S/T 262C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DCAS-34330 S61A> Fixed Direct Access SCSI-2 device 
da1: 20.0MB/s transfers (20.0MHz, offset 15), Tagged Queueing Enabled
da1: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)

-- 
  ###########################################################
  #                                                         #
  #   "Valid Facts and Theoretical Understanding Generate   #
  #           Solutions to Hard Problems."                  #
  #  V F T                                                  #
  #  U   G          -- after Herbert B. Callen              #
  #  S H P                                                  #
  ###########################################################

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?200110031224.f93COVX06988>