diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2018-02-18 01:15:58 +0100 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2018-02-18 02:59:57 +0100 |
commit | 1c308bbbf598e09e463f67686ff4b7dafcb98ae6 (patch) | |
tree | 2218c3d07aa6c9a67dcb1d05138b08a940b3786f /target/linux/orion | |
parent | 88ba41453dbc65e1d5d596073d66bdf2e59a43a1 (diff) | |
download | upstream-1c308bbbf598e09e463f67686ff4b7dafcb98ae6.tar.gz upstream-1c308bbbf598e09e463f67686ff4b7dafcb98ae6.tar.bz2 upstream-1c308bbbf598e09e463f67686ff4b7dafcb98ae6.zip |
dropbear: add option to set receive window size
The default receive window size in dropbear is hardcoded to 24576 byte
to limit memory usage. This value was chosen for 100Mbps networks, and
limits the throughput of scp on faster networks. It also severely limits
scp throughput on high-latency links.
Add an option to set the receive window size so that people can improve
performance without having to recompile dropbear.
Setting the window size to the highest value supported by dropbear
improves throughput from my build machine to an APU2 on the same LAN
from 7MB/s to 7.9MB/s, and to an APU2 over a link with ~65ms latency
from 320KB/s to 7.5MB/s.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/orion')
0 files changed, 0 insertions, 0 deletions