|
From: | Chen |
Subject: | [lwip-users] Re: lwip-users Digest, Vol 88, Issue 17 |
Date: | Tue, 14 Dec 2010 12:56:59 -0500 |
Send lwip-users mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/lwip-users
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of lwip-users digest..."
Today's Topics:
1. Re: Re: lwip-users Digest, Vol 88, Issue 15 (Kieran Mansley)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Dec 2010 15:28:30 +0000
From: Kieran Mansley <address@hidden>
Subject: Re: [lwip-users] Re: lwip-users Digest, Vol 88, Issue 15
To: Mailing list for lwIP users <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain
On Tue, 2010-12-14 at 10:12 -0500, Chen wrote:
>
> Also attached is lwipopts.h, and I checked a few times, and believed
> I specify a decent tx buffer.
>
> /* TCP sender buffer space (bytes). */
> #define TCP_SND_BUF 30000
>
> Maybe you can point out my mistake in the setting, or maybe there is
> an error in lwip that ignores such setting.
Your buffer size and TCP_SND_QUEUELEN look fine.
Which API are you using? If netconn or sockets API then this is probably
limiting you:
#define MEMP_NUM_NETBUF 3
You also have a relatively small value for this (although clearly this
isn't your current limiting factor):
/* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP segments.
*/
#define MEMP_NUM_TCP_SEG 9
I would suggest using the LWIP_STATS code to see which resources are
reaching their maximum, and adjusting appropriately.
Thanks
Kieran
------------------------------
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
End of lwip-users Digest, Vol 88, Issue 17
******************************************
[Prev in Thread] | Current Thread | [Next in Thread] |