Topic "Download speed: Rate limiting bug?"

Author Message
Myers Carpenter


This morning my coworkers point out with great frustration that they were having problems downloading stuff from our filesharing site. Getting max 9kiB/s. I've read in another thread that this somehow has do to with you SFTP coding being slow.

I would like to point out that this really looks like a rate limiting bug, not some problem with SFTP or SCP code. If these were slowing things down wouldn't the CPU spike up?


[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
No you are not right. It is really, how the SFTP protocol is coded. Current version (3.3 and below) has most simplest SFTP implementation.

Example on download: It just asks server for few kilobytes of data and waits for them. When it receives them, it writes them to local file and issues request for next few kilobytes, etc. If your connection is slow, WinSCP waits most of the time for answer, not downloading anything.

I've just improved this. Now WinSCP issues more (four) read requests and, when it receives first response, it sends new request. So most of the time, there are four requests outstanding. It makes performance much better. I have gained about 4 times better performance. But it can vary depending on CPU speed and badwidth.

If you would like to test it, download WinSCP 3.3.1 beta build 188. Let me know, what were your results.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License