Version 6.3.6 (Build 15073 2014-11-25)
So I have been using WinSCP (recently paid!) for years and I finally started to wonder why I could download multiple queued files at identical speeds simultaneously.
I turned off "Optimized" in the Connection settings and the downloads, while they were eventually faster, the initial "run up" to the maximum speed was longer.
I read through the FAQ and followed the "raw settings" adjustments. A point to note is that the "Common" settings do not include the
SFTPDownloadQueue
or
SFTPUploadQueue
. It would be preferred if they were included in the list of explained options here:
https://winscp.net/eng/docs/rawsettings
I searched more and found this post:
https://winscp.net/forum/viewtopic.php?t=4366#14109
In which the
SFTPDownloadQueue
setting is advised to be changed from 4 to 10, so I tried that and the performance was reduced from 3MB to 1.1MB. So that was not a good outcome.
So then I tried changing
SFTPDownloadQueue
to 50 and was able to achieve as high as 5.8MB/s
The results of my SFTP download tests between WinSCP, the sftp command on both WSL and Windows CLI natively, and FileZilla were as follows using the same source and target machines:
Optimized BUFFER Size turned On.
- WinSCP (Optimization On): 3.1MB
- WinSCP (Optimization Off): 3.5MB/s
- WinSCP (SFTPDownloadQueue=50): 5.8MB/s
- WinSCP (SFTPDownloadQueue=100): 9.2MB/s
- WinSCP (SFTPDownloadQueue=1000): 11.3MB/s
- WinSCP (SFTPDownloadQueue=1500): 12.6MB/s
- WinSCP (SFTPDownloadQueue=2000): 11.8MB/s (slow (2-3s) to cancel)
- WinSCP (SFTPDownloadQueue=5000): 1.6MB/s (slower (10s) to cancel)
- WinSCP (SFTPDownloadQueue=200, Upload=150): 11.8MB/s
- WinSCP (SFTPDownloadQueue=500, Upload=500): 11.2MB/s
- WinSCP (SFTPDownloadQueue=1750, Upload=1000): 10.5MB/s (slow (2s) to close)
- SFTP: 6MB/s
- FileZilla: 11.5MiB/s
Speedtests on my connect register over 100MB/s
If Optimized Buffer is turned off with the raw settings still enabled the speed takes a while (10–20 seconds) to reach "top speed" and the performance is about the same as with optimized turned off. Frequently the speed will drop lower than the average throughput reported with optimized enabled, but top speed will reach around the same as with optimized turned on.
Is
SFTPDownloadQueue
the optimal way to improve the speed, and if it is, why isn't it optimized?
I can queue up and start multiple simultaneous downloads of files in WinSCP from the same host and they all download at at the same capped out speed as the individual single file transfer. Transfer Limit is set to Unlimited.