Thank you everyone for your valuable inputs.
As of now, i've just to transfer a byte of data over TCP/IP/IPCP/PPP, using a hayes modem (or null modem for testing). I'm familiar with my RTOS and have done the following:
- Implemented sys_arch.c and cc.h for my RTOS (IAR workbench)
- Have been able to compile core files and PPP part under my IDE, with RTOS
I'm not sure on:
- What'll to compile from the list of files available under the lwip folder
- how to integrate the PPP part in the lwip main-frame
Also i don't have a debug interface to i'm not sure stats)display() would be of any help.
Thanks and regards,
AB
On Mon, Aug 18, 2008 at 7:09 PM, Rishi Khan
<address@hidden> wrote:
I would also suggest running for a while and calling stats_display() to see how many mailboxes were used and what the maximum usage was.
Rishi
On Aug 18, 2008, at 9:26 AM, Kieran Mansley wrote:
On Mon, 2008-08-18 at 18:43 +0530, Akshat Bisht wrote:
@rishi... i think you got me wrong. I didn't want to know what size
lwip is making, but what is recommended. I realized later that size
per msg = sizeof(void *) only! how stupid of me.. Thanks and sorry for
wasting your time.
What is recommended will vary depending on the project, what API you
plan to use, how many connections you want to support, what traffic
pattern you have to deal with, what drivers you're running on, how much
memory you have spare etc. It's impossible to give you an ideal number
I'm afraid.
There are two approaches you can take to find out what's best for your
project:
- make sure there are lots of everything, and you'll then be unlikely
to run out, but may use more memory than you need to; or
- start off with a few of everything, run some typical traffic patterns
and see what you run short of. Increase these resources until you're
able to support the necessary number of connections without running out
of anything.
Hope that helps,
Kieran
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users