fragmentation


Fragmentation Considered Harmful

Christopher A. Kent, Jeffrey C. Mogus, DECWRL, 1988

Summary. Fragmentation is widely known to be detrimental to performance for 3 reasons:

The authors propose several ways to avoid fragmentation or recover from .fragmentation. Of these many proposals, they recommend the following:

  1. Do use a MTU of 576 bytes on any packet that will traverse a gateway.

  2. Do use transparent fragmentation on hops with small MTUs.

  3. Don't use intentional fragmentation because it has limited gains and can cause protocol failure. Could use only on local nets.

  4. Don't use the ICMP ``fragment reassembly time exceeded'' message; most protocol implementations ignore it so there would be no gain yet more messages would be injected into traffic.

.


More Detail

TTL and IP Id tuple. IP uses 4 fields to control fragmentation:

The ID and TTL together put an upper limit on the maximum bandwidth. If the .TTL is 32, then the packet is limited to either 32 seconds or 32 hops. This means that IP can send out only (2**16)/32 or 2048 datagrams per second. This limit is approaching (in 1988) unacceptable. If fragmentation were avoided, this limit would be meaningless.

Deterministic frament loss is a phenomenon whereby a certain ordering of fragment arrival will cause loss deterministically. For example, a certain network can't handle back-to-back arrivals (?) so it will drop the second packet of a 2-fragment datagram every time. Deterministic fragment loss can be detected with a high retransmission rate. However, since a high retransmission rate also can indicate congestion, this can only be used when congestion is detected via a separate mechanism (router based, for example).

Avoiding Fragmentation

Without protocol changes.

With protocol changes..

.

Recovery from Fragmentation

.

Transparent Fragmentation

Transparent fragmentation is the reassembly of fragments on a hop-by-hop level. The benefits are that it maximizes bw on higher links and deterministic fragmentation unlikely. The drawbacks are that packets may be reassembled/fragmented, gateways more complex, performance gains bounded because the max TU will be the MTU of the first hop. Plus, the IP layer at the destination may still have to perform reassembly if the last link had a smaller MTU than the first link. Only use on links with unusually small MTUs.

Intentional Fragmentation

Intentional fragmentation is sending such large datagrams that they must be immediately fragmented. This can improve performance by minimizing the amount of handling done before and after the network layer sends the data. Vulnerable to deterministic fragmentation. Could use on local nets.