]> andersk Git - gssapi-openssh.git/blame - openssh/HPN12-README
The man2html from jbasney on pkilab2 works whereas the standard one doesn't.
[gssapi-openssh.git] / openssh / HPN12-README
CommitLineData
d5214a38 1Notes:
2
3To use the NONE option you must have the NoneEnabled switch set on the server and
4you *must* have *both* NoneEnabled and NoneSwitch set to yes on the client. The NONE
5feature works with ALL ssh subsystems (as far as we can tell) *AS LONG AS* a tty is not
6spawned. If a user uses the -T switch to prevent a tty being created the NONE cipher will
7be disabled.
8
9The performance increase will only be as good as the network and TCP stack tuning
10on the reciever side of the connection allows. As a rule of thumb a user will need
11at least 10Mb/s connection with a 100ms RTT to see a doubling of performance. The
12HPN-SSH home page describes this in greater detail.
13
14http://www.psc.edu/networking/projects/hpn-ssh
15
16Buffer Sizes:
17
18If HPN is disabled the receive buffer size will be set to the
19OpenSSH default of 64K.
20
21If an HPN system connects to a nonHPN system the receive buffer will
22be set to the HPNBufferSize value. The default is 2MB but user adjustable.
23
24If an HPN to HPN connection is established a number of different things might
25happen based on the user options and conditions.
26
6df46d40 27Conditions: HPNBufferSize NOT Set, TCPRcvBufPoll enabled, TCPRcvBuf NOT Set
28HPN Buffer Size = up to 64MB
29This is the default state. The HPN buffer size will grow to a maximum of 64MB
30as the TCP receive buffer grows. The maximum HPN Buffer size of 64MB is
31geared towards 10GigE transcontinental connections.
32
d5214a38 33Conditions: HPNBufferSize NOT Set, TCPRcvBufPoll disabled, TCPRcvBuf NOT Set
34HPN Buffer Size = TCP receive buffer value.
6df46d40 35Users on non-autotuning systesm should disable TCPRcvBufPoll in the
36ssh_cofig and sshd_config
d5214a38 37
38Conditions: HPNBufferSize SET, TCPRcvBufPoll disabled, TCPRcvBuf NOT Set
39HPN Buffer Size = minmum of TCP receive buffer and HPNBufferSize.
40This would be the system defined TCP receive buffer (RWIN).
41
42Conditions: HPNBufferSize SET, TCPRcvBufPoll disabled, TCPRcvBuf SET
43HPN Buffer Size = minmum of TCPRcvBuf and HPNBufferSize.
44Generally there is no need to set both.
45
d5214a38 46Conditions: HPNBufferSize SET, TCPRcvBufPoll enabled, TCPRcvBuf NOT Set
6df46d40 47HPN Buffer Size = grows to HPNBufferSize
d5214a38 48The buffer will grow up to the maximum size specified here.
49
50Conditions: HPNBufferSize SET, TCPRcvBufPoll enabled, TCPRcvBuf SET
51HPN Buffer Size = minmum of TCPRcvBuf and HPNBufferSize.
52Generally there is no need to set both of these, especially on autotuning
53systems. However, if the users wishes to override the autotuning this would be
54one way to do it.
55
56Conditions: HPNBufferSize NOT Set, TCPRcvBufPoll enabled, TCPRcvBuf SET
57HPN Buffer Size = TCPRcvBuf.
58This will override autotuning and set the TCP recieve buffer to the user defined
59value.
60
61
62HPN Specific Configuration options
a7213e65 63
64TcpRcvBuf=[int]KB client
65 set the TCP socket receive buffer to n Kilobytes. It can be set up to the
66maximum socket size allowed by the system. This is useful in situations where
67the tcp receive window is set low but the maximum buffer size is set
68higher (as is typical). This works on a per TCP connection basis. You can also
69use this to artifically limit the transfer rate of the connection. In these
70cases the throughput will be no more than n/RTT. The minimum buffer size is 1KB.
71Default is the current system wide tcp receive buffer size.
72
73TcpRcvBufPoll=[yes/no] client/server
74 enable of disable the polling of the tcp receive buffer through the life
75of the connection. You would want to make sure that this option is enabled
76for systems making use of autotuning kernels (linux 2.4.24+, 2.6, MS Vista)
6df46d40 77default is yes.
a7213e65 78
79NoneEnabled=[yes/no] client/server
80 enable or disable the use of the None cipher. Care must always be used
81when enabling this as it will allow users to send data in the clear. However,
82it is important to note that authentication information remains encrypted
83even if this option is enabled. Set to no by default.
84
85NoneSwitch=[yes/no] client
86 Switch the encryption cipher being used to the None cipher after
87authentication takes place. NoneEnabled must be enabled on both the client
88and server side of the connection. When the connection switches to the NONE
89cipher a warning is sent to STDERR. The connection attempt will fail with an
90error if a client requests a NoneSwitch from the server that does not explicitly
91have NoneEnabled set to yes. Note: The NONE cipher cannot be used in
92interactive (shell) sessions and it will fail silently. Set to no by default.
93
94HPNDisabled=[yes/no] client/server
95 In some situations, such as transfers on a local area network, the impact
96of the HPN code produces a net decrease in performance. In these cases it is
97helpful to disable the HPN functionality. By default HPNDisabled is set to no.
98
99HPNBufferSize=[int]KB client/server
100 This is the default buffer size the HPN functionality uses when interacting
101with nonHPN SSH installations. Conceptually this is similar to the TcpRcvBuf
102option as applied to the internal SSH flow control. This value can range from
d5214a38 1031KB to 64MB (1-65536). Use of oversized or undersized buffers can cause performance
a7213e65 104problems depending on the length of the network path. The default size of this buffer
d5214a38 105is 2MB.
106
107
108Credits: This patch was conceived, designed, and led by Chris Rapier (rapier@psc.edu)
109 The majority of the actual coding for versions up to HPN12v1 was performed
110 by Michael Stevens (mstevens@andrew.cmu.edu). This work was financed, in part,
111 by Cisco System, Inc., and the National Science Foundation.
This page took 0.065102 seconds and 5 git commands to generate.