Differences

This shows you the differences between the selected revisions of the page.

2020-01-03 2020-01-03
Adding information from https://serverfault.com/q/694062/168875#694063 + structure + raw session settings (martin) fix the link (martin)
Line 20: Line 20:
Most SFTP clients (including WinSCP) overcome the problem by both requesting/sending a large chunk of the file in each single read/write request and by sending (queuing) multiple requests without waiting for a response to previous. For example WinSCP can request up to 32 chunks for 32 KB each at once, totaling 1 MB (these are defaults which can be altered with ''SFTPDownloadQueue'' and ''SFTPUploadQueue'' [[rawsettings|raw session settings]]). But if there's a big discrepancy between the bandwidth and the network delay, even that 1 MB can be too small to saturate the bandwidth. Most SFTP clients (including WinSCP) overcome the problem by both requesting/sending a large chunk of the file in each single read/write request and by sending (queuing) multiple requests without waiting for a response to previous. For example WinSCP can request up to 32 chunks for 32 KB each at once, totaling 1 MB (these are defaults which can be altered with ''SFTPDownloadQueue'' and ''SFTPUploadQueue'' [[rawsettings|raw session settings]]). But if there's a big discrepancy between the bandwidth and the network delay, even that 1 MB can be too small to saturate the bandwidth.
-See also [[wp>Bandwidth-delay product]] on Wikipedia.+See also [[wp>Bandwidth-delay_product|Bandwidth-delay product]] on Wikipedia.
In case the speed is throttled by a connection latency, it may help if you use [[scp|SCP protocol]] instead of [[sftp|SFTP]]. %%SCP%% is less affected by the latency. In this case, it may help if you turn on [[ui_login_ssh#protocol_options|compression]]. Toggling //[[ui_login_connection|Optimize connection buffer size]]//, in either way, can help too. In case the speed is throttled by a connection latency, it may help if you use [[scp|SCP protocol]] instead of [[sftp|SFTP]]. %%SCP%% is less affected by the latency. In this case, it may help if you turn on [[ui_login_ssh#protocol_options|compression]]. Toggling //[[ui_login_connection|Optimize connection buffer size]]//, in either way, can help too.

Last modified: by martin