Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Network Performance ?

Posted by Paul on April 10, 2007
I'm using FreeRTOS on STR910-EVAL , and it has uIP's demo webserver . I evaluate the webserver speed , and it's very slow ( about 10KB/s ~ 8KB/s ) . I put a 400KB file on webserver and download it , the speed is very slow .

I don't know why is the speed so slow .

RE: Network Performance ?

Posted by Nobody/Anonymous on April 10, 2007
uIP is designed for systems with little RAM. It is great for this purpose but makes some compromises to achieve it. The main limiting factor is that it will only allow one un-acked packet at any one time. This means you have to wait for the host to ack the packet before the next is sent.

If you are talking to a PC then normally the PC software (windows/Linux) will try to minimise network traffic by acking several packets at the same time. It therefore delays before sending an ack. uIP will therefore be slowed down as the delay period expires before it gets the ack, and sends the next packet.

If you have control over both ends of the TCP/IP link then you can remove the delay and get it working quickly. If not then you might be better using lwIP, which does not have the same limitation but at the expense of using more RAM.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS