[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How could let lwIP send more without wait ACK
From: |
yueyue papa |
Subject: |
Re: [lwip-users] How could let lwIP send more without wait ACK |
Date: |
Wed, 21 Apr 2010 15:17:35 +0800 |
The test case is echo 5000 bytes. Server will make echo after get 5000 bytes.
NoneLwIP:
8~11: Server 192.168.8.94 echo continuous data to the client.
In the server side log, I unable to confirm whether the TCP/IP will
send continues data to server without wait ACK.
The echo is finished with in 5s.
LwIP:
9, 10:
Serve only echo two 1460 segment. Why server not send much more data
segment as None LwIP client.
>From the log the echo finished within 15s.
#############
/* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP
segments. */
#define MEMP_NUM_TCP_SEG 16
/* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active
timeouts. */
#define MEMP_NUM_SYS_TIMEOUT 16
/* TCP Maximum segment size. */
#define TCP_MSS 1460//1024
/* TCP sender buffer space (bytes). */
#define TCP_SND_BUF (TCP_MSS*6)
/* TCP sender buffer space (pbufs). This must be at least = 2 *
TCP_SND_BUF/TCP_MSS for things to work. */
#define TCP_SND_QUEUELEN (2* TCP_SND_BUF/TCP_MSS*2)
/* TCP writable space (bytes). This must be less than or equal
to TCP_SND_BUF. It is the amount of space which must be
available in the tcp snd_buf for select to return writable */
#define TCP_SNDLOWAT (TCP_SND_BUF/4)
/* TCP receive window. */
#define TCP_WND (TCP_MSS*22) //(8192)
##############################
Lee
lwIP_echo5000_result.pcap
Description: Binary data
NoneLwIP_echo5000_result.pcap
Description: Binary data
- [lwip-users] How could let lwIP send more without wait ACK, yueyue papa, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, Kieran Mansley, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, yueyue papa, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, Kieran Mansley, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, yueyue papa, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, David Empson, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, Kieran Mansley, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK, yueyue papa, 2010/04/20
- Re: [lwip-users] How could let lwIP send more without wait ACK,
yueyue papa <=