This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FTP is slow

Hi,

I can see TCP retransmission happens during files upload and download process time to time.

I am using Keil Middelware Network component to Put and get FTP files.

It is very very slow.

My total RAM is 128kb

I am currently using default TCP settings on keil.

As I understood FTP uses TCP.

1) Middleware version : Network version : 7.0.0.0 , FileSystem : 6.6.0 (We did not upgrade to latest FileSystem pack. We will try with latest pack updated soon.

2) Average Upload transfer speed = 31k/s and average Download transfer speed = 88k/s
3) upload is slower.
4) We use NOR Flash with Embedded File system.

5 ) I saw another issue. If I use two network connections on my Windows 7 machine. I used second network connection low priority ( I think) to connect to to my embedded device. basically I have two network interfaces on my windows 7 machine then FTP put and get will be more slower. I saw FTP connection is more slower.

Thanks,
Naeem

Parents
  • TCP speeds are very much affected by amount of buffer RAM - how many TCP packets that you can "in the air".

    A second connection that sends data means that you steal buffert RAM.

    With large enough window size - i.e. number of packets "in the air", it's possible to get very close to the theoretical bandwidth of a network interface. With few packets buffered - or the special case of just a single packet - the lag will seriously reduce the bandwidth. With just a single packet buffered you get a stop-and-go protocol where the port sends out a single packet and then stops until the acknowledge has been received.

Reply
  • TCP speeds are very much affected by amount of buffer RAM - how many TCP packets that you can "in the air".

    A second connection that sends data means that you steal buffert RAM.

    With large enough window size - i.e. number of packets "in the air", it's possible to get very close to the theoretical bandwidth of a network interface. With few packets buffered - or the special case of just a single packet - the lag will seriously reduce the bandwidth. With just a single packet buffered you get a stop-and-go protocol where the port sends out a single packet and then stops until the acknowledge has been received.

Children