From owner-freebsd-smp Mon Feb 25 21: 3: 7 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail014.syd.optusnet.com.au (mail014.syd.optusnet.com.au [203.2.75.175]) by hub.freebsd.org (Postfix) with ESMTP id 7119537B417 for ; Mon, 25 Feb 2002 21:02:46 -0800 (PST) Received: from BENDER (adlax4-149.dialup.optusnet.com.au [198.142.83.149]) by mail014.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id g1Q52cM23495 for ; Tue, 26 Feb 2002 16:02:39 +1100 From: "Martin Minkus" To: Subject: FreeBSD 4.5 Date: Tue, 26 Feb 2002 15:31:51 +1030 Message-ID: <001001c1be82$b74ae7d0$0200000a@BENDER> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0011_01C1BEDA.B9D92BD0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C1BEDA.B9D92BD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm wondering if anyone knows of any issues in SMP in FreeBSD 4.5-RELEASE. I just recently installed 4.5-R on my old Dual P200, and on IO, it CRRRAAAWWWLLLSSSSS. The keyboard is unusable, i can type and several seconds later something comes up, it really lags, etc, top says the cpu is in System almost all the time. And its not because its swapping (i've seen FreeBSD trash so bad the keyboard doesn't work; no swap is being used, its basically the kernel isn't handling the keyboard interrupts and doing what its meant to be i guess). I couldn't understand it. I booted back to Generic kernel, and all is fine and speedy. I recompiled my custom kernel without SMP, and also, nice and fine and speedy. I recompile my custom kernel with SMP in it again, and it CRAWLS like a dog onec again. So whats up? I *know* i used to run FreeBSD on this box before (3.x, and 4.0, 4.1, 4.2, following the STABLE branch till 4.3 probably) and this problem never existed. The machine then ran Windows XP for a little while before getting 4.5-RELEASE on it, and now this problem has arisen. So something must have broken somewhere... Kernel book WITH SMP: Feb 23 11:34:19 silence /kernel: Copyright (c) 1992-2002 The FreeBSD Project. Feb 23 11:34:19 silence /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Feb 23 11:34:19 silence /kernel: The Regents of the University of California. All rights reserved. Feb 23 11:34:19 silence /kernel: FreeBSD 4.5-RELEASE #0: Fri Feb 22 21:27:35 CST 2002 Feb 23 11:34:19 silence /kernel: root@silence.diskiller.net:/usr/src/sys/compile/SILENCE Feb 23 11:34:19 silence /kernel: Timecounter "i8254" frequency 1193182 Hz Feb 23 11:34:19 silence /kernel: CPU: Pentium/P55C (199.31-MHz 586-class CPU) Feb 23 11:34:19 silence /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Feb 23 11:34:19 silence /kernel: Features=0x8003bf Feb 23 11:34:19 silence /kernel: real memory = 67108864 (65536K bytes) Feb 23 11:34:19 silence /kernel: avail memory = 62615552 (61148K bytes) Feb 23 11:34:19 silence /kernel: Programming 24 pins in IOAPIC #0 Feb 23 11:34:19 silence /kernel: IOAPIC #0 intpin 2 -> irq 0 Feb 23 11:34:19 silence /kernel: IOAPIC #0 intpin 18 -> irq 11 Feb 23 11:34:19 silence /kernel: IOAPIC #0 intpin 19 -> irq 10 Feb 23 11:34:19 silence /kernel: FreeBSD/SMP: Multiprocessor motherboard Feb 23 11:34:19 silence /kernel: cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee00000 Feb 23 11:34:19 silence /kernel: cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee00000 Feb 23 11:34:19 silence /kernel: io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Feb 23 11:34:19 silence /kernel: Preloaded elf kernel "kernel" at 0xc02b3000. Feb 23 11:34:19 silence /kernel: Intel Pentium detected, installing workaround for F00F bug Feb 23 11:34:19 silence /kernel: Using $PIR table, 5 entries at 0xc00fdad0 Feb 23 11:34:19 silence /kernel: npx0: on motherboard Feb 23 11:34:19 silence /kernel: npx0: INT 16 interface Feb 23 11:34:19 silence /kernel: pcib0: on motherboard Feb 23 11:34:19 silence /kernel: pci0: on pcib0 Feb 23 11:34:19 silence /kernel: isab0: at device 7.0 on pci0 Feb 23 11:34:19 silence /kernel: isa0: on isab0 Feb 23 11:34:19 silence /kernel: atapci0: port 0xf000-0xf00f at device 7.1 on pci0 Feb 23 11:34:19 silence /kernel: ata0: at 0x1f0 irq 14 on atapci0 Feb 23 11:34:19 silence /kernel: ata1: at 0x170 irq 15 on atapci0 Feb 23 11:34:19 silence /kernel: rl0: port 0x6400-0x64ff mem 0xe1000000-0xe10000ff irq 11 at device 16.0 on pci0 Feb 23 11:34:19 silence /kernel: rl0: Ethernet address: 00:00:21:ee:49:b9 Feb 23 11:34:19 silence /kernel: miibus0: on rl0 Feb 23 11:34:19 silence /kernel: rlphy0: on miibus0 Feb 23 11:34:19 silence /kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Feb 23 11:34:19 silence /kernel: pci0: at 17.0 irq 10 Feb 23 11:34:19 silence /kernel: orm0: