FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2007 Threads] 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|