From owner-freebsd-stable@FreeBSD.ORG Wed May 25 03:45:19 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 173EC16A41C for ; Wed, 25 May 2005 03:45:19 +0000 (GMT) (envelope-from mkb@incubus.de) Received: from luzifer.incubus.de (incubus.de [80.237.207.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DC0A43D1D for ; Wed, 25 May 2005 03:45:18 +0000 (GMT) (envelope-from mkb@incubus.de) Received: from [192.168.2.11] (p54AAEA60.dip.t-dialin.net [84.170.234.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id C57212FA8F; Wed, 25 May 2005 05:45:16 +0200 (CEST) Message-ID: <4293F4D9.90204@incubus.de> Date: Wed, 25 May 2005 05:45:29 +0200 From: Matthias Buelow User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <3248.172.16.0.199.1116876092.squirrel@172.16.0.1> <20050523211307.GA36552@xor.obsecurity.org> <42924949.1070902@incubus.de> <200505242141.38289.max@love2party.net> <42938C2E.6020301@incubus.de> <20050524201942.GA28257@xor.obsecurity.org> <42938D40.1050502@incubus.de> <20050524202647.GA28322@xor.obsecurity.org> <4293A18F.6080200@incubus.de> <20050524221454.GA56421@xor.obsecurity.org> In-Reply-To: <20050524221454.GA56421@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 03:45:19 -0000 Kris Kennaway wrote: > OK, thanks for confirming. The next step is for you to try 6.0 with > debug.mpsafevfs=1 on a machine that exhibits the problem under 5.4, so > we can test whether the problem is caused by VFS being under Giant on > 5.4. I have now built 6.0-current from yesterday's source, verified that debug.mpsafevfs=1, and unpacked the firefox source. Unfortunately your hypothesis didn't hold. In fact, it's a lot worse than on 5.4-STABLE. Plus, even operations like bulk-rm'ing the unpacked firefox tree make X11 crawl and stutter, something that didn't have any observable effect on 5.4-STABLE. Maybe the dmesg output is of some help: Copyright (c) 1992-2005 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 6.0-CURRENT #0: Wed May 25 05:00:48 CEST 2005 root@drjekyll.mkbuelow.net:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d,MON,DS_CPL,CNTX-ID,> Hyperthreading: 2 logical CPUs real memory = 1072201728 (1022 MB) avail memory = 1040392192 (992 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: irq 5 on acpi0 pci_link2: irq 5 on acpi0 pci_link3: on acpi0 pci_link4: irq 9 on acpi0 pci_link5: irq 10 on acpi0 pci_link6: irq 9 on acpi0 pci_link7: irq 3 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 uhci0: port 0xff80-0xff9f irq 21 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xff60-0xff7f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xff40-0xff5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xff20-0xff3f irq 23 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci3: on pcib3 wi0: mem 0xd8000000-0xd8000fff irq 17 at device 1.0 on pci3 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) wi0: Ethernet address: 00:0d:54:aa:62:12 fxp0: port 0xccc0-0xccff mem 0xdfbff000-0xdfbfffff irq 20 at device 8.0 on pci3 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:11:11:65:21:d4 pci0: at device 30.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xce7ff,0xce800-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: vendor 0x413c product 0x3010, rev 2.00/2.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master UDMA33 acd1: CDRW at ata0-slave UDMA33 ad4: 152627MB at ata2-master SATA150 ATA PseudoRAID loaded lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s3a pcm0: port 0xec00-0xecff,0xe8c0-0xe8ff mem 0xdffffe00-0xdfffffff,0xdffffd00-0xdffffdff irq 23 at device 30.2 on pci0 pcm0: [GIANT-LOCKED] pcm0: ieee80211_load_module: load the wlan_wep module by hand for now. wi0: link state changed to DOWN Btw., vmstat -i shows quite high apic timer interrupt rates, I guess this is normal for 6.0? interrupt total rate irq1: atkbd0 1856 1 irq13: npx0 1 0 irq14: ata0 94 0 irq17: wi0 506 0 irq20: fxp0 atapci1 73527 72 irq21: uhci0 ehci0 1 0 irq22: uhci1 4876 4 irq23: pcm0 uhci3 1008 0 lapic0: timer 2014791 1996 lapic1: timer 2014913 1996 Total 4111573 4074 I'll keep 6.0 on the machine for a couple days but then I'll have to revert to 5.4 because I need the machine as a workstation. mkb.