From owner-freebsd-smp Tue Sep 25 16:52:13 2001 Delivered-To: freebsd-smp@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 8C29637B491 for ; Tue, 25 Sep 2001 16:51:59 -0700 (PDT) Received: by peitho.fxp.org (Postfix, from userid 1000) id 51B9E13652; Tue, 25 Sep 2001 19:51:53 -0400 (EDT) Date: Tue, 25 Sep 2001 19:51:53 -0400 From: Chris Faulhaber To: freebsd-smp@FreeBSD.org Subject: Dual P5 slowdown between 4.3 and 4.4 Message-ID: <20010925195153.A53387@peitho.fxp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.20i 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 I just updated my Dual Pentium (P54C) box from RELENG_4_3 to RELENG_4 and have found that the box is significantly slower when running an SMP kernel versus UP. Under 4.3, an SMP -j4 buildworld took just over 4.5 hours. It now takes upwards of 20 hours w/SMP and 6 (no -j) UP. When logging in and running basic commands the system seems quite sluggish. Where should I start looking? -- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org 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: Thu Sep 20 17:53:31 EDT 2001 root@merlin.wanmine.com:/usr/src/sys/compile/MERLIN-SMP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (165.72-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x3bf real memory = 67108864 (65536K bytes) avail memory = 61644800 (60200K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 17 -> irq 12 IOAPIC #0 intpin 19 -> irq 5 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 0xc0393000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk Using $PIR table, 5 entries at 0xc00fdab0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata1: at 0x170 irq 15 on atapci0 ahc0: port 0x6400-0x64ff mem 0xe0101000-0xe0101fff irq 5 at device 17.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs atapci1: port 0x7800-0x781f,0x7404-0x7407,0x7000-0x7007,0x6c04-0x6c07,0x6800-0x6807 irq 12 at device 19.0 on pci0 ata2: at 0x6800 on atapci1 ata3: at 0x7000 on atapci1 fxp0: port 0x7c00-0x7c1f mem 0xe0000000-0xe00fffff,0xe0100000-0xe0100fff irq 10 at device 20.0 on pci0 fxp0: Ethernet address 00:a0:c9:70:a4:ee inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: