PLAIN/TEXT — ISSUE 131/456 COMPUTER SCIENCE · FOUNDATION / PACKET SIZE LIMITS · ~4 MIN READING DATE: 2027-02-09 ARCHIVE: https://plaintext.click/newsletter/ SUBJECT: Why a small message passes but a big one gets stuck Why a small message passes but a big one gets stuck =================================================== / START HERE Computers send data in addressed packages called packets. An MTU, or maximum transmission unit, is a size limit on one packet crossing a particular connection between network devices. A packet that fits the first connection can still be too large for a later one on its route. / WHY NOW This helps explain an awkward failure: a connection opens and small messages work, but larger transfers stall. The address may be correct; the problem can be the permitted size along the path. / THE IDEA The connections are called links. MTU here counts the network-layer packet: the addressed package, excluding the outer wrapping used by a particular link. Its size is measured in bytes, units of eight 0-or-1 digits. A packet contains both useful content and a header, the attached instructions used to handle it. The path MTU is the smallest link limit along the route. Adding a tunnel, which wraps one packet inside another, uses extra bytes and can leave less room for the original packet. IPv4, one version of the internet’s addressing and delivery rules, permits fragmentation in some circumstances: splitting one packet into smaller pieces for reassembly at the destination. IPv6 routers do not perform that splitting. Oversized packets instead require the sender to adapt, normally using feedback about the path or active size probes. / THE FORMAL IDEA largest fitting payload = path MTU − required headers - Payload is the content after the counted headers; all quantities here are in bytes. - The example uses an IPv4 header of 20 bytes with no options and no additional transport header inside the counted payload. / RUN THE TINY EXAMPLE Change one thing. Predict what happens. Path MTU = 1,500 bytes; payload = 1,480 bytes; header = 20 bytes. Total = 1,480 + 20 = 1,500 bytes, so the packet fits exactly. Change the path MTU to 1,400 bytes: the same total is now 100 bytes too large. A sender reducing payload to 1,380 bytes restores a fitting total: 1,380 + 20 = 1,400. The application’s full document need not shrink. It can be carried across more appropriately sized packets. The important distinction is the size of one travelling unit, not the total size of the download. / SO WHAT? When investigating this symptom, compare small and larger transfers and inspect size-related feedback. Simply trying larger packets more aggressively does not widen the restrictive link. Fragmentation can also make one original packet depend on several fragments arriving, so avoiding unnecessary fragmentation can simplify reliable delivery. The route’s narrowest constraint matters even if most of its links allow much bigger packets. / ONE CAVEAT Headers, permitted fragmentation and error feedback vary by protocol and configuration. Missing feedback can cause stalls, but many other faults cause similar symptoms; this example is a diagnostic mechanism, not a universal diagnosis. / KEEP THIS A transfer must respect the smallest packet-size allowance on its path, not merely the allowance of its first link. / SOURCE TRAIL [1] IETF — IPv4 fragmentation https://www.rfc-editor.org/rfc/rfc791.html [2] IETF — IPv6 packet size issues https://www.rfc-editor.org/rfc/rfc8200.html NEXT: Why adding two sound levels is not ordinary addition --- HARD IDEAS. PLAIN TEXT. You are receiving this because you asked for one clear computer-science or physics idea each day. Unsubscribe: https://plaintext.click/unsubscribe View in browser: https://plaintext.click/newsletter/2027/02/2027-02-09-mtu-fragmentation.html From: Plain/Text / Brickston Consulting · 30 N Gould St Ste N, Sheridan, WY 82801 US · knowledge@plaintext.click