I am trying to test the performance of the lwip stack between two
linux machines. If the server is lwIP, the performance is on par with
the linux IP stack. If the client is lwIP, it is super slow. It seems
that lwIP only sends data after a long timeout (it does not seem tied
to tcp_slow/fast_tmr). Also, in the linux/linux case, the CPU
utilization goes way up, but in the lwip-to-linux, the CPU says low.
Is there any easy way to change this behavior? Attached is a simple
example code.