TI E2E Community
Digital Signal Processors (DSP)
C6000 Multicore DSP
Keystone Multicore Forum (C66, 66A, AM5)
Network socket is terribly slow when receiving data on C66x
I found that the bandwidth of data transfer via socket (from PC to C66x) in our application was really slow, like ~1Mbps.
While I was nailing down the root cause, I found that even the network benchmark in the HUA demo was also terribly slow when receiving the data. The speed of transmitting (C66x to PC) was somewhat reasonable. Receiving was really slow and never completed. I tried HUA demo apps the one on the board (2.00.00.02 Beta 2) and the one that was a part of mcsdk_2_00_05_17, and both showed the same symptom. I saw the same kind of post.
I don't see anything strange in the following information. Where should I look for the cause of the problem?
Is you setup a standalone setup or is in the public network?
If you need more help, please reply back. If this answers the question,
please click Verify Answer , below.
It was on a public network. I tried a peer-to-peer connection via a crossover Ethernet cable, but the same was true. The benchmark test that transfers data from PC to C66x didn't finish, but the opposite direction showed a moderate speed.
Besides, the original application of ours, which I found a slow socket transfer speed, didn't have a problem with a DM6437EVM board on the same network.
Is there anything else I need to check? Is there any requirement on firewall settings or anything?
Let me try it in my setup and get back to you.
Thank you. I appreciate that.
I tried HUA demo and this is what i got. it seems it is about 159Mbps.
Are you not seeing this?
No. All I got was ".....Failed to receive...please re run the test".
Can you upgrade to new MCSDK? I can consistently get the throughput i mentioned.
I've tested binaries coming with mcsdk 2.00.07.19. Now I'm getting 93Mb/sec, which is a good news. But when I tried to re-run the same application, I got the same error. It turned out that I needed to power-cycle the eval board to run the test successfully. System reset from CCS5.1.1 didn't help. Does this happen to you? I'm wondering if this means that the sample application misses some important reset function? This is not a good feature for our automated tests. BTW, FYI, the older version (2.00.05.17) didn't complete the test successfully even right after the power-cycle.
I'm going to rebuild our application with updated libraries and see if there's any improvement in the network speed.
Thanks a lot.
Are you running the GEL file after doing system reset? Try doing system reset --> Run GEL --> re run your application.
I couldn't find Run GEL command on my CCS5.1.1. Could you please be more specific?
BTW, I tried "Scripts"->"EVMC6678L Init Functions"->"Global Default Setup" and it didn't work. I also reloaded GEL file, which also didn't help.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.