This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ethernet low data speed transmitting.

I have 2 DSP 6678 connected via Ethernet.

On both of them launched net stack with TCP/IP protocol.

Code for DSP0 Core0:

for (i = 0; i < 65536; i++)

{

     receiv(buf, 2048);

     send(buf, 2048);

}

Code for DSP1 Core0:

for (i = 0; i < 65536; i++)

{

     send(buf, 2048);

     receiv(buf, 2048);

}

Transmitting 65536*2048 bytes end other ~ 145 seconds.

Speed transmitting ~ 7,06Mbit/sec.

If I'm transmitting 65536*8192 bytes, when transmitting ends other ~ 334 seconds.

Speed Transmitting ~ 12,26 MBit/sec.

Ethernet speed = 1 Gbit.

Before load program I'm do System Reset => Scripts => C6678 Init Functions => Global Default Setup.

Why speed transmitting so low?

What i'm doing wrong?

P.S. Sorry for my bad English.