Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Download speed: Rate limiting bug?

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.
Myers Carpenter

Download speed: Rate limiting bug?

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?