FAQ: [#6503] Performance down from 12Mbps to 3Mbps in MUSB ethernet gadget driver in SVN trunk(kernel 2.6.37)(2011)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6503] Performance down from 12Mbps to 3Mbps in MUSB ethernet gadget driver in SVN trunk(kernel 2.6.37)

Submitted By: Sonic Zhang

Open Date

2011-03-07 22:52:33    

Priority:

Medium     Assignee:

Bob Liu

Status:

Open     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2010R1

App binary format:

N/A     

Summary: Performance down from 12Mbps to 3Mbps in MUSB ethernet gadget driver in SVN trunk(kernel 2.6.37)

Details:

 

Reported by customer Ciaran Watterson (IRELAND) in help forum.

http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?_forum_action=ForumMessageBrowse&thread_id=44806&action=ForumBrowse

 

 

Follow-ups

 

--- Ciaran Watterson                                         2011-03-10 04:10:15

Just for clarity the summary here is actually incorrect. The MUSB ethernet

gadget driver loads with an error. It work erratically, and very slowly, eg. you

can ping, but with a TCP/IP socket application it eventually hangs (the client

PC has no timeout set on the socket). Working on 2010R1, the USB can do about

5MB/s total throughput of meaningful data (for the application). In the SVN

version the same test fails after a few transfers (about 64k each).

 

--- Bob Liu                                                  2011-03-15 23:19:05

I think patch "usb: musb: disable double buffering when it's broken"

haven't updated in our svn trunk currently caused this problem.

The patch link is:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0662481855c389b75a0a54c32870cc90563d80a9

 

There are two solution:

1. Waitting for kernel update

2. Try attached patch.

 

--- Bob Liu                                                  2011-03-21 06:28:28

After svn trunk has updated to 2.6.38, this bug has been fixed.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

musb_gadget.patch    text/x-patch    1274    Bob Liu

Attachments

Outcomes