Re: siis/atacam/ata/gmirror 8.0-BETA3 disk performance

From: Mike Tancsa <mike_at_sentex.net>
Date: Wed, 02 Sep 2009 08:25:40 -0400
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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>real memory  = 2147483648 (2048 MB)
>avail memory = 2083577856 (1987 MB)
>ACPI APIC Table: <VIA694 AWRDACPI>
>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 <Version 1.1> irqs 0-23 on motherboard
>kbd1 at kbdmux0
>acpi0: <VIA694 AWRDACPI> 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: <Power Button> on acpi0
>pcib0: <ACPI Host-PCI bridge> port 
>0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0
>pci0: <ACPI PCI bus> on pcib0
>agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> on hostb0
>agp0: aperture size is 228M
>pcib1: <PCI-PCI bridge> at device 1.0 on pci0
>pci1: <PCI bus> on pcib1
>vgapci0: <VGA-compatible display> port 0x9000-0x90ff mem 
>0xfa000000-0xfaffffff,0xf9000000-0xf9000fff at device 0.0 on pci1
>isab0: <PCI-ISA bridge> at device 7.0 on pci0
>isa0: <ISA bus> on isab0
>atapci0: <VIA 82C686B UDMA100 controller> port 
>0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa000-0xa00f at device 7.1 on pci0
>ata0: <ATA channel 0> on atapci0
>ata0: [ITHREAD]
>ata1: <ATA channel 1> on atapci0
>ata1: [ITHREAD]
>uhci0: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 5 at 
>device 7.2 on pci0
>uhci0: [ITHREAD]
>usbus0: <VIA 83C572 USB controller> on uhci0
>uhci1: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 5 at 
>device 7.3 on pci0
>uhci1: [ITHREAD]
>usbus1: <VIA 83C572 USB controller> on uhci1
>pci0: <bridge> at device 7.4 (no driver attached)
>siis0: <SiI3124 SATA2 controller> port 0xb800-0xb80f mem 
>0xfc448000-0xfc44807f,0xfc440000-0xfc447fff irq 17 at device 8.0 on pci0
>siis0: [ITHREAD]
>siisch0: <SIIS channel> at channel 0 on siis0
>siisch0: [ITHREAD]
>siisch1: <SIIS channel> at channel 1 on siis0
>siisch1: [ITHREAD]
>siisch2: <SIIS channel> at channel 2 on siis0
>siisch2: [ITHREAD]
>siisch3: <SIIS channel> at channel 3 on siis0
>siisch3: [ITHREAD]
>fxp0: <Intel 82550 Pro/100 Ethernet> port 0xbc00-0xbc3f mem 
>0xfc44a000-0xfc44afff,0xfc400000-0xfc41ffff irq 19 at device 10.0 on pci0
>miibus0: <MII bus> on fxp0
>inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
>inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>fxp0: Ethernet address: 00:02:b3:31:f2:ec
>fxp0: [ITHREAD]
>fxp1: <Intel 82550 Pro/100 Ethernet> port 0xc000-0xc03f mem 
>0xfc449000-0xfc449fff,0xfc420000-0xfc43ffff irq 16 at device 11.0 on pci0
>miibus1: <MII bus> on fxp1
>inphy1: <i82555 10/100 media interface> PHY 1 on miibus1
>inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>fxp1: Ethernet address: 00:02:b3:22:a9:ca
>fxp1: [ITHREAD]
>uhci2: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 17 at 
>device 12.0 on pci0
>uhci2: [ITHREAD]
>usbus2: <VIA 83C572 USB controller> on uhci2
>uhci3: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 18 at 
>device 12.1 on pci0
>uhci3: [ITHREAD]
>usbus3: <VIA 83C572 USB controller> on uhci3
>ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfc44b000-0xfc44b0ff irq 
>19 at device 12.2 on pci0
>ehci0: [ITHREAD]
>usbus4: EHCI version 1.0
>usbus4: <VIA VT6202 USB 2.0 controller> on ehci0
>fwohci0: <VIA Fire II (VT6306)> 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: <IEEE1394(FireWire) bus> on fwohci0
>dcons_crom0: <dcons configuration ROM> on firewire0
>dcons_crom0: bus_addr 0x157c000
>fwe0: <Ethernet over FireWire> on firewire0
>if_fwe0: Fake Ethernet address: 02:11:06:00:e3:32
>fwe0: Ethernet address: 02:11:06:00:e3:32
>fwip0: <IP over FireWire> on firewire0
>fwip0: Firewire address: 00:11:06:00:00:00:e3:32 _at_ 0xfffe00000000, 
>S400, maxrec 2048
>sbp0: <SBP-2/SCSI over FireWire> 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: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
>fdc0: <floppy drive controller> 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: <Parallel port> port 0x378-0x37f irq 7 on acpi0
>ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
>ppc0: [ITHREAD]
>ppbus0: <Parallel port bus> on ppc0
>plip0: <PLIP network interface> on ppbus0
>plip0: [ITHREAD]
>lpt0: <Printer> on ppbus0
>lpt0: [ITHREAD]
>lpt0: Interrupt-driven port
>ppi0: <Parallel I/O> on ppbus0
>atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>atkbd0: <AT Keyboard> irq 1 on atkbdc0
>kbd0 at atkbd0
>atkbd0: [GIANT-LOCKED]
>atkbd0: [ITHREAD]
>psm0: <PS/2 Mouse> irq 12 on atkbdc0
>psm0: [GIANT-LOCKED]
>psm0: [ITHREAD]
>psm0: model IntelliMouse Explorer, device ID 4
>cpu0: <ACPI CPU> on acpi0
>cpu1: <ACPI CPU> on acpi0
>pmtimer0 on isa0
>orm0: <ISA Option ROMs> at iomem 
>0xc0000-0xc7fff,0xc8000-0xcc7ff,0xcd000-0xce7ff,0xcf000-0xd07ff 
>pnpid ORM0000 on isa0
>sc0: <System console> at flags 0x100 on isa0
>sc0: VGA <16 virtual consoles, flags=0x300>
>vga0: <Generic ISA VGA> 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: <VIA> at usbus0
>uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>ugen1.1: <VIA> at usbus1
>uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>ugen2.1: <VIA> at usbus2
>uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
>ugen3.1: <VIA> at usbus3
>uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
>ugen4.1: <VIA> at usbus4
>uhub4: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <ST31500341AS CC1H> 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: <ST31500341AS CC1H> 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_at_pci0:0:0:0:       class=0x060000 card=0x00000000 
>chip=0x06911106 rev=0xc4 hdr=0x00
>pcib1_at_pci0:0:1:0:       class=0x060400 card=0x00000000 
>chip=0x85981106 rev=0x00 hdr=0x01
>isab0_at_pci0:0:7:0:       class=0x060100 card=0x000010f1 
>chip=0x06861106 rev=0x40 hdr=0x00
>atapci0_at_pci0:0:7:1:     class=0x01018a card=0x05711106 
>chip=0x05711106 rev=0x06 hdr=0x00
>uhci0_at_pci0:0:7:2:       class=0x0c0300 card=0x12340925 
>chip=0x30381106 rev=0x1a hdr=0x00
>uhci1_at_pci0:0:7:3:       class=0x0c0300 card=0x12340925 
>chip=0x30381106 rev=0x1a hdr=0x00
>none0_at_pci0:0:7:4:       class=0x068000 card=0x30571106 
>chip=0x30571106 rev=0x40 hdr=0x00
>siis0_at_pci0:0:8:0:       class=0x018000 card=0x31241095 
>chip=0x31241095 rev=0x02 hdr=0x00
>fxp0_at_pci0:0:10:0:       class=0x020000 card=0x00408086 
>chip=0x12298086 rev=0x0c hdr=0x00
>fxp1_at_pci0:0:11:0:       class=0x020000 card=0x00408086 
>chip=0x12298086 rev=0x0c hdr=0x00
>uhci2_at_pci0:0:12:0:      class=0x0c0300 card=0x30381106 
>chip=0x30381106 rev=0x61 hdr=0x00
>uhci3_at_pci0:0:12:1:      class=0x0c0300 card=0x30381106 
>chip=0x30381106 rev=0x61 hdr=0x00
>ehci0_at_pci0:0:12:2:      class=0x0c0320 card=0x31041106 
>chip=0x31041106 rev=0x63 hdr=0x00
>fwohci0_at_pci0:0:12:3:    class=0x0c0010 card=0x30441106 
>chip=0x30441106 rev=0x46 hdr=0x00
>vgapci0_at_pci0:1:0:0:     class=0x030000 card=0x00840000 
>chip=0x47441002 rev=0x5c hdr=0x00
>
>
>_______________________________________________
>freebsd-current_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike_at_sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike
Received on Wed Sep 02 2009 - 10:25:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC