From owner-freebsd-current@FreeBSD.ORG Fri Apr 22 16:25:52 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 246C216A4CE for ; Fri, 22 Apr 2005 16:25:52 +0000 (GMT) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C76E43D41 for ; Fri, 22 Apr 2005 16:25:51 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: from sentinel (195.198.193.104) by pne-smtpout1-sn2.hy.skanova.net (7.1.026.7) id 41E3216700E8C394; Fri, 22 Apr 2005 18:25:49 +0200 From: "Daniel Eriksson" To: "'FreeBSD Current'" Date: Fri, 22 Apr 2005 18:25:45 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <42691EC2.7080106@samsco.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcVHVGGWkR9e4jvcSuq6UBxCPJHi+QAAlc3A Subject: RE: Serious I/O problems (bad performance and live-lock) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 16:25:52 -0000 Scott Long wrote: > What happens if you turn off mpsafevfs? At first I thought it had cured the problem, but after running 'dd' for ~3 minutes it started swapping, and about a minute later the system became completely unresponsive. Also, if I abort 'dd' after the swapping has started but before it live-locks it seems that a new 'dd' will take the system to that unresponsive state very quickly. I tested this on the UP system, newly rebooted. The system itself is pretty basic. More discs than normal, but they were not mounted (they are normally exported using ggate). Below is the dmesg just in case... /Daniel Eriksson 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: Fri Apr 22 06:48:40 CEST 2005 daniel@xxx:/usr/obj/usr/src/sys/XXX Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP 2500+ (1833.13-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc0400000 real memory = 536850432 (511 MB) avail memory = 516022272 (492 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard 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 0 on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 0 on acpi0 pci_link4: irq 3 on acpi0 pci_link5: irq 7 on acpi0 pci_link6: irq 5 on acpi0 pci_link7: irq 15 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xfc000000-0xfdffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci0: at device 10.0 (no driver attached) re0: port 0xd800-0xd8ff mem 0xed800000-0xed8000ff at device 12.0 on pci0 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:50:fc:f8:c6:81 atapci0: port 0xd400-0xd407,0xd000-0xd003,0xb800-0xb807,0xb400-0xb403,0xb000-0xb0ff irq 16 at device 13.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0xa800-0xa807,0xa400-0xa403,0xa000-0xa007,0x9800-0x9803,0x9400-0x94ff irq 16 at device 13.1 on pci0 ata4: on atapci1 ata5: on atapci1 atapci2: port 0x9000-0x9007,0x8800-0x8803,0x8400-0x8407,0x8000-0x8003,0x7800-0x780f,0x7400 -0x74ff at device 15.0 on pci0 ata6: on atapci2 ata6: SATA connect ready time=0ms ata7: on atapci2 ata7: SATA connect ready time=0ms atapci3: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x7000-0x700f irq 20 at device 15.1 on pci0 ata0: on atapci3 ata1: on atapci3 uhci0: port 0x6800-0x681f at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0x6400-0x641f at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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 uhci2: port 0x6000-0x601f at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x5800-0x581f at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xed000000-0xed0000ff at device 16.4 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: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 vr0: port 0x5400-0x54ff mem 0xec800000-0xec8000ff at device 18.0 on pci0 miibus1: on vr0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:0e:a6:1f:29:1e atapci4: port 0x5000-0x503f,0x4800-0x480f,0x4400-0x447f mem 0xec000000-0xec000fff,0xeb800000-0xeb81ffff irq 18 at device 19.0 on pci0 ata8: on atapci4 ata8: SATA connect ready time=0ms ata9: on atapci4 ata9: SATA connect ready time=0ms ata10: on atapci4 ata10: SATA connect ready time=0ms ata11: on atapci4 ata11: SATA connect ready time=0ms sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcc7ff on isa0 ppc0: parallel port not found. 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 Timecounter "TSC" frequency 1833132661 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited ad0: 26059MB at ata0-master UDMA66 ad4: 190782MB at ata2-master UDMA100 GEOM_STRIPE: Device stripe_1200GB created (id=94156052). GEOM_STRIPE: Disk ad4 attached to stripe_1200GB. ad5: 190782MB at ata2-slave UDMA100 GEOM_STRIPE: Disk ad5 attached to stripe_1200GB. ad6: 190782MB at ata3-master UDMA100 GEOM_STRIPE: Disk ad6 attached to stripe_1200GB. ad7: 190782MB at ata3-slave UDMA100 GEOM_STRIPE: Disk ad7 attached to stripe_1200GB. ad8: 190782MB at ata4-master UDMA100 GEOM_STRIPE: Disk ad8 attached to stripe_1200GB. ad9: 190782MB at ata4-slave UDMA100 GEOM_STRIPE: Disk ad9 attached to stripe_1200GB. GEOM_STRIPE: Device stripe_1200GB activated. ad12: 238475MB at ata6-master SATA150 GEOM_STRIPE: Device stripe_500GB created (id=2719370432). GEOM_STRIPE: Disk ad12 attached to stripe_500GB. ad14: 238475MB at ata7-master SATA150 GEOM_STRIPE: Disk ad14 attached to stripe_500GB. GEOM_STRIPE: Device stripe_500GB activated. ad16: 238475MB at ata8-master SATA150 ad18: 239372MB at ata9-master SATA150 ad20: 239372MB at ata10-master SATA150 ad22: 238475MB at ata11-master SATA150 ATA PseudoRAID loaded Trying to mount root from ufs:/dev/ad0s1a