Upcoming Events

Executive conference

Cloud Connect March 16-18

Comprehensive thought leadership for executives, IT professionals and developers. Topics include: the ROI, cost and economics of on-demand computing; Migration strategies to move from on-premise to cloud-based IT; Vertical cloud specialization, tailoring features and architectures to specific applications, industries, and customer ecosystems

More Events »

Subscribe to Newsletter

  • Keep up with all of the latest news and analysis on the fast-moving IT industry with Network Computing newsletters.
Sign Up




Advanced TCP Options
February 8, 1999

By Eric A. Hall  Considering its importance to the Internet, TCP has experienced surprisingly little change over the years. It has shown itself sufficiently able to ensure that data reaches its destination intact and error-free, and has done a good job of providing flow-control and circuit-management services.

Yet TCP has been woefully inadequate in many situations, particularly on modern networks that were unimaginable when TCP was designed. TCP's designers knew they couldn't predict the future, so they wisely allowed for modifications and enhancements that don't break the fundamental interoperability that drives Internet growth.

These enhancements are incorporated as "options" within the TCP header and allow new fields to be added, preserving backward-compatibility with older systems. Many new TCP options have been developed and deployed, with a few proving to be extremely useful. These options have been introduced on a wide variety of systems, though typically they're found on high-end Unix systems.

On the Bandwagon However, with the release of Windows 98, Microsoft is bringing these options to the masses, once they are enabled. To do so, add a string value called "Tcp1323opts" to the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Vxd\MSTCP registry branch, with one of the following values:

0 - No Window Scale or Timestamp (default)
1 - Window Scale but no Timestamp
3 - Window Scale and Timestamp

Note that the use of Selective Acknowledgments are enabled by default.

It's important to note that Windows98 won't be the last OS to support these options. While none of the options are provided in any shipping version of Novell NetWare, Microsoft Windows NT or Linux, the latter two support the options in releases under development. Even many high-end Unix systems don't support all of them: SunSoft's Solaris 7 is the first major release to incorporate them all, while Hewlett-Packard Co.'s HP-UX and Silicon Graphics' Irix support only a couple.

As products that support these options are developed and deployed, it will become increasingly important for network managers to understand how these options work and how they will impact corporate networks; to that end, we present an explanation of these options below. To help convey this information, we'll study a typical exchange of data between a Windows98 client and a Solaris 7 server.

In the screen capture at left, you can see the first TCP segment sent from the Windows98 client. The first TCP option shown is the Maximum Segment Size (MSS); this well-known and widely used option is used for publishing the Maximum Transfer Unit (MTU) size of the local network (minus IP and TCP header data). Also scattered throughout the option space are No-Operation options, which are used to internally pad the option space. Neither the MSS or No-Op option are new--both appear in virtually every networked device on the planet. However, the remaining options are new to Windows98.

Windows Scale RFC 793, the document that defines TCP, mandates use of a "Window" field in the TCP header of every packet sent across a TCP connection. The Window field provides a 16-bit integer that advertises the number of bytes available in a recipient's receive buffer. This information is used by the sending system's flow-control service to slow down and speed up the amount of data being transferred according to the recipient's capabilities.

Technically, the Window field defines the maximum number of bytes that can be sent without requiring the sender to stop transmitting and wait for an acknowledgment. But because most corporate networks use low-latency topologies, such as Ethernet and token ring, the Window field's flow-control mechanism rarely comes into play on the LAN. Data is received and acknowledged quickly, allowing the sender to transmit more data. Thus, the Window field's maximum amount is never reached, and data flows smoothly across the network.

Related Links
Morphing TCP Technology For Space Travel,
H Report, February 15, 1997

Designing Fault-Tolerant TCP/IP WANs,
Workshops, April 1, 1997

Getting The Most Out Of TCP/IP Network Software,
Buyers Guide, November 1, 1997

Other Workshops
this issue
Web-Site Problem-Solving, Load-Balancing Style
By Gregory Yerxa

Company Directory
Browse our directory to get data, starting with a particular company.
Reader Service
Allows you to request additional product information from our advertisers.
Print The Full Article
ClickHere
E-mail this URL
Clicke-mailHere
Buy the Book

Page 1 | Next Page

Best of the Web

Data deduplication: Declawing the clones

Data deduplication is emerging as a critically important new arrow in the storage administrator's quiver to answer hard questions about the increasing problem in storage growth costs.

Quick Read

Compression, Encryption, Deduplication, and Replication: Strange Bedfellows

One of the great ironies of storage technology is the inverse relationship between efficiency and security: Adding performance or reducing storage requirements almost always results in reducing the confidentiality, integrity, or availability of a system.

Quick Read

WAN Optimization Whitelists and Blacklists

Optimization is a fantastic way of saving money and creating really happy customers at the same time, but it doesn't work flawlessly for all applications.

Quick Read

WAN Optimization as a Managed Service: It's Not About the Cost

This insight examines how organizations outsourcing their WAN optimization initiatives to a third-party go about achieving their goals for application performance, reducing operational costs, and streamlining enterprise infrastructure.

Quick Read

  Sponsored Links

Premium Content

Next Generation Data Center, Delivered, November 17th
NWC


Salary

Video