TI中文支持网
TI专业的中文技术问题搜集分享网站

C6678千兆以太网通信速率慢的问题

使用的BCM5464 PHY芯片,初始化DDR3,运行来自K1_STK_v1.1的,给予我们电路板做了修改的GE工程,输出如下:

JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1.
DEVSTAT= 0x0000d40d. little endian, SPI boot, PLL configuration implies the input clock for core is bypassed.
SmartReflex VID= 63, required core voltage= 1.104V.
Die ID= 0x0b00f009, 0x0404251b, 0x00000000, 0x59ce0021
Device speed grade = 1250MHz.
Enable Exception handling…
Initialize DSP main clock = 312.50MHz/1×4 = 1250MHz
Initialize PASS PLL clock = 100.00MHz/2×21 = 1050.000MHz
Initialize DDR speed = 312.50MHzx/5×26 = 1625.000MTS
GE auto negotiation (master) two DSPs test (DSP0 -> DSP1)…
link PHY1 is NOT up
Transferred     3000 bytes with 10001310 cycles, throughput=    2Mbps.
number of descriptors in host queue DDR_HOST_SIZE0_FDQ (2058) changed from 512 to 518
0x82340041->0x82340061->0x82340081->0x823400a1->0x823400c1->0x823400e1->0x82340101->0x82340121->0x82340141->0x82340161->…
STATSA.RxGoodFrames     =8
STATSA.RxOctets         =12144
STATSA.Frame1024tUp     =8
STATSA.NetOctets        =12144
STATSB.TxGoodFrames     =8
STATSB.TxOctets         =12144
STATSB.Frame1024tUp     =8
STATSB.NetOctets        =12144
SGMII0 Link Partner Advertised Ability 10Mbps Half Duplex
SGMII1 Link Partner Advertised Ability 10Mbps Half Duplex
MDIO ALIVE flag: 0x0000000c
MDIO LINK  flag: 0x0000000c
GE test complete.

然后运行helloWorld.pjt,因为GE已经配置网络,所以在helloWorld.pjt的EVM_init()函数里面,将sFlags.phy从1设置为0.

在PC上运行一个发数据程序,电路板直连PC,可以发送数据,但是速度很慢,发送100MB数据需要15秒左右。

请问为什么速度这么慢?

在GE.pjt里面,是采用auto negotiation自协商模式,如果强制为千兆,反而配置过不去。为什么?

谢谢大家!

Shine:

把transmit payload size加大试试,把buffer放到LL2。请参考下面的帖子。https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/207175/743100#743100

Li Feng1:

回复 Shine:

谢谢!我试试。

user5640622:

你好:请问你用的发数软件是什么?我也在测试网络速度,现在用的发包软件最大发送速率才15Mbps。

Li Feng1:

回复 user5640622:

自己写的网络通信测试程序

user5640622:

回复 Li Feng1:

最大发数速度能达到多少呢?可否提供发包程序使用一下

赞(0)
未经允许不得转载:TI中文支持网 » C6678千兆以太网通信速率慢的问题
分享到: 更多 (0)