Re: Cypress FX2 device driver & loopback speed



You need to transfer larger buffers. Usually, separate single-packet
requests cannot be scheduled into the same microframe. Large requests can
execute many packets per microframe.

"David" <know_devig@xxxxxxxxxxx> wrote in message
news:1142222714.635068.28730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi ,
I am using Cypress FX2 USB controller in out High speed USB device.
I am performing bulk loop-back operation (same as per sample from
Cypress)
I am transfering total data for 1 MB using 512 bytes at a time. That
gives ~1955 packets.
I observed that ~ 150 times ReadFile or WriteFile from application
takes 16 millisecond to complete transfer of 512 bytes, which seems
long to me.

this 16 millisecond response costs my overall speed to go down as low
as 10 Mbits/second or so. I want to achieve atleast 90 to 110 Mbits per

second speed.


Is this because of bulk transfer? Can this be fixed? or I need to
fine tune things somewhere?


Thanks,
David



.



Relevant Pages

  • Re: [fw-wiz] Cisco VPN reconnection every 23 minutes
    ... of UDP packets going between the client and the VPN concentrator. ... crypto map outside_map 61 match address outside_61_cryptomap ... Global IPSec over TCP Statistics ... Encapsulate packet requests: 120048 ...
    (Firewall-Wizards)
  • Re: [fw-wiz] Cisco VPN reconnection every 23 minutes
    ... of UDP packets going between the client and the VPN concentrator. ... Can you forward crypto config from the Cisco VPN concentrator? ... Global IPSec over TCP Statistics ... Encapsulate packet requests: 120048 ...
    (Firewall-Wizards)
  • Re: FreeBSD 7.1 tcp problem (syncache)?
    ... Completed 200 requests ... 31728 data packets ... 9740 connections closed ... segment rexmit in SACK recovery episodes ...
    (freebsd-net)
  • Re: jboss4 on freebsd
    ... requests for sfbufs delayed ... This output is in the same second as I see no buffer space available .. ... I'm experimenting with jboss4 cluster under freebsd 7. ... packets errs bytes packets errs bytes colls ...
    (freebsd-net)
  • Re: Wireless module bcm43xx in 2.6.17 kernel
    ... There is a line in dmesg that says "Cleared all keys" before the card starts sending out sending out dhcp requests, so I'm guessing that is what the problem is. ... I used a packet sniffer to see what was going on and my browser will send http get requests, the site will return a few packets, my browser will continue to send http requests on an intermittent bases because no response is recieved for a while, and then for every occasional packet that is returned in response to the http requests I will also get duplicate packets. ... The only problem I had with it was that every once in a while it would drop a connection if I let the connection sit idle for a while yet my wireless card was reporting a successful connection. ...
    (Debian-User)