From owner-freebsd-current@FreeBSD.ORG Wed Sep 2 12:03:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EEFC1065679 for ; Wed, 2 Sep 2009 12:03:41 +0000 (UTC) (envelope-from 482254ac@razorfever.net) Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5F38FC12 for ; Wed, 2 Sep 2009 12:03:40 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQIAJf7nUpMCrCL/2dsb2JhbACBUxqKNsNiikeCNYFmBYFXhhk X-IronPort-AV: E=Sophos;i="4.44,318,1249272000"; d="txt'?scan'208";a="44956343" Received: from 76-10-176-139.dsl.teksavvy.com (HELO server.razorfever.net) ([76.10.176.139]) by ironport2-out.teksavvy.com with ESMTP; 02 Sep 2009 08:02:28 -0400 Received: from [192.168.0.197] ([192.168.0.197]) by server.razorfever.net (8.13.8/8.13.8) with ESMTP id n82C3M38016709 for ; Wed, 2 Sep 2009 08:03:22 -0400 (EDT) (envelope-from 482254ac@razorfever.net) Message-ID: <4A9E5F34.2090700@razorfever.net> Date: Wed, 02 Sep 2009 08:04:04 -0400 From: "Derek (freebsd lists)" <482254ac@razorfever.net> User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------020900090803040701060404" X-Virus-Scanned: clamav-milter 0.95.2 at server.razorfever.net X-Virus-Status: Clean Subject: siis/atacam/ata/gmirror 8.0-BETA3 disk performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 02 Sep 2009 12:03:41 -0000 This is a multi-part message in MIME format. --------------020900090803040701060404 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I've been testing the new siis driver, and I have found no appreciable performance change, using dd as a measure of "raw" performance. I get about 40MB/s read, and 30MB/s write. See attached bench-*.txt files. Am I expecting too much, or do I have something else going on here? (e.g. dd being a terrible benchmark of disk i/o) Is anyone else seeing better/worse/same numbers? Also I find it surprising that my gmirror read is only 40MB/s, and not 60-80MB/s, any thoughts on this? Thanks! - Derek --------------020900090803040701060404 Content-Type: text/plain; name="bench-nosiis.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bench-nosiis.txt" dd if=/dev/zero of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 0.437049 secs (307099849 bytes/sec) dd if=/dev/zero of=/dev/ad4p2 bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 4.410338 secs (30432527 bytes/sec) dd if=/dev/zero of=/dev/ad6p2 bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 4.401181 secs (30495844 bytes/sec) dd if=/dev/ad6p2 of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 3.234643 secs (41493831 bytes/sec) dd if=/dev/ad4p2 of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 3.689668 secs (41385739 bytes/sec) gmirror label gm0p2 ad4p2 ad6p2 dd if=/dev/mirror/gm0p2 of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 3.331307 secs (40289811 bytes/sec) dd if=/dev/zero of=/dev/mirror/gm0p2 bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 8.167607 secs (16432932 bytes/sec) --------------020900090803040701060404 Content-Type: text/plain; name="bench-siis.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bench-siis.txt" dd if=/dev/zero of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 0.434279 secs (309058782 bytes/sec) dd if=/dev/zero of=/dev/ada0p2 bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 4.604623 secs (29148472 bytes/sec) dd if=/dev/zero of=/dev/ada1p2 bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 4.402896 secs (30483966 bytes/sec) dd if=/dev/ada1p2 of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 3.203470 secs (41897607 bytes/sec) dd if=/dev/ada0p2 of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 3.211751 secs (41789581 bytes/sec) gmirror label gm0p2 ada0p2 ada1p2 dd if=/dev/mirror/gm0p2 of=/dev/null bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 3.349089 secs (40075890 bytes/sec) dd if=/dev/zero of=/dev/mirror/gm0p2 bs=1M count=128 128+0 records in 128+0 records out 134217728 bytes transferred in 8.121042 secs (16527156 bytes/sec) --------------020900090803040701060404 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-BETA3 #1: Tue Sep 1 15:24:09 EDT 2009 root@porter.razorfever.net:/usr/obj/usr/src/sys/ZFS-PROD Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1400MHz (1399.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 2147483648 (2048 MB) avail memory = 2083577856 (1987 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0 pci0: on pcib0 agp0: on hostb0 agp0: aperture size is 228M pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x9000-0x90ff mem 0xfa000000-0xfaffffff,0xf9000000-0xf9000fff at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa000-0xa00f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xa400-0xa41f irq 5 at device 7.2 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xa800-0xa81f irq 5 at device 7.3 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 pci0: at device 7.4 (no driver attached) siis0: port 0xb800-0xb80f mem 0xfc448000-0xfc44807f,0xfc440000-0xfc447fff irq 17 at device 8.0 on pci0 siis0: [ITHREAD] siisch0: at channel 0 on siis0 siisch0: [ITHREAD] siisch1: at channel 1 on siis0 siisch1: [ITHREAD] siisch2: at channel 2 on siis0 siisch2: [ITHREAD] siisch3: at channel 3 on siis0 siisch3: [ITHREAD] fxp0: port 0xbc00-0xbc3f mem 0xfc44a000-0xfc44afff,0xfc400000-0xfc41ffff irq 19 at device 10.0 on pci0 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:b3:31:f2:ec fxp0: [ITHREAD] fxp1: port 0xc000-0xc03f mem 0xfc449000-0xfc449fff,0xfc420000-0xfc43ffff irq 16 at device 11.0 on pci0 miibus1: on fxp1 inphy1: PHY 1 on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:02:b3:22:a9:ca fxp1: [ITHREAD] uhci2: port 0xc400-0xc41f irq 17 at device 12.0 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0xc800-0xc81f irq 18 at device 12.1 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xfc44b000-0xfc44b0ff irq 19 at device 12.2 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 fwohci0: port 0xcc00-0xcc7f mem 0xfc44c000-0xfc44c7ff irq 17 at device 12.3 on pci0 fwohci0: [ITHREAD] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:06:00:00:00:e3:32 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S100, max_rec 2 bytes. fwohci0: max_rec 2 -> 2048 firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x157c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:06:00:e3:32 fwe0: Ethernet address: 02:11:06:00:e3:32 fwip0: on firewire0 fwip0: Firewire address: 00:11:06:00:00:00:e3:32 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode atrtc0: port 0x70-0x73 irq 8 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppc0: [ITHREAD] ppbus0: on ppc0 plip0: on ppbus0 plip0: [ITHREAD] lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 cpu0: on acpi0 cpu1: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff,0xcd000-0xce7ff,0xcf000-0xd07ff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS NOTICE: prefetch is disabled by default on i386 - add enable to tunable to change. ZFS filesystem version 13 ZFS storage pool version 13 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 Waiting 5 seconds for SCSI devices to settle usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub4: 4 ports with 4 removable, self powered (aprobe0:siisch0:0:15:0): SIGNATURE: 0000 (aprobe0:siisch0:0:0:0): SIGNATURE: 0000 (aprobe1:siisch1:0:15:0): SIGNATURE: 0000 (aprobe0:siisch1:0:0:0): SIGNATURE: 0000 ada0 at siisch0 bus 0 target 0 lun 0 ada0: ATA/ATAPI-8 SATA 2.x device ada0: 300.000MB/s transfers ada0: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C) ada0: Native Command Queueing enabled ada1 at siisch1 bus 0 target 0 lun 0 ada1: ATA/ATAPI-8 SATA 2.x device ada1: 300.000MB/s transfers ada1: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C) ada1: Native Command Queueing enabled SMP: AP CPU #1 Launched! GEOM_MIRROR: Device mirror/gm0p2 launched (2/2). Trying to mount root from zfs:tank --------------020900090803040701060404 Content-Type: text/plain; name="pciconf.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pciconf.txt" ostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x06911106 rev=0xc4 hdr=0x00 pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x85981106 rev=0x00 hdr=0x01 isab0@pci0:0:7:0: class=0x060100 card=0x000010f1 chip=0x06861106 rev=0x40 hdr=0x00 atapci0@pci0:0:7:1: class=0x01018a card=0x05711106 chip=0x05711106 rev=0x06 hdr=0x00 uhci0@pci0:0:7:2: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1a hdr=0x00 uhci1@pci0:0:7:3: class=0x0c0300 card=0x12340925 chip=0x30381106 rev=0x1a hdr=0x00 none0@pci0:0:7:4: class=0x068000 card=0x30571106 chip=0x30571106 rev=0x40 hdr=0x00 siis0@pci0:0:8:0: class=0x018000 card=0x31241095 chip=0x31241095 rev=0x02 hdr=0x00 fxp0@pci0:0:10:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00 fxp1@pci0:0:11:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00 uhci2@pci0:0:12:0: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x61 hdr=0x00 uhci3@pci0:0:12:1: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x61 hdr=0x00 ehci0@pci0:0:12:2: class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x63 hdr=0x00 fwohci0@pci0:0:12:3: class=0x0c0010 card=0x30441106 chip=0x30441106 rev=0x46 hdr=0x00 vgapci0@pci0:1:0:0: class=0x030000 card=0x00840000 chip=0x47441002 rev=0x5c hdr=0x00 --------------020900090803040701060404--