View | Details | Raw Unified | Return to bug 76462
Collapse All | Expand All

(-)chapter.sgml (-6 / +6 lines)
Lines 2171-2182 Link Here
2171
2171
2172
	<indexterm>
2172
	<indexterm>
2173
	  <primary>TCP Bandwidth Delay Product Limiting</primary>
2173
	  <primary>TCP Bandwidth Delay Product Limiting</primary>
2174
	  <secondary><varname>net.inet.tcp.inflight_enable</varname></secondary>
2174
	  <secondary><varname>net.inet.tcp.inflight.enable</varname></secondary>
2175
	</indexterm>
2175
	</indexterm>
2176
2176
2177
	<para>The TCP Bandwidth Delay Product Limiting is similar to
2177
	<para>The TCP Bandwidth Delay Product Limiting is similar to
2178
	  TCP/Vegas in NetBSD.  It can be
2178
	  TCP/Vegas in NetBSD.  It can be
2179
	  enabled by setting <varname>net.inet.tcp.inflight_enable</varname>
2179
	  enabled by setting <varname>net.inet.tcp.inflight.enable</varname>
2180
	  sysctl variable to <literal>1</literal>.  The system will attempt
2180
	  sysctl variable to <literal>1</literal>.  The system will attempt
2181
	  to calculate the bandwidth delay product for each connection and
2181
	  to calculate the bandwidth delay product for each connection and
2182
	  limit the amount of data queued to the network to just the amount
2182
	  limit the amount of data queued to the network to just the amount
Lines 2187-2195 Link Here
2187
	  with a high bandwidth delay product), especially if you are also
2187
	  with a high bandwidth delay product), especially if you are also
2188
	  using window scaling or have configured a large send window.  If
2188
	  using window scaling or have configured a large send window.  If
2189
	  you enable this option, you should also be sure to set
2189
	  you enable this option, you should also be sure to set
2190
	  <varname>net.inet.tcp.inflight_debug</varname> to
2190
	  <varname>net.inet.tcp.inflight.debug</varname> to
2191
	  <literal>0</literal> (disable debugging), and for production use
2191
	  <literal>0</literal> (disable debugging), and for production use
2192
	  setting <varname>net.inet.tcp.inflight_min</varname> to at least
2192
	  setting <varname>net.inet.tcp.inflight.min</varname> to at least
2193
	  <literal>6144</literal> may be beneficial.  However, note that
2193
	  <literal>6144</literal> may be beneficial.  However, note that
2194
	  setting high minimums may effectively disable bandwidth limiting
2194
	  setting high minimums may effectively disable bandwidth limiting
2195
	  depending on the link.  The limiting feature reduces the amount of
2195
	  depending on the link.  The limiting feature reduces the amount of
Lines 2202-2208 Link Here
2202
	  / server side).  It has no effect on data reception (downloading).
2202
	  / server side).  It has no effect on data reception (downloading).
2203
	</para>
2203
	</para>
2204
2204
2205
	<para>Adjusting <varname>net.inet.tcp.inflight_stab</varname> is
2205
	<para>Adjusting <varname>net.inet.tcp.inflight.stab</varname> is
2206
	  <emphasis>not</emphasis> recommended.  This parameter defaults to
2206
	  <emphasis>not</emphasis> recommended.  This parameter defaults to
2207
	  20, representing 2 maximal packets added to the bandwidth delay
2207
	  20, representing 2 maximal packets added to the bandwidth delay
2208
	  product window calculation.  The additional window is required to
2208
	  product window calculation.  The additional window is required to
Lines 2211-2217 Link Here
2211
	  links (though still much lower than you would get without the
2211
	  links (though still much lower than you would get without the
2212
	  inflight algorithm).  In such cases, you may wish to try reducing
2212
	  inflight algorithm).  In such cases, you may wish to try reducing
2213
	  this parameter to 15, 10, or 5; and may also have to reduce
2213
	  this parameter to 15, 10, or 5; and may also have to reduce
2214
	  <varname>net.inet.tcp.inflight_min</varname> (for example, to
2214
	  <varname>net.inet.tcp.inflight.min</varname> (for example, to
2215
	  3500) to get the desired effect.  Reducing these parameters
2215
	  3500) to get the desired effect.  Reducing these parameters
2216
	  should be done as a last resort only.</para>
2216
	  should be done as a last resort only.</para>
2217
      </sect3>
2217
      </sect3>

Return to bug 76462