Reconsidering Fragmentation and Reassembly Reconsidering Fragmentation and Reassembly Reconsidering Fragmentation and Reassembly
نویسنده
چکیده
We reconsider several issues related to fragmentation and reassembly in IP. We rst reconsider reassembly. We describe a simple expected case optimization that improves reassembly performance to 38 instructions per fragment if the fragments arrive in FIFO order (the same assumption made in header prediction) which has been implemented in the NetBSD kernel. Next, we introduce the new idea of Graceful Intermediate Reassembly (GIR), which is a generalization of the existing IP mechanisms of destination and hop-by-hop reassembly. In GIR, we coalesce the fragments at an intermediate router in order to use the largest sized packets on its outgoing interface. We show that GIR always outperforms hop-by-hop reassembly and can be implemented economically in routers with small processing and memory costs. We then reconsider fragmentation. We show that avoiding fragmentation has costs of its own in terms of increased packet processing and/or round-trip delays. We describe measurements in which TCP performance improves after turning on fragmentation. For example, on Ethernet under NetBSD using a 536 byte segment size for TCP we get a throughput of only about 5.5Mb/s, whereas we get a throughput a of 8.45Mb/s using a segment size of 1460 bytes (without fragmentation) and a throughput of 8.82Mb/s using a segment size of 16260 bytes with fragmentation. We also describe a simple performance model that can be used to determine when fragmentation is beneecial. Finally, we address the major disadvantages of fragmentation. A major problem is that when a fragment is lost, the entire TCP segment must be retransmitted, resulting in reduced or zero goodput under loss. We describe a mechanism | dynamic segment sizing, in which the segment size is dynamically reduced after loss | which addresses this problem. We describe simulations (using our modiied NetBSD kernel) which shows that dynamic segment sizing keeps the goodput at reasonable levels even under extremely lossy conditions. All our mechanisms (reassembly optimization, GIR, and dynamic segment sizing) are orthogonal and can be applied to other protocol suites besides TCP/IP.
منابع مشابه
RFC 4623 PWE 3 Fragmentation and Reassembly August 2006
Pseudowire Emulation Edge-to-Edge (PWE3) Fragmentation and Reassembly Status of This Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distributio...
متن کاملFragmentation in a Novel Implementation of Slotted GPON Segmentation and Reassembly
Gigabit passive optical network (GPON) is likely to play an important role in future access networks and the current challenge is to increase the existing GPON bit-rate to 10 Gb/s to provide next generation access (NGA). However, implementing this in a cost-effective manner is difficult and an important research topic. One of the difficulties in implementation for the electronic part of high-sp...
متن کاملRFC 4963 IPv 4 Reassembly Errors at High Data Rates
IPv4 fragmentation is not sufficiently robust for use under some conditions in today’s Internet. At high data rates, the 16-bit IP identification field is not large enough to prevent frequent incorrectly assembled IP fragments, and the TCP and UDP checksums are insufficient to prevent the resulting corrupted datagrams from being delivered to higher protocol layers. This note describes some easi...
متن کاملThe Impact of Packet Fragmentation and Reassembly in Resource Constrained Wireless Networks
Low-power and lossy (LLN) networks, including Wireless Sensor Networks, provide an important building block for Internet of Things (IoT) technology. The resource constraints associated with LLN devices necessitate the redesign of a number of basic Internet protocols. This paper evaluates the effect of packet fragmentation on the performance of protocols redesigned for LLN systems. We focus on t...
متن کاملRFC 3337 Class Extensions for PPP over AAL 2
The Point-to-Point Protocol (PPP) over Asynchronous Transfer Mode (ATM) Adaptation Layer 2 defines the encapsulation that allows a PPP session to be transported over an ATM virtual circuit using the ATM Adaptation Layer 2 (AAL2) adaptation layer. This document defines a set of class extensions to PPP over AAL2 that implement equivalent functionality to Multi Class Multi Link PPP over a single A...
متن کامل