I change the value of PBUF_POOL_BUFSIZE from 1024 to 2048. The payload size becomes to 1440 ... It seems the TCB is allocated from POOL.
Vincent Cui Sr. Firmware Engineer Mobile: +8613482482211 Tel: +86 21 34612525x6104 Fax: +86 21 34619770 E-Mail: [email protected] Shanghai EnLogic Electric Technology Co., Ltd. Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 200233 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kieran Mansley Sent: 2011年9月26日 16:44 To: Mailing list for lwIP users Subject: Re: [lwip-users] how to extend the received payload size On Mon, 2011-09-26 at 02:32 +0000, vincent cui wrote: > TCB payload size is 970, 490, 970, 490, 970, 490 That sounds like poor fragmentation, either due to dividing application writes up into MSS-sized chunks that results in a bit left over (the 490 bytes) or as Simon suggested small windows that mean there aren't a lot of bytes that can be sent at any one time. Kieran _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
