Zayaz Volk <papua...@hotmail.com> wrote:

> Obviously, it raise the questions
> 1. Did anyone try to work with lwip on linux/Win32 and what throughput you've 
> been able to achieve ?

In my opinion, the win32 port is mainly limited by the netif driver: winpcap 
doesn't seem to give the best performance, since we have to copy packets twice 
on RX (and I don't remember if it's once or twice on TX). Also, lwIP doesn't 
really benefit from multiple CPU cores. Instead, you're right that it is 
targeted on low resources rather that throughput. 

Still, i think lwIP should be able to achieve the performance you want if:
A) your netif driver correctly supports zero copy and
B) you handle the stack "correctly" so that zero copy is possible (I.e. data 
passed to a TX function must be left unchanged in memory until the netif driver 
has actually sent it out).

Simon
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to