|
From: | vincent cui |
Subject: | Re: [lwip-users] lwip performance goes down if running with FreeRTOS |
Date: | Fri, 11 May 2012 00:19:58 +0000 |
Hi : When lwIP performance goes to down, I capture the TCP packet as attached files.
I also extend PBUF_POOL_BUFSIZE to enough size. It seems no use. Anyone can give any help ? Vincent From: lwip-users-bounces+address@hidden
[mailto:lwip-users-bounces+address@hidden On Behalf Of
vincent cui Hi: I found a odd strange in Cortex M3, running LWIP1.4.0 + FreeRTOS. I write a TCP server to accept large file, the code works well if running in LWIP standalone. The performance is high and stable. But when I create the task in FreeRTOS, the whole LWIP performance goes to down after the task accept file for a while It seems that switch task in FreeRTOS cause it down, but I don’t know how to bypass. I even try to “define LWIP_TCP_CORE_LOCKING’ To disable TCP task switch, but still got same result .
Anyone can give help ? vincent |
lwipfreertos.pcap
Description: lwipfreertos.pcap
[Prev in Thread] | Current Thread | [Next in Thread] |