From owner-freebsd-current@FreeBSD.ORG Wed Sep 2 12:25:32 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 5D6CD106566B for ; Wed, 2 Sep 2009 12:25:32 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 19B568FC14 for ; Wed, 2 Sep 2009 12:25:31 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n82CM8Q3020822; Wed, 2 Sep 2009 08:22:08 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200909021222.n82CM8Q3020822@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 02 Sep 2009 08:25:40 -0400 To: "Derek (freebsd lists)" <482254ac@razorfever.net>, freebsd-current@freebsd.org From: Mike Tancsa In-Reply-To: <4A9E5F34.2090700@razorfever.net> References: <4A9E5F34.2090700@razorfever.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: 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:25:32 -0000 At 08:04 AM 9/2/2009, Derek (freebsd lists) wrote: >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. Dont know about raw, but I found some cases where it was faster, especially with random I/O. Havent tried with the recent commits however ---Mike >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 > > > > > > >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) > > >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) > > >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 > > > >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 > > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike