Date: Tue, 20 Aug 2002 12:17:29 +0200 (CEST) From: Tomas Pluskal <plusik@pohoda.cz> To: freebsd-hardware@freebsd.org, <freebsd-stable@freebsd.org> Subject: slow ATAPI ZIP and USB camera Message-ID: <20020522134805.X565-200000@s096-n062.tele2.cz>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1704355845-1029837332=:432 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <20020820121222.D235@s096-n062.tele2.cz> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am using FreeBSD 4.6 RELEASE, and my ATAPI ZIP drive and USB camera are very slow. I have done a simple measuring with FreeBSD and Windows 98 (these are not exact benchmarks, but the difference is so big that it doesn't matter). on FreeBSD: Copying from ZIP drive to HDD: about 100 KB/s Copying from USB camera to HDD: about 50 KB/s Copying from HDD to HDD (big file): about 10 MB/s Copying from CDROM to HDD: about 3 MB/s on Windows 98: Copying from ZIP drive to HDD: about 680 KB/s !! Copying from USB camera to HDD: about 460 KB/s !! Copying from HDD to HDD (big file): about 10 MB/s Copying from CDROM to HDD: about 4 MB/s I have 2 IDE controllers in my computer, DMA is active on both HDD, the CDROMs and ZIP use PIO mode. USB camera is using the umass driver. My "sysctl hw | grep ata" output: hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 0 hw.atamodes: dma,---,pio,pio,pio,---,dma,---, Full dmesg is attached. Any idea why this is so slow ? Thanks Tomas Pluskal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE9Yhc5qlO9Q2aZisoRAvo0AJ0bK4Fas5Y01iyP4phLqLgg3KEyVgCfXoUe BmwSDhPwnwHORYstzDBEj8k= =JmP6 -----END PGP SIGNATURE----- --0-1704355845-1029837332=:432 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=dmesg Content-Transfer-Encoding: BASE64 Content-ID: <20020820115532.C432@s096-n062.tele2.cz> Content-Description: Content-Disposition: ATTACHMENT; FILENAME=dmesg Q29weXJpZ2h0IChjKSAxOTkyLTIwMDIgVGhlIEZyZWVCU0QgUHJvamVjdC4N CkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4OCwg MTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NA0KCVRoZSBSZWdlbnRzIG9m IHRoZSBVbml2ZXJzaXR5IG9mIENhbGlmb3JuaWEuIEFsbCByaWdodHMgcmVz ZXJ2ZWQuDQpGcmVlQlNEIDQuNi1SRUxFQVNFICMzOiBXZWQgSnVuIDI2IDE2 OjIwOjE5IENFU1QgMjAwMg0KICAgIHJvb3RAczA5Ni1uMDYyLnRlbGUyLmN6 Oi91c3Ivc3JjL3N5cy9jb21waWxlL1BMVVNJSw0KVGltZWNvdW50ZXIgImk4 MjU0IiAgZnJlcXVlbmN5IDExOTMxODIgSHoNCkNQVTogQU1EIEF0aGxvbih0 bSkgWFAgMTYwMCsgKDE0MTAuMzUtTUh6IDY4Ni1jbGFzcyBDUFUpDQogIE9y aWdpbiA9ICJBdXRoZW50aWNBTUQiICBJZCA9IDB4NjYyICBTdGVwcGluZyA9 IDINCiAgRmVhdHVyZXM9MHgzODNmOWZmPEZQVSxWTUUsREUsUFNFLFRTQyxN U1IsUEFFLE1DRSxDWDgsU0VQLE1UUlIsUEdFLE1DQSxDTU9WLFBBVCxQU0Uz NixNTVgsRlhTUixTU0U+DQogIEFNRCBGZWF0dXJlcz0weGMwNDgwMDAwPDxi MTk+LEFNSUUsRFNQLDNETm93IT4NCnJlYWwgbWVtb3J5ICA9IDUzNjgwNTM3 NiAoNTI0MjI0SyBieXRlcykNCmF2YWlsIG1lbW9yeSA9IDUxODU3NDA4MCAo NTA2NDIwSyBieXRlcykNClByZWxvYWRlZCBlbGYga2VybmVsICJrZXJuZWwi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DogR2VuZXJpYyBjaGlwc2V0IChOSUJCTEUtb25seSkg aW4gQ09NUEFUSUJMRSBtb2RlDQpscHQwOiA8UHJpbnRlcj4gb24gcHBidXMw DQpscHQwOiBJbnRlcnJ1cHQtZHJpdmVuIHBvcnQNCnBwaTA6IDxQYXJhbGxl bCBJL08+IG9uIHBwYnVzMA0KcGxpcDA6IDxQTElQIG5ldHdvcmsgaW50ZXJm YWNlPiBvbiBwcGJ1czANCklQIHBhY2tldCBmaWx0ZXJpbmcgaW5pdGlhbGl6 ZWQsIGRpdmVydCBkaXNhYmxlZCwgcnVsZS1iYXNlZCBmb3J3YXJkaW5nIGRp c2FibGVkLCBkZWZhdWx0IHRvIGRlbnksIGxvZ2dpbmcgZGlzYWJsZWQNCmFk MDogMzgxNjZNQiA8U1QzNDAwMTZBPiBbNzc1NDUvMTYvNjNdIGF0IGF0YTAt bWFzdGVyIFVETUExMDANCmFkNjogMTQ2NjlNQiA8V0RDIFdEMTUzQkE+IFsy OTgwNS8xNi82M10gYXQgYXRhMy1tYXN0ZXIgVURNQTY2DQphY2QwOiBDRC1S VyA8U09OWSBDRC1SVyBDUlgxNzVBPiBhdCBhdGExLW1hc3RlciBQSU80DQph Y2QxOiBDRFJPTSA8QkNELTQwWEggQ0QtUk9NPiBhdCBhdGExLXNsYXZlIFBJ TzQNCmFmZDA6IDk2TUIgPElPTUVHQSBaSVAgMTAwIEFUQVBJPiBbMzIvNjQv OTZdIGF0IGF0YTItbWFzdGVyIFBJTzANCk1vdW50aW5nIHJvb3QgZnJvbSB1 ZnM6L2Rldi9hZDBzMmENCmxwdDA6IHN3aXRjaGVkIHRvIHBvbGxlZCBleHRl bmRlZCBtb2RlDQpjZDk2NjA6IFJvY2tSaWRnZSBFeHRlbnNpb24NCg== --0-1704355845-1029837332=:432-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020522134805.X565-200000>