I ported lwip1.4.1 to my system. And I added a simple ftp server in my system. It simply uses a RAM disk as filesystem. When I tested it with Windows ftp, I got about 6MB/s for upload(put), and 3Mb/s for download(get).
Why there is so great difference and how to speed up. Does lwip send data after tcp_write?