TCP Offload Engine - Purpose

Purpose

Originally TCP was designed for unreliable low speed networks (such as early dial-up modems) but with the growth of the Internet in terms of internet backbone transmission speeds (Optical Carrier, gigabit Ethernet and 10 Gigabit Ethernet links) and faster and more reliable access mechanisms (such as digital subscriber line and cable modems) it is frequently used in datacenters and desktop PC environments at speeds over 1 gigabit per second. The TCP software implementations on host systems require extensive computing power. Full duplex gigabit TCP communication using software processing alone is enough to consume more than 80% of a 2.4 GHz Pentium 4 processor (see freed-up CPU cycles), resulting in little or no processing resources left for the applications to run on the system.

As TCP is a connection-oriented protocol, this adds to the complexity and processing overhead of the protocol. These aspects include:

  • Connection establishment using the "3-way handshake" (SYNchronize; SYNchronize-ACKnowledge; ACKnowledge).
  • Acknowledgment of packets as they are received by the far end, adding to the message flow between the endpoints and thus the protocol load.
  • Checksum and sequence number calculations - again a burden on a general purpose CPU to perform.
  • Sliding window calculations for packet acknowledgement and congestion control.
  • Connection termination.

Moving some or all of these functions to dedicated hardware, a TCP offload engine, frees the system's main CPU for other tasks. As of 2012, very few consumer network interface cards support TOE.

Instead of replacing the TCP stack with a TOE entirely, there are alternative techniques to offload some operations in co-operation with the operating system's TCP stack. TCP checksum offload and large segment offload are supported by the majority of today's Ethernet NICs. Newer techniques like large receive offload and TCP acknowledgment offload are already implemented in some high-end Ethernet hardware, but are effective even when implemented purely in software.

Read more about this topic:  TCP Offload Engine

Famous quotes containing the word purpose:

    I beg to assure you that I have never written you, or spoken to you, in greater kindness or feeling than now, nor with a fuller purpose to sustain you, so far as in my most anxious judgement, I consistently can. But you must act.
    Abraham Lincoln (1809–1865)

    To me the sole hope of human salvation lies in teaching Man to regard himself as an experiment in the realization of God, to regard his hands as God’s hand, his brain as God’s brain, his purpose as God’s purpose. He must regard God as a helpless Longing, which longed him into existence by its desperate need for an executive organ.
    George Bernard Shaw (1856–1950)

    I have never doubted your courage and devotion to the cause. But you have just lost a Division, and prima facie the fault is upon you; and while that remains unchanged, for me to put you in command again, is to justly subject me to the charge of having put you there on purpose to have you lose another.
    Abraham Lincoln (1809–1865)