SAM7X and Ethernet Throughput

chaalar wrote on Monday, October 09, 2006:

I’m playing with SAM7X LWIP demo but I am trouble having to increase ethernet throughput. I cannot succeeded to increase 5kB/sec data rate. I tried to optimize LWIP but failed. I have two questions:

1) Can I reach 64kB/sec data rate with LWIP or uIP?
2) If I can, what should be done?

Any idea?
Thanks.

Çağlar

nobody wrote on Monday, October 09, 2006:

I think the driver is perhaps not optimized.  Take a look at the buffer sizes and number of buffers used by lwIP.

I would suggest taking some network logs to find where the delays are, then asking on lwIP list as the question may be more lwIP related or SAM7 related than FreeRTOS related.  You might get more informed help there.

Often delays can come from whatever you are sending to.  For example if sending and receiving small packets to a windows machine then windows will respond very slowly to try and optimize network traffic.  Sending larger packets would be better.