[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] HELP with LWIPOPTS.H - how set these options and whatdo
From: |
Bill Auerbach |
Subject: |
RE: [lwip-users] HELP with LWIPOPTS.H - how set these options and whatdoes are they mean? |
Date: |
Tue, 4 Mar 2008 09:10:03 -0500 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Piero 74
> Sent: Tuesday, March 04, 2008 9:02 AM
> To: Mailing list for lwIP users
> Subject: [lwip-users] HELP with LWIPOPTS.H - how set these options and
> whatdoes are they mean?
>
> Hi all.
>
> Below this message, i copied my lwipopts.h, so i hope i can explain better
> to all my problems.
>
> I need help for some setting and understanding.
>
> I use tcp (with listener) and udp sockets.
>
> In particular, my questions are:
>
> 1. MEMP_NUM_PBUF: comments are: used for PBUF_ROM and PBUF_REF. So, if i
> use, for both udp and tcp, only packet build in my buffer in ram, i can
> set this value low. IS IT RIGHT?
> sockets calls do copy of data,
> so, pbuf_rom and pbuf_ref are never used?
One thing I did, which helped me tune pool sizes, was to run for a little
while, stop in my debugger, and view the lwIP lwip_stats.memp structure.
Or, watch a timer, and call stats_display at an interval to monitor this.
Bill