Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by thomsonbro@Oct 21 2005, 02:15 AM well, 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
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10496)
--- quote end ---
--- Quote End --- According to Revolt it's possible to get over 60 Mbit/s and that's what we are looking for now..... We need to send 8 MB in less than 1 sec over our ethernetconnection. I think it's possible with udp, but when I am trying to listen on a port, my function socket( ) won't work. Does anyone know how it works? I see enough examples on Visual C/C++ but hardly any on the NIOS IDE. Cheers, Danny