On 2006/08/29 00:16, Clint Pachl wrote: > >bsd.mp with battery installed and connected, write back, adaptive read, > >direct I/O: > > > >[EMAIL PROTECTED]:/home/jross $ dd if=/dev/zero of=/backup/test_file bs=64k > >count=102400 > >102400+0 records in > >102400+0 records out > >6710886400 bytes transferred in 132.209 secs (50759331 bytes/sec)
I've got an interesting variation. SATA 300-8X with a BBU, writing 4GB file (I don't have a handy spare partition on that box at the moment to test the raw device)... sthen:26$ time (dd if=/dev/zero of=blah bs=256k count=16384;sync;sync;sync) 16384+0 records in 16384+0 records out 4294967296 bytes transferred in 29.120 secs (147488939 bytes/sec) 0m29.83s real 0m0.02s user 0m9.36s system nice and quick (well, not quite the 230MB/s dlg@ reported in the undeadly.org article about Areca but I'm pretty happy with it) - then reading it back... sthen:27$ time (dd if=blah of=/dev/null bs=256k) 16384+0 records in 16384+0 records out 4294967296 bytes transferred in 85.274 secs (50366361 bytes/sec) 1m25.31s real 0m0.02s user 0m4.65s system can anyone offer a clue? (i386, non-MP, dmesg/bioctl below). OpenBSD 4.0-beta (GENERIC) #1090: Fri Aug 25 13:14:24 MDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Opteron(tm) Processor 146 ("AuthenticAMD" 686-class, 1024KB L2 cache) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: Cool`n'Quiet K8 1996 Mhz: speeds: 2000 1800 1000 Mhz real mem = 1073246208 (1048092K) avail mem = 917258240 (895760K) using 4256 buffers containing 107532288 bytes (105012K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 02/21/06, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.3 @ 0xf8dc0 (60 entries) bios0: Supermicro H8SSL pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4f50/160 (8 entries) pcibios0: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0205 pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1600 0xc9800/0x1600 0xcb000/0x2200 0xcd800/0x1000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) ppb0 at pci0 dev 1 function 0 "ServerWorks HT-1000 PCI" rev 0x00 pci1 at ppb0 bus 1 ppb1 at pci1 dev 13 function 0 "ServerWorks HT-1000 PCIX" rev 0xb2 pci2 at ppb1 bus 2 ppb2 at pci2 dev 1 function 0 "Intel IOP331 PCIX-PCIX" rev 0x07 pci3 at ppb2 bus 3 ami0 at pci3 dev 14 function 0 "Symbios Logic MegaRAID SATA 4x/8x" rev 0x07: irq 9 ami0: LSI 3008, 32b, FW 814B, BIOS vH431, 128MB RAM ami0: 1 channels, 0 FC loops, 1 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed sd0: 1424784MB, 1424784 cyl, 64 head, 32 sec, 512 bytes/sec, 2917957632 sec total scsibus1 at ami0: 16 targets bge0 at pci2 dev 3 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): irq 5, address 00:30:48:58:86:40 brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge1 at pci2 dev 3 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): irq 7, address 00:30:48:58:86:41 brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 pciide0 at pci1 dev 14 function 0 "ServerWorks SATA" rev 0x00: DMA pciide0: using irq 11 for native-PCI interrupt pciide0: port 0: PHY offline pciide0: port 1: PHY offline pciide0: port 2: PHY offline pciide0: port 3: PHY offline pciide1 at pci1 dev 14 function 1 "ServerWorks SATA" rev 0x00 piixpm0 at pci0 dev 2 function 0 "ServerWorks HT-1000" rev 0x00: polling iic0 at piixpm0 admcts0 at iic0 addr 0x2c pciide2 at pci0 dev 2 function 1 "ServerWorks HT-1000 IDE" rev 0x00: DMA atapiscsi0 at pciide2 channel 0 drive 0 scsibus2 at atapiscsi0: 2 targets cd0 at scsibus2 targ 0 lun 0: <PIONEER, DVD-ROM DVD-500M, 1.07> SCSI0 5/cdrom removable cd0(pciide2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 0 pcib0 at pci0 dev 2 function 2 "ServerWorks HT-1000 LPC" rev 0x00 ohci0 at pci0 dev 3 function 0 "ServerWorks HT-1000 USB" rev 0x01: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1 at pci0 dev 3 function 1 "ServerWorks HT-1000 USB" rev 0x01: irq 10, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0 at pci0 dev 3 function 2 "ServerWorks HT-1000 USB" rev 0x01: irq 10 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: ServerWorks EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered vga1 at pci0 dev 5 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) puc0 at pci0 dev 8 function 0 "NetMos 2S1P" rev 0x01: com, com, lpt pccom3 at puc0 port 0 irq 9 0 : ns16550a, 16 byte fifo pccom4 at puc0 port 1 irq 9 0 : ns16550a, 16 byte fifo lpt at puc0 port 2 not configured pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ff45 netmask ffe5 ttymask ffe7 pctr: user-level cycle counter enabled dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 sthen:2$ sudo bioctl ami0 Volume Status Size Device ami0 0 Online 1493994307584 sd0 RAID5 0 Online 249986809856 0:0.0 noencl < ST3250824AS 3.AA> 1 Online 249986809856 0:1.0 noencl < ST3250824AS 3.AA> 2 Online 249986809856 0:2.0 noencl < ST3250824AS 3.AA> 3 Online 249986809856 0:3.0 noencl < ST3250824AS 3.AA> 4 Online 249986809856 0:4.0 noencl < ST3250824AS 3.AA> 5 Online 249986809856 0:5.0 noencl < ST3250824AS 3.AA> 6 Online 249986809856 0:6.0 noencl < ST3250824AS 3.AA> ami0 1 Hot spare 249986809856 0:7.0 noencl < ST3250824AS 3.AA>