<<< Previous topic - Next topic >>> |
|
Author |
Message |
uet
Joined: 02 Jan 2008 Posts: 5
|
Posted: 05.03.2008, 21:50 Post subject: USB Transferrate |
|
|
Beim USB-Transfer schaffe ich gerade mal eine Transferrate von ca. 2Mbit/s Fullspeed sollten jedoch (bei USB 1.1) 12 MBit/s sein. Anwendung: FAT-formatierte Festplatte am USB-port.
Kann man da noch irgendwie Einfluss auf die Transferrate nehmen, oder ist dies das Limit?
Viele Grüße,
UET |
|
Back to top |
|
 |
kdw

Joined: 05 May 2006 Posts: 1519
|
Posted: 12.03.2008, 18:12 Post subject: USB-Transferrate … |
|
|
Hallo UET.
Ich würde zunächst einmal herausfinden, wo der Flaschenhals liegt. Die 12 Mbps sind die Geschwindigkeit, mit der die einzelnen Bits hin und her flitzen. Daraus kann man nicht direkt den Datendurchsatz ableiten.
Wenn man zum Beispiel eine Datei von der Festplatte auf die Flash-Disk des DNP/9200 kopiert (Flaschenhals JFFS), ergibt sich ein anderer Datendurchsatz als bei der RAM-Dsk als Ziel usw.
Gruß
KDW |
|
Back to top |
|
 |
kschwi
Joined: 10 Jul 2006 Posts: 3 Location: Seelze
|
Posted: 11.06.2008, 07:24 Post subject: Re: USB Transferrate |
|
|
uet wrote: | Beim USB-Transfer schaffe ich gerade mal eine Transferrate von ca. 2Mbit/s Fullspeed sollten jedoch (bei USB 1.1) 12 MBit/s sein. Anwendung: FAT-formatierte Festplatte am USB-port.
Kann man da noch irgendwie Einfluss auf die Transferrate nehmen, oder ist dies das Limit?
Viele Grüße,
UET |
Sorry für die Verspätung, aberich hab da mal was. In der Mailingliste zur libusb-win32 wurde eine vergleichbare Frage gestellt und wie folgt beantwortet:
Quote: | You won't be able to transfer more than 1Mbytes/s to or from a full-speed device
(using bulk transfer). Here's why:
* 12Mb/s is the raw signaling rate, the rate bits are transferred on the wire,
not the rate your data is transmitted at. You have to subtract protocol overhead
such as CRC, bit stuffing, etc. from this rate
* Windows usually reserves 10% of the available bandwidth for system use
* other devices (interrupt or isochronous) that consume bandwidth might be connected
to the same host controller (mice, keyboards)
To maximize your throughput, you should
* use large transfer buffers, 16kbytes or more
* make sure that the buffer size is a multiple of the endpoint's buffers size
* optimize your firmware (firmware is usually the bottleneck)
|
Ciao
Knut |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|