AnsweredAssumed Answered

LwIP + VDK: How are 11 MB/s throughput possible

Question asked by Newcomer123 on May 2, 2013
Latest reply on May 13, 2013 by Newcomer123

Hello,

 

I'm using VDSP++ 5.00, Update 10 and ADZS-BF548-EZLite Board. I need to send around 11 MB/s in realtime using Ethernet. Ho is this possible?

 

I used a standard LwIP Application and added the following code:

 

   while(uiCounter < (100 * 1024 * 1024))

   {

      sent_data = sendto(socket_fd, data_buffer, PACKET_SIZE,0,(struct sockaddr*)&ra,sizeof(ra));

      uiCounter += PACKET_SIZE;

      if(sent_data < 0)

      {

         printf("send failed\n");

         close(socket_fd);

      }

      else

      {

//         printf("Send successful.\n");

      }

   }

 

This sends 100 MB to PC. I measure the time and can then calculate the time. Bis i get only around  6 MB/s.

 

What are the best settings for caches/clocks/... to get the maximum performance?

Outcomes