Altera_Forum
Honored Contributor
14 years agoDE2-115 Ethernet throughput
I'm trying to send a video flow from my DE2-115 to a PC. To send 320*240 images with 16bit pixels with 25fps, I need a throughput of 320*240*16*25 = 30,720,000bit/s (below the 100Mbit/s offered by the network).
But when I do my tests, I have only 9fps (320*240*16*9 = 11,059,200bit/s). I use the design example called "DE2_115_WEB_SERVER_RGMII_ENET1" from Terasic, and the c example "Simple Socket Server (RGMII)" given in Eclipse. I'm working with quartus II 11.1sp1 Web Edition, without license (so with time-limited IP). I tried the tips given in an 440 (http://www.altera.com/literature/an/an440.pdf), especially to define "TCP_ZEROCOPY", but it didn't improve the throughput. It's not due to the network, because when I do a transfer from a PC to another, I get 73.8fps (~90Mbit/s). Is there a way to improve the throughput, or is the DE2 115 limited (not a true hardware MAC for example) ?