lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] How to Optimize LwIP?


From: Mumtaz Ahmad
Subject: [lwip-users] Re: [lwip] How to Optimize LwIP?
Date: Wed, 08 Jan 2003 23:29:35 -0000

Well if you can sacrifice on number of sockets and higer thruput ,it is
possible to do it in that memory constraint.
See lwipopts.h and keep the figures as low as possible . Following are the
tunable parameters

#define MEM_SIZE                1000
#define MEMP_NUM_PBUF           40
#define MEMP_NUM_UDP_PCB        1
#define MEMP_NUM_TCP_PCB        1
#define MEMP_NUM_TCP_PCB_LISTEN  1
#define MEMP_NUM_TCP_SEG       10
#define MEMP_NUM_SYS_TIMEOUT    5
#define PBUF_POOL_SIZE          5
#define PBUF_POOL_BUFSIZE       1500
#define TCP_SND_BUF             2480
#define TCP_WND                 2480
#define ARP_TABLE_SIZE 2



----- Original Message -----
From: Imran Mansuri <address@hidden>
To: <address@hidden>
Sent: Friday, April 19, 2002 11:13 AM
Subject: [lwip] How to Optimize LwIP?


> Hello friends
>
> I could run LwIP over DOS but my actually project is
> to run it over some microcontroller without any
> Operating System.
>
> Now as u all know resource constraints for
> microcontroller, can anyone suggests me how to start
> optimizing LwiP? What variables/parameteres should I
> take in to account in order to limit the stack to 64K
> code + 64 K memory. Well this is the maximum memory
> available for old 8051 Micro-controller. Is this much
> optimization is possible? or I have to turn to high
> end microcontrollers?
>
> Awaitng for ur replies
> Imran
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> [This message was sent through the lwip discussion list.]

[This message was sent through the lwip discussion list.]




reply via email to

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