ok...

# dd if=/dev/zero of=/tmp/foo bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 38.934 secs (8416183 bytes/sec)
# dd if=/tmp/foo of=/dev/null bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 5.652 secs (57972389 bytes/sec)
# dd if=/dev/wd1d of=/dev/null bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 5.558 secs (58956247 bytes/sec)
# dd if=/dev/zero of=/dev/wd1d bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 115.747 secs (2830991 bytes/sec)

looks better?
not really...

but i want to help to obsd team, so i replaced wd1 with wd0 and
checked it on OpenBSD/i386 too...:

# dd if=/dev/zero of=/tmp/foo bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 39.382 secs (8320364 bytes/sec)
# dd if=/tmp/foo of=/dev/null bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 5.562 secs (588908287 bytes/sec)
# dd if=/dev/wd0d of=/dev/null bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 5.485 secs (59736298 bytes/sec)
# dd if=/dev/zero of=/dev/wd0d bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 142.546 secs (2298765 bytes/sec)

it is extremely slow too, hah?

maybe with rwd instead wd?

# dd if=/dev/zero of=/dev/rwd1d bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 88.805 secs (3689841 bytes/sec)
# dd if=/dev/rwd1d of=/dev/null bs=32k count=10000
10000+0 records in
10000+0 records out
327680000 bytes transferred in 5.482 secs (59766828 bytes/sec)

not better too much...

of course i tested it in single user mode:

# ps aux
USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME COMMAND
root         1  0.0  0.0   332   116 ??  Is     1:27PM    0:00.00 /sbin/init
root     22038  0.0  0.0   520   508 C0  Ss     1:27PM    0:00.01 -sh (sh)
root      2118  0.0  0.0   336   184 C0  R+     1:28PM    0:00.00 ps -aux

i386 dmesg:

OpenBSD 3.8-current (GENERIC) #189: Tue Oct 11 23:16:00 MDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.40GHz ("GenuineIntel" 686-class) 3.40 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID
real mem  = 1073270784 (1048116K)
avail mem = 972763136 (949964K)
using 4278 buffers containing 53768192 bytes (52508K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x2000
pcibios0: PCI BIOS has 6 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x3400! 0xcb400/0x1600 0xee000/0x2000!
ipmi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7221 MCH Host" rev 0x05
ppb0 at pci0 dev 1 function 0 "Intel E7221 PCIE" rev 0x05
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci2 at ppb1 bus 2
bge0 at pci2 dev 1 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): irq 5 address 00:13:21:1d:33:2a
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci2 dev 1 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): irq 11 address 00:13:21:1d:33:29
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci4 at ppb3 bus 4
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 7
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 5
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb4 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci5 at ppb4 bus 5
vendor "Compaq", unknown product 0xb203 (class system subclass
miscellaneous, rev 0x01) at pci5 dev 2 function 0 not configured
vendor "Compaq", unknown product 0xb204 (class system subclass
miscellaneous, rev 0x01) at pci5 dev 2 function 2 not configured
vga1 at pci5 dev 3 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, DV-28E-N, C.6B> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801FR SATA" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <Maxtor 6Y080M0>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
isa0 at ichpcib0
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
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ffe5 netmask ffe5 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

so try to help each other and don't be a smartass...

thx

h.

On 10/13/05, Michael Shalayeff <[EMAIL PROTECTED]> wrote:
> Making, drinking tea and reading an opus magnum from Hunger:
> [Charset ISO-8859-1 unsupported, filtering to ASCII...]
>
> you are comparing horses to asses...
> either run dd to rwd0c or into a file
> in BOTH tests.

Reply via email to