TOP
SSV SOFTWARE SYSTEMS REGISTER  REGISTER
Log in to check your private messages  Log in to check your private messages
START FAQ SEARCH MITGLIEDER PROFILE  Log in 
SSV-Forum
USB Transferrate

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
uet



Joined: 02 Jan 2008
Posts: 5

PostPosted: 05.03.2008, 21:50    Post subject: USB Transferrate Reply with quote

Beim USB-Transfer schaffe ich gerade mal eine Transferrate von ca. 2Mbit/s Sad 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
View user's profile Send private message
kdw



Joined: 05 May 2006
Posts: 1519

PostPosted: 12.03.2008, 18:12    Post subject: USB-Transferrate … Reply with quote

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
View user's profile Send private message
kschwi



Joined: 10 Jul 2006
Posts: 3
Location: Seelze

PostPosted: 11.06.2008, 07:24    Post subject: Re: USB Transferrate Reply with quote

uet wrote:
Beim USB-Transfer schaffe ich gerade mal eine Transferrate von ca. 2Mbit/s Sad 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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

SSV SOFTWARE SYSTEMS

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2024 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015