From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 18:11:59 2004 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 87E8216A4CE; Mon, 30 Aug 2004 18:11:59 +0000 (GMT) Received: from av4-2-sn3.vrr.skanova.net (av4-2-sn3.vrr.skanova.net [81.228.9.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB0EB43D58; Mon, 30 Aug 2004 18:11:58 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av4-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 061BF37E9E; Mon, 30 Aug 2004 20:11:58 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av4-2-sn3.vrr.skanova.net (Postfix) with ESMTP id E8DC237E4B; Mon, 30 Aug 2004 20:11:57 +0200 (CEST) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id A2BB438004; Mon, 30 Aug 2004 20:11:57 +0200 (CEST) From: "Daniel Eriksson" To: "'Daniel Eriksson'" , "'Lukas Ertl'" , Date: Mon, 30 Aug 2004 20:11:58 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0017_01C48ECD.9AA793D0" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: Thread-Index: AcSLxU/8rJMyEu00TqmQagezZGSQFQC0H+oQAAJUN0AABcgMAA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: RE: PLEASE TEST: IPI deadlock avoidance patch 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: Mon, 30 Aug 2004 18:11:59 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C48ECD.9AA793D0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I wrote: > Hmm, after running the test a second time, I actually got a > crc error even when using a UP kernel. The test set is 9GB+ > in ~270 files. With SMP I seem to get around 10% corrupt > files after simply making a duplicate of the folder. With > UP I have gotten 1 corrupt file in 2 tries (~550 files > copied). > > I'll report back here after I have tested "classic" vinum. Ok, I've run a few more tests now, and the results are not looking very good for gvinum in RAID-5 mode: Testbed: -------- * FreeBSD 6-CURRENT, 2004.08.29.21.00.00 * ASUS P2B-DS mobo, 2 x 700MHz P3, 1GB ECC RAM * OS disc: Some old 9GB ATA connected to on-board Intel BX chipset * Data discs: 4 x 120GB Maxtor SATA discs connected to a HighPoint RocketRAID 1540 card (HPT374 chipset) * RAID-5 array created using "vinum raid5" command (so disklabel was edited) Testset: -------- * 9.1GB data in 273 files (mostly zip-files, rar-files and exe-files) * crc checksums created and checked with /usr/ports/security/cksfv * cd /space/raid5/ && cp -Rp testdir testdir.copy Results: -------- gvinum / SMP: 117 corrupt files in 4 tests (~10.7% error) gvinum / UP : 3 corrupt files in 5 tests (~0.2% error) vinum / SMP : no corrupt files in 3 tests Observation: vinum seems to offer more than 3x the read performance compared to gvinum (measured by timing the crc-checksumming). Write performance seems about equal. /Daniel Eriksson ------=_NextPart_000_0017_01C48ECD.9AA793D0 Content-Type: application/octet-stream; name="dmesg.boot" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.boot" Copyright (c) 1992-2004 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 #2: Mon Aug 30 17:14:22 CEST 2004 daniel@xxx.xxx.xxx:/usr/obj/usr/src/sys/SENTINEL WARNING: MPSAFE network stack disabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (701.59-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x681 Stepping =3D 1 = Features=3D0x383fbff real memory =3D 1073729536 (1023 MB) avail memory =3D 1041174528 (992 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem = 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port = 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xb400-0xb41f irq = 19 at device 4.2 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 pci0: at device 4.3 (no driver attached) ahc0: port 0xb000-0xb0ff mem = 0xe1000000-0xe1000fff irq 19 at device 6.0 on pci0 ahc0: [GIANT-LOCKED] aic7890/91: Ultra2 Wide Channel A, SCSI Id=3D15, 32/253 SCBs atapci1: port = 0x9400-0x94ff,0x9800-0x9803,0xa000-0xa007,0xa400-0xa403,0xa800-0xa807 = irq 19 at device 9.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 atapci2: port = 0x7800-0x78ff,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 = irq 19 at device 9.1 on pci0 ata4: channel #0 on atapci2 ata5: channel #1 on atapci2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x7400-0x747f mem = 0xe0800000-0xe080007f irq 18 at device 10.0 on pci0 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:02:73:f4:f5 xl0: [GIANT-LOCKED] xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0x7000-0x707f mem = 0xe0000000-0xe000007f irq 17 at device 11.0 on pci0 miibus1: on xl1 xlphy1: <3c905C 10/100 internal PHY> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl1: Ethernet address: 00:50:da:8d:d2:af xl1: [GIANT-LOCKED] fxp0: port 0x6800-0x683f mem = 0xdf000000-0xdf0fffff,0xdf800000-0xdf800fff irq 16 at device 12.0 on = pci0 miibus2: on fxp0 inphy0: on miibus2 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:09:6f:51 fxp0: [GIANT-LOCKED] speaker0 port 0x61 on acpi0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on = acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 pmtimer0 on isa0 orm0: at iomem = 0xd4000-0xd57ff,0xd0000-0xd07ff,0xcc000-0xcc7ff,0xc0000-0xc7fff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=3D0x200> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounters tick every 1.000 msec ipfw2 initialized, divert enabled, rule-based forwarding disabled, = default to accept, logging unlimited ad0: 8693MB [17662/16/63] at ata0-master = UDMA33 ATAPI_RESET time =3D 50us acd0: CDROM at ata1-master PIO4 ad4: 117246MB [238216/16/63] at ata2-master = SATA150 ad6: 117246MB [238216/16/63] at ata3-master = SATA150 ad8: 117246MB [238216/16/63] at ata4-master = SATA150 ad10: 117246MB [238216/16/63] at ata5-master = SATA150 Waiting 2 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad0s1a ------=_NextPart_000_0017_01C48ECD.9AA793D0--