RE: Serious I/O problems (bad performance and live-lock)

From: Daniel Eriksson <daniel_k_eriksson_at_telia.com>
Date: Fri, 22 Apr 2005 18:25:45 +0200
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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536850432 (511 MB)
avail memory = 516022272 (492 MB)
ACPI APIC Table: <ASUS   A7V600-X>
ioapic0: Changing APIC ID to 2
ioapic0 <Version 0.3> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7V600-X> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 0 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 3 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 7 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 5 on acpi0
pci_link7: <ACPI PCI Link LNKH> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge> mem
0xfc000000-0xfdffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci0: <display, VGA> at device 10.0 (no driver attached)
re0: <RealTek 8110S Single-chip Gigabit Ethernet> port 0xd800-0xd8ff mem
0xed800000-0xed8000ff at device 12.0 on pci0
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
re0: Ethernet address: 00:50:fc:f8:c6:81
atapci0: <HighPoint HPT374 (channel 0+1) UDMA133 controller> port
0xd400-0xd407,0xd000-0xd003,0xb800-0xb807,0xb400-0xb403,0xb000-0xb0ff irq 16
at device 13.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <HighPoint HPT374 (channel 2+3) UDMA133 controller> port
0xa800-0xa807,0xa400-0xa403,0xa000-0xa007,0x9800-0x9803,0x9400-0x94ff irq 16
at device 13.1 on pci0
ata4: <ATA channel 0> on atapci1
ata5: <ATA channel 1> on atapci1
atapci2: <VIA 6420 SATA150 controller> port
0x9000-0x9007,0x8800-0x8803,0x8400-0x8407,0x8000-0x8003,0x7800-0x780f,0x7400
-0x74ff at device 15.0 on pci0
ata6: <ATA channel 0> on atapci2
ata6: SATA connect ready time=0ms
ata7: <ATA channel 1> on atapci2
ata7: SATA connect ready time=0ms
atapci3: <VIA 8237 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x7000-0x700f irq 20 at device 15.1 on
pci0
ata0: <ATA channel 0> on atapci3
ata1: <ATA channel 1> on atapci3
uhci0: <VIA 83C572 USB controller> port 0x6800-0x681f at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0x6400-0x641f at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0x6000-0x601f at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0x5800-0x581f at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> 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: <VIA VT6202 USB 2.0 controller> 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: <VIA VT6202 USB 2.0 controller> 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: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x5400-0x54ff mem
0xec800000-0xec8000ff at device 18.0 on pci0
miibus1: <MII bus> on vr0
rlphy0: <RTL8201L 10/100 media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0e:a6:1f:29:1e
atapci4: <Promise PDC20318 SATA150 controller> port
0x5000-0x503f,0x4800-0x480f,0x4400-0x447f mem
0xec000000-0xec000fff,0xeb800000-0xeb81ffff irq 18 at device 19.0 on pci0
ata8: <ATA channel 0> on atapci4
ata8: SATA connect ready time=0ms
ata9: <ATA channel 1> on atapci4
ata9: SATA connect ready time=0ms
ata10: <ATA channel 2> on atapci4
ata10: SATA connect ready time=0ms
ata11: <ATA channel 3> 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: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcc7ff on isa0
ppc0: parallel port not found.
sc0: <System console> 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: <Generic ISA VGA> 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 <Maxtor 92732U8 RA530JN0> at ata0-master UDMA66
ad4: 190782MB <Seagate ST3200822A 3.01> at ata2-master UDMA100
GEOM_STRIPE: Device stripe_1200GB created (id=94156052).
GEOM_STRIPE: Disk ad4 attached to stripe_1200GB.
ad5: 190782MB <Seagate ST3200822A 3.01> at ata2-slave UDMA100
GEOM_STRIPE: Disk ad5 attached to stripe_1200GB.
ad6: 190782MB <Seagate ST3200822A 3.01> at ata3-master UDMA100
GEOM_STRIPE: Disk ad6 attached to stripe_1200GB.
ad7: 190782MB <Seagate ST3200822A 3.01> at ata3-slave UDMA100
GEOM_STRIPE: Disk ad7 attached to stripe_1200GB.
ad8: 190782MB <Seagate ST3200822A 3.01> at ata4-master UDMA100
GEOM_STRIPE: Disk ad8 attached to stripe_1200GB.
ad9: 190782MB <Seagate ST3200822A 3.01> at ata4-slave UDMA100
GEOM_STRIPE: Disk ad9 attached to stripe_1200GB.
GEOM_STRIPE: Device stripe_1200GB activated.
ad12: 238475MB <WDC WD2500JD-00HBB0 08.02D08> at ata6-master SATA150
GEOM_STRIPE: Device stripe_500GB created (id=2719370432).
GEOM_STRIPE: Disk ad12 attached to stripe_500GB.
ad14: 238475MB <WDC WD2500JD-00HBB0 08.02D08> at ata7-master SATA150
GEOM_STRIPE: Disk ad14 attached to stripe_500GB.
GEOM_STRIPE: Device stripe_500GB activated.
ad16: 238475MB <WDC WD2500JD-00FYB0 02.05D02> at ata8-master SATA150
ad18: 239372MB <Maxtor 6B250S0 BANC1980> at ata9-master SATA150
ad20: 239372MB <Maxtor 7Y250M0 YAR51EW0> at ata10-master SATA150
ad22: 238475MB <HDS722525VLSA80 V36OA63A> at ata11-master SATA150
ATA PseudoRAID loaded
Trying to mount root from ufs:/dev/ad0s1a
Received on Fri Apr 22 2005 - 14:25:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC