lwip-users
[Top][All Lists]
Advanced

[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


From: Balasundari
Subject: Re: [lwip-users] Sub:Error in Large File Transfer to remote server using RAW LWIP 1.3.0 (stellaris LM3S6432)
Date: Thu, 9 Jun 2011 21:27:09 -0700 (PDT)

Hi,

Thank you for your reply,


I will try with this changes and let you know 



Regards,

Sundari.S



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:
> 
> 1) 
> #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.
> 
> 2)
> #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 *
> (TCP_SND_BUF/TCP_MSS))
> 
> 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.  
> 
> Kieran
>> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Sub%3AError-in-Large-File-Transfer-to-remote-server-using-RAW-LWIP-1.3.0-%28stellaris-LM3S6432%29-tp31797479p31815153.html
Sent from the lwip-users mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]