自己测试的最多到25MB/s,但是项目要求要到60M/s,6455的ndk 能到50M/s吗?
Shine:
c6455是千兆以太网,应该能达到60M。请看下面的benchmark。http://processors.wiki.ti.com/index.php/NDK_benchmarks
dajia li:
回复 Shine:
跟PHY芯片有关吗?我用的ET1011C,测试的时候,就调用 ndk的send函数,上位机接收数,算出来的速度就到25MB/s,请问你觉着修改那些方面可以提高速度呢?
Shine:
回复 dajia li:
是否有参考过上面链接里的这篇文档, cache, buffer size可以提高性能。4.3 Performance Considerationshttp://www.ti.com/lit/an/spraaq5a/spraaq5a.pdf
dajia li:
回复 Shine:
我设置 rc = 81920*10 然后发送的时候
while(1)
{
bytes= send(s ,(char*) buff_ddr ,81920*5 ,0)
}
我循环向上位机发送,用360网速测试,测出来的最大也就30MB/s
join join:
回复 Shine:
实测达不到啊,仅能达到25MB
Tony Tang:
回复 join join:
This document describes a procedure to benchmark the Network Developer’s Kit (NDK) using Code Composer Studio™ software and some additional command-line tools. Source code is provided in a companion file to allow the results to be reproduced by the customer, as well as to adapt the benchmark procedure to a custom hardware and platform.
user4548689:
你好!请问下你们最后测试最终能达到多少M/s?