Large segment offload

Large segment offload

In computer networking, large segment offload (LSO) is a technique for increasing outbound throughput of high-bandwidth network connections by reducing CPU overhead. It works by queuing up large buffers and letting the NIC split them into separate packets. The technique is also called TCP segmentation offload (TSO) when applied to TCP, or generic segmentation offload (GSO).

When large chunks of data are to be sent over a computer network, they need to be first broken down to smaller segments that can pass through all the network elements like routers and switches between the source and destination computers. This process is referred to as "segmentation". Segmentation is often done by the TCP protocol in the host computer. Offloading this work to the network card is called "TCP segmentation offload" (TSO).

For example, a unit of 64KB (65,536 bytes) of data is usually segmented to 46 segments of 1448 bytes each before it is sent over the network through the network interface controller (NIC). With some intelligence in the NIC, the host CPU can hand over the 64 KB of data to the NIC in a single transmit request, the NIC can break that data down into smaller segments of 1448 bytes, add the TCP, IP, and data link layer protocol headers -- according to a template provided by the host's TCP/IP stack -- to each segment, and send the resulting frames over the network. This significantly reduces the work done by the CPU. Many new NICs on the market today support TSO.

Some network cards implement TSO generically enough that it can be used for offloading fragmentation of other transport layer protocols, or by doing IP fragmentation for protocols that don't support fragmentation by themselves, such as UDP. This is not as useful, though, as other protocols aren't commonly used for transmitting large amounts of data.

See also

* Large receive offload (LRO)
* TCP Offload Engine (TOE)

External links

* [http://www.microsoft.com/whdc/device/network/taskoffload.mspx Windows Network Task Offload]
* [http://www.linux-foundation.org/en/Net:GSO GSO in Linux]
* [http://kb.pert.geant2.net/PERTKB/LargeSendOffloadLSO Brief Description on LSO in Linux]
* [http://kb.pert.geant2.net/PERTKB/PerformanceCaseStudies Case Studies of Performance issues with LSO and Traffic Shaping (Linux)]
* [http://www.onlamp.com/pub/a/bsd/2008/02/26/whats-new-in-freebsd-70.html?page=1 FreeBSD 7.0 new features, brief discussion on TSO support]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Large receive offload — In computer networking, large receive offload is a technique for increasing inbound throughput of high bandwidth network connections by reducing CPU overhead. It works by aggregating multiple incoming packets from a single stream into a larger… …   Wikipedia

  • TCP Offload Engine — or TOE is a technology used in network interface cards to offload processing of the entire TCP/IP stack to the network controller. It is primarily used with high speed network interfaces, such as gigabit Ethernet and 10 gigabit Ethernet, where… …   Wikipedia

  • TCP segmentation offload — oder TSO ist eine Technologie um die CPU Last von TCP/IP in schnellen Computernetzwerken zu reduzieren. TSO wird auch häufig als large segment offload (LSO) oder generic segmentation offload (GSO) bezeichnet. Wenn große Netzwerkpakete über ein… …   Deutsch Wikipedia

  • LSO — may refer to:* London Symphony Orchestra, one of the world s major symphony orchestras, located in United Kingdom * Landing Signal Officer * Large segment offload, a technology for reducing CPU overhead * Local Shared Object, a cookie like data… …   Wikipedia

  • Windows Vista networking technologies — This article is part of a series on Windows Vista New features Overview Technical and core system Security and safety Networking technologies I/O technologies Management and administration Removed features …   Wikipedia

  • History of British Airways — London Heathrow Airport has been the main hub of British Airways since formation …   Wikipedia

  • Cow Island, Missouri Breaks, Eastern Montana — Coordinates: 47°46′20″N 108°56′52″W / 47.772209°N 108.947665°W / 47.772209; 108.947665 Cow Island lies in a …   Wikipedia

  • Session Border Controller — A Session Border Controller is a device used in some VoIP networks to exert control over the signaling and usually also the media streams involved in setting up, conducting, and tearing down calls. Within the context of VoIP, the word Session in… …   Wikipedia

  • The Circus Starring Britney Spears — The Circus Starring Britney Spears …   Wikipedia

  • Mobile data offloading — Mobile data offloading, also called data offloading is the use of complementary network technologies for delivering data originally targeted for cellular networks. Rules triggering the mobile offloading action can either be set by an end user… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”