Forum Discussion
Altera_Forum
Honored Contributor
20 years agowell, for high throughput UDP is arguably the fastest, since it requires much less overhead then TCP, the main problem however is that UDP is prone to packet loss, so if every packete contains valuable data you will either need to use TCP or build in data controll on a higher level yourself
im working with the webserver example using TCP for data transfer, best i had up to now is 10 mbit grose, so that includes all overhead from TCP, in terms of pure data transmitted its 9 mbit tops and that is with a nios2/f clocked at 125 mhz, to give you an idea, i would have clocked it faster, but at 150 mhz it no longer works... and anywhere over 140 mhz requires the SD-ram on my board to run asynchronous anyway so if you are using TCP with the standard Lwip stack, expect 10 mbit tops, you can squeeze out a lot more, but that will take work im working on the same thing right now, im doing an internship, and the assignment is to get this transfer rate as close to 100mbit as we can, but i seriously doubt being able to go over 50