25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The profiling of <strong>TCP</strong> for WP-<strong>TCP</strong> sought to optimize the protocol to compensate<br />

for these scenarios. Specifically, eight optimizations were included in WP-<strong>TCP</strong>.<br />

These are:<br />

► Large window size: Built in to <strong>TCP</strong> is the use of the B<strong>and</strong>width Delay Product<br />

(BDP), calculated from the available b<strong>and</strong>width <strong>and</strong> the round-trip time, to<br />

calculate the minimum window size. It also calculates the maximum window<br />

size using the smallest value of the send or receive buffers. WP-<strong>TCP</strong> can opt<br />

to use the maximum window size, relying on the congestion control<br />

mechanisms built into <strong>TCP</strong> to regulate the data as needed. The WP-<strong>TCP</strong><br />

specification indicates that implementation of this optimization is<br />

recommended, but not required.<br />

► The window scale option: Entities that opt to use the large window size are<br />

required to also implement the window scale option defined by RFC 1323. If<br />

an entity does not support the large window size optimization, implementation<br />

of the window scale optimization is optional.<br />

► Round-trip time measurement: Also defined in RFC 1323, round-trip time<br />

measurement (RTTM) is recommended for use by any entity that implements<br />

window sizes larger than 64 K. This also requires the use of the time stamp<br />

option.<br />

► Large initial window: The st<strong>and</strong>ard <strong>TCP</strong> implementation includes an initial<br />

window up to two segments in size. However, WP-<strong>TCP</strong> employs an extension<br />

defined in RFC 2414 that allows WP-<strong>TCP</strong> to send an initial window of three or<br />

four segments. This is limited to 4380 bytes. Implementation of this<br />

optimization is optional.<br />

► Path MTU discovery: WP-<strong>TCP</strong> now supports the procedures, defined in RFCs<br />

1191 <strong>and</strong> 1981, used to discover the maximum transmission unit (MTU) of<br />

any given path. This allows WP-<strong>TCP</strong> to optimize the amount of data sent in<br />

each packet to avoid fragmentation or dropped packets. Implementation of<br />

this optimization is recommended, but not required.<br />

► MTU larger than the default <strong>IP</strong> MTU: If an entity cannot support path MTU<br />

discover (for example, if some of the routers in the path do not support the<br />

needed ICMP messages), a WP-<strong>TCP</strong> implementation can assume a value<br />

exceeding the default <strong>IP</strong>v4 or <strong>IP</strong>v6 values. However, the value assumed must<br />

not exceed 1500 bytes, <strong>and</strong> must reflect the maximum segment size<br />

negotiated when establishing the <strong>TCP</strong> connection.<br />

► Selective acknowledgement: The fast recover algorithm, defined in RFC<br />

2581, tends to be less efficient when attempting to recover from multiple<br />

losses in a single window. This scenario is very likely on wireless<br />

connections, <strong>and</strong> therefore, an alternative to the fast recover algorithm was<br />

implemented. Selective acknowledgement (SACK) was defined in RFC 2018<br />

Chapter 18. Wireless Application Protocol 677

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!