On Wed, 10 Jun 2009 15:08:17 -0700
Aaron Stellman <z...@x96.org> wrote:
> On Wed, Jun 10, 2009 at 11:21:21PM +0200, Thomas Pfaff wrote:
> > Is anyone else experiencing this?  Is the problem on my side, or does
> > OpenBSD not yet support High Speed USB transfers?
> 
> umass1 at uhub9 port 1 configuration 1 interface 0 "Jabil Circuit
> Seagate External Drive" rev 2.00/3.00 addr 6
> umass1: using SCSI over Bulk-Only
> scsibus3 at umass1: 2 targets, initiator 0
> sd4 at scsibus3 targ 1 lun 0: <Seagate, External Drive, > SCSI0 0/direct
> fixed
> sd4: 152627MB, 512 bytes/sec, 312581808 sec total
> 
> OpenBSD -current:
> # dd if=/dev/zero of=/dev/rsd4c skip=1698814 bs=16k count=7200
> 7200+0 records in
> 7200+0 records out
> 117964800 bytes transferred in 9.004 secs (13100868 bytes/sec)
> 
> Linux:
> # dd if=/dev/zero of=/dev/rsd4c skip=1698814 bs=16k count=7200
> 7200+0 records in
> 7200+0 records out
> 117964800 bytes (118MB) copied, 7.08758 s, 16.6 MB/s

$ dmesg | tail -5
umass0 at uhub0 port 1 configuration 1 interface 0 " USB FLASH DRIVE" rev 
2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <, USB FLASH DRIVE, PMAP> SCSI0 0/direct removable
sd0: 7872MB, 512 bytes/sec, 16121856 sec total

$ usbdevs
addr 1: EHCI root hub, Intel
 addr 2: USB FLASH DRIVE, 
addr 1: EHCI root hub, Intel
addr 1: UHCI root hub, Intel
[...]

OpenBSD-current:
$ sudo dd if=/dev/zero of=/dev/rsd0c bs=16k count=7200
7200+0 records in
7200+0 records out
117964800 bytes transferred in 84.307 secs (1399217 bytes/sec)

$ sudo dd if=/dev/rsd0c of=/dev/null bs=16k count=7200
7200+0 records in
7200+0 records out
117964800 bytes transferred in 7.521 secs (15684033 bytes/sec)

Linux:
$ sudo dd if=/dev/zero of=/dev/sdb bs=16k count=7200
7200+0 records in
7200+0 records out
117964800 bytes (118 MB) copied, 8.54595 s, 13.8 MB/s

$ sudo dd if=/dev/sdb of=/dev/null bs=16k count=7200
7200+0 records in
7200+0 records out
117964800 bytes (118 MB) copied, 4.31093 s, 27.4 MB/s

Apparently something fancy going on with my system ...

Reply via email to