Hello David, thanks.
# date && dd if=/dev/rsd1c bs=64k count=1k of=/dev/null && date Tue Jan 19 23:02:59 CET 2010 1024+0 records in 1024+0 records out 67108864 bytes transferred in 4.130 secs (16249108 bytes/sec) Tue Jan 19 23:03:03 CET 2010 # dd if=/dev/zero bs=64k count=1k of=/dev/rsd1c 1024+0 records in 1024+0 records out 67108864 bytes transferred in 15.053 secs (4458089 bytes/sec) Now I reformatted the drive to 4.4BSD disklabel -E /dev/rsd1c allocate all for partition a newfs /dev/rsd1c And run again my "personal" test... # tail -f /var/log/messages Jan 19 22:11:20 hux /bsd: sd1: 983MB, 512 bytes/sec, 2015231 sec total Jan 19 23:11:02 hux /bsd: sd1 detached Jan 19 23:11:02 hux /bsd: scsibus1 detached Jan 19 23:11:02 hux /bsd: umass0 detached Jan 19 23:11:05 hux /bsd: umass0 at uhub1 Jan 19 23:11:05 hux /bsd: port 2 configuration 1 interface 0 "PRETEC Technology USB Mass Storage Device" rev 2.00/1.00 addr 2 Jan 19 23:11:05 hux /bsd: umass0: using SCSI over Bulk-Only Jan 19 23:11:05 hux /bsd: scsibus1 at umass0: 2 targets, initiator 0 Jan 19 23:11:05 hux /bsd: sd1 at scsibus1 targ 1 lun 0: <-Pretec, 01GB, 2.00> SCSI2 0/direct removable Jan 19 23:11:05 hux /bsd: sd1: 983MB, 512 bytes/sec, 2015231 sec total ^C # mount /dev/sd1a /mnt # date && cp -r TEST/ /mnt && umount /mnt && date Tue Jan 19 23:11:27 CET 2010 Tue Jan 19 23:29:12 CET 2010 So it's reduced a lot, but still it is much slower than... sorry guys, the penguin. Still, from 50 minutes to 18 to copy 256M is a significant improvement I think the penguin takes some 2 minutes for that... but I can live with it Since I only do a _full_ backup once every 5 months or so and I have a script using rsync, I only have to transfer some 18M or so every time I do a normal backup Thanks, T. 2010/1/19 David Vasek <va...@fido.cz>: > On Tue, 19 Jan 2010, T. Tofus von Blisstein wrote: > >> Hello, >> >> this is an example. Attached is a 1GB (fat!) usb memory stick. It took >> 40 minutes to copy 285M. >> >> This one was >> >> Jan 19 21:18:04 hux /bsd: umass0: using SCSI over Bulk-Only >> Jan 19 21:18:04 hux /bsd: scsibus1 at umass0: 2 targets, initiator 0 >> Jan 19 21:18:04 hux /bsd: sd1 at scsibus1 targ 1 lun 0: <-Pretec, >> 01GB, 2.00> SCSI2 0/direct removable >> Jan 19 21:18:04 hux /bsd: sd1: 983MB, 512 bytes/sec, 2015231 sec total >> >> I will repeat the test with all other ports now. > > There shouldn't be any difference among individual USB ports. > > First, try this: > > # dd if=/dev/rsd1c bs=64k count=1k of=/dev/null > > (or just hit ^C if it takes too long) and see what the reading speed of the > _device_ is. If you don't have any data on the device and if you are willing > to recreate the MBR and filesystem there, you can also test the writing > speed: > > # dd if=/dev/zero bs=64k count=1k of=/dev/rsd1c > > Otherewise you are also measuring the filesystem performance and such. For > some reason (which is unknown to me), "foreign" filesystems, such as ext2fs > and msdos, are quite slow on OpenBSD, both for reading and for writing. The > CPU is not the bottleneck in operations on these filesystems. > > Regards, > David > -- Pau