I have a Debian x64 machine and want to make throughput as fast as library
can.
I have application with netcon and application with sockets, but it works
really slow. 

I send a char buf[1024]  for about 1 048 576 times  and it takes more than
1000 seconds ...

this is my lwipopts.h file.


#define LWIP_DEBUG 0
#define LWIP_DISABLE_TCP_SANITY_CHECKS 1
#define LWIP_CHECKSUM_ON_COPY 1
#define LWIP_RAW 0
#define TCP_MSS 1460
#define TCP_WND 65535
#define TCP_QUEUE_OOSEQ 1
#define TCP_SND_BUF 65535
#define TCP_OVERSIZE 1460

#define TCP_SND_QUEUELEN 256
#define PBUF_POOL_BUFSIZE 2048
#define TCP_NODELAY 1

how can I make connection faster?



--
View this message in context: 
http://lwip.100.n7.nabble.com/Maximizing-throughput-tp23074.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to