[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Sub:Error in Large File Transfer to remote server using
Re: [lwip-users] Sub:Error in Large File Transfer to remote server using RAW LWIP 1.3.0 (stellaris LM3S6432)
Thu, 9 Jun 2011 21:27:09 -0700 (PDT)
Thank you for your reply,
I will try with this changes and let you know
Kieran Mansley wrote:
> On Wed, 2011-06-08 at 09:08 +0530, Soma Sundari wrote:
>> sent the lwipopts.h with our configuration settings.please verify that
>> and if need any changes for memory
>> allocation , let me know.
> There are few things you could try:
> #define IP_REASSEMBLY 0 // default is 1
> #define IP_FRAG 0 // default is 1
> - if anything between you and the remote server is causing IP
> fragmentation, you'll struggle with these settings. Put them back to 1.
> #define TCP_WND 2048 // default is 2048
> //#define TCP_MAXRTX 12
> //#define TCP_SYNMAXRTX 6
> //#define TCP_QUEUE_OOSEQ 1
> #define TCP_MSS 1024 // default is 128
> //#define TCP_CALCULATE_EFF_SEND_MSS 1
> #define TCP_SND_BUF (6 * TCP_MSS)
> // default is 256
> #define TCP_SND_QUEUELEN (MEMP_NUM_TCP_SEG)
> // default is (4 *
> I would (i) increase TCP_WND; (ii) decrease TCP_SND_QUEUELEN. With it
> set to NUM_TCP_SEG you can end up with the situation where all the
> buffers are queued to send, leaving none available to process received
> segments (such as ACKs) and so the connection deadlocks.
> lwip-users mailing list
View this message in context:
Sent from the lwip-users mailing list archive at Nabble.com.