Bug 1332 - Add ability to set TCP rcvbuf size
Summary: Add ability to set TCP rcvbuf size
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: All All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 07:32 AEST by Iain Morgan
Modified: 2007-08-10 14:52 AEST (History)
1 user (show)

See Also:


Attachments
This adds a ReceiveBufferSize option to ssh(1) (5.02 KB, patch)
2007-07-06 07:32 AEST, Iain Morgan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Morgan 2007-07-06 07:32:10 AEST
Created attachment 1320 [details]
This adds a ReceiveBufferSize option to ssh(1)

For high-BDP connections, it may be necessary to increase the size of
the TCP rcvbuf in order to get good performance. In some cases, this 
can be accomplished by adjusting a kernel setting or using an autotuning
kernel. However, these are not always viable options.

In some cases the TCP rcvbuf must be set to multiple megabytes in order
to accomodate high-latency connections. It's not always practical or
desirable to do this for all connections. And autotuning support assumes
that a recent Linux kernel or a custom-built kernel is being used, which
is not always the case.

To address the case where it is not practical to increase the system's
default rcvbuf size or use an autotuning kernel, it would be helpful
if ssh could adjust the size on a per connection bases.