Fact-checked by Grok 2 weeks ago

Service data unit

A Service Data Unit (SDU) is the unit of that an upper layer in a protocol stack passes to the lower layer below it for processing and transmission, serving as the that the receiving layer encapsulates with its own control information to create a (PDU). In the Open Systems Interconnection ( defined by ISO/IEC 7498-1, an SDU—specifically an (N)-service-data-unit—represents a unit of transferred between peer entities at the N-layer, comprising (N)-interface-data exchanged across the service access point between the N-layer and the (N+1)-layer, whose identity is preserved across an (N)-connection from one end system to another. This concept is central to the layered architecture of OSI, where each of the seven layers (physical, data link, , transport, session, presentation, and application) treats the SDU received from the layer above as its input for adding headers, trailers, or other metadata before passing a PDU downward. The distinction between SDUs and PDUs is key to modular design: while an SDU carries the substantive user or application without the current layer's overhead, the PDU includes both the SDU and layer-specific control elements, such as addressing, error detection, or sequencing information, enabling across diverse network environments. For instance, at the , an SDU might be a of application that becomes a (PDU) after adding numbers and checksums; similarly, at the network layer, that becomes an packet's . This encapsulation repeats down the until the transmits bits over the medium, with the reverse occurring on receipt to reconstruct the original SDU at higher layers. SDUs thus facilitate abstraction in stacks, allowing layers to evolve independently while maintaining end-to-end , a principle that underpins standards like the / suite, which maps loosely to OSI layers.

Fundamentals

Definition

A service data unit (SDU), denoted as an (N)-SDU in the OSI reference model, is defined as an amount of information whose identity is preserved when transferred between peer (N+1)-layer entities and which is passed down to the N-layer to become the payload of a (PDU). This unit consists primarily of user data supplied by the higher-layer , excluding any control information added by the lower layer. The concept of the SDU was introduced in the OSI Basic Reference Model, first published in 1984 by ISO as ISO 7498, with the equivalent ITU-T Recommendation X.200 approved in 1988. It forms a foundational element of the model's service conventions, facilitating communication through standardized service primitives such as UNITDATA REQUEST, DATA REQUEST, and their corresponding INDICATION primitives at the receiving end. These primitives ensure that the SDU is handled as a semantically unchanged payload during interlayer transfers, supporting reliable peer-to-peer interactions across the protocol stack. The purpose of the SDU is to enable modular data exchange in layered network architectures, where higher-layer entities (N+1) generate or receive the unit for transmission or processing without modification to its core content by intervening layers. In the basic flow, an (N+1)-layer entity produces an (N+1)-SDU, which is then encapsulated as the information field within an N-PDU by the N-layer protocol before onward transmission. This mechanism promotes interoperability and abstraction in open systems interconnection by isolating layer-specific functions while preserving data integrity.

Relation to PDU

In layered network architectures, a service data unit (SDU) represents the payload data originating from the higher layer (n+1), consisting of the pure information intended for delivery without any protocol-specific additions from the current layer. In contrast, a protocol data unit (PDU) at layer n is formed by encapsulating this SDU with the layer's own headers, trailers, or control fields, enabling peer-to-peer communication between entities at that layer. This distinction ensures that each layer handles only its protocol responsibilities while treating higher-layer data opaquely as payload. The encapsulation process occurs as layer n receives the SDU from layer n+1, appends its protocol control information to form the PDU_n, and then passes this PDU_n downward to layer n-1, where it becomes the SDU for that lower layer. This recursive mechanism allows data to traverse the stack, with each layer adding its envelope for routing, error detection, or sequencing as needed for reliable delivery to the peer layer. On the receiving side, decapsulation reverses this by stripping the layer n headers to recover the original SDU for upward delivery. Formally, the relationship can be notated as: \text{PDU}_n = \text{Header}_n + \text{SDU}_n + \text{Trailer}_n where \text{SDU}_n = \text{PDU}_{n+1}, illustrating how the output of the higher layer directly feeds into the input of the current layer's encapsulation. SDUs are transferred between adjacent layers via service primitives at the service access point (SAP), such as request or indication operations, which invoke the layer's service to handle the data without exposing internal protocol details. This abstraction maintains layer independence, allowing the higher layer to rely on the service contract rather than the underlying PDU structure.

Layered Architectures

OSI Model Integration

In the OSI reference model, service data units (SDUs) represent the payload data exchanged between peer entities at corresponding layers, ensuring semantic integrity is preserved across the communication path. Defined in the basic reference model, an SDU at layer N consists of the user data from the layer above (N+1), which is encapsulated by layer N into a protocol data unit (PDU) for transmission to its peer at the receiving system. This process allows each layer to provide services to the upper layer while abstracting the complexities of lower-layer operations. The integration of SDUs varies across the seven layers of the , with specific terminology reflecting the functions at each level. At the application, , and session layers (layers , 6, and 5), the SDU is typically referred to as a , representing application-specific data passed downward for processing. The (layer 4) receives this as its SDU, which it treats as a segment for connection-oriented services (e.g., reliable delivery) or a for connectionless services (e.g., ). Moving to the network layer (layer 3), the SDU becomes a packet, across interconnected while maintaining end-to-end addressing. At the (layer 2), the SDU is formatted as a frame, incorporating error detection for point-to-point or broadcast links. The (layer 1), however, operates on raw bits without an SDU concept, as it deals solely with signal transmission over the medium. These layer-specific mappings ensure modular interoperability, as outlined in the OSI standards. Peer-to-peer transmission of SDUs occurs transparently through the OSI layers, where the PDU from one layer serves as the SDU for the next lower layer, ultimately delivering the original upper-layer data intact to the destination peer. For instance, a transport-layer SDU (segment or datagram) originating at the sender is routed via multiple network-layer PDUs (packets) but arrives unaltered at the receiver's transport peer, preserving application semantics without modification by intermediate layers. This encapsulation and decapsulation mechanism supports both connection-oriented services, which establish virtual circuits for sequenced delivery, and connectionless services, which enable independent datagram exchanges, as specified in the model's service definitions. The OSI standards emphasize this peer protocol for reliable, vendor-independent networking.

TCP/IP Model Application

The TCP/IP model, a practical framework for internet communication, structures protocols into four primary layers: application, , (also known as network), and (encompassing physical aspects). In this model, service data units (SDUs) represent the payload data passed between layers, adapting the OSI concept to a more streamlined architecture. Specifically, the handles user data as an SDU in the form of a , which is then passed to the . The receives this as its SDU and may segment it into transport SDUs, such as segments or UDP datagrams. The layer treats these transport SDUs as its input, encapsulating them into internet SDUs known as packets (e.g., datagrams). Finally, the layer uses the IP packet as its SDU, forming a link SDU or frame for transmission over physical media. In practical data flow within the TCP/IP suite, application-layer data originates as raw content, such as a stream of bytes from an or , forming the initial SDU. This SDU is delivered directly to the , where protocols like encapsulate it by adding headers to create a segment (the transport-layer PDU), which becomes the SDU for the . The , primarily using , then adds its own header to this segment, producing an as the internet-layer PDU and the SDU for the . The further encapsulates the packet into a frame by appending link-layer headers and trailers (e.g., ), enabling transmission across local networks. This encapsulation process ensures across diverse hardware and protocols, with each layer's PDU serving as the subsequent layer's SDU. A key adaptation in the TCP/IP model is its consolidation of OSI layers 5 through 7 (session, presentation, and application) into a single application layer, eliminating distinct boundaries for data formatting and dialog control. As a result, the application SDU feeds directly into the transport layer without intermediate processing, simplifying implementation for real-world networks. This blurring of upper-layer responsibilities is reflected in foundational specifications like RFC 1122, which outlines host requirements for communication protocols across the TCP/IP layers without invoking OSI-specific terminology, focusing instead on functional data units such as segments and datagrams to describe encapsulation and exchange. This approach addresses practical gaps in theoretical models by prioritizing deployable standards for the modern internet.

Protocol Examples

MAC Layer

In the Media Access Control (MAC) sublayer of the , the MAC Service Data Unit (MSDU) serves as the payload received from the (LLC) sublayer or higher layers, constituting the data field within the resulting MAC frame. This MSDU encapsulates the upper-layer data for transmission over the physical medium, enabling reliable delivery within a (). The MAC sublayer processes the MSDU by appending necessary control information to form the MAC (MPDU), also known as the MAC frame. In IEEE 802.3 Ethernet, the MSDU corresponds to the LLC Protocol Data Unit (PDU), limited to a maximum size of 1500 bytes to fit within the standard frame structure, ensuring compatibility across wired LANs. The MAC sublayer adds a 14-byte header (including 6-byte destination and source addresses, and a 2-byte length/type field), an optional 4-byte VLAN tag, and a 4-byte frame check sequence (FCS) for error detection, while the physical layer prepends an 8-byte preamble and start frame delimiter. This process supports both point-to-point unicast and broadcast transmissions, with the minimum MSDU padded to 46 bytes if necessary to meet the 64-byte frame minimum (excluding preamble and interframe gap). For , the MSDU can be aggregated into an Aggregate MSDU (A-MSDU) to combine multiple units into a single MPDU, reducing overhead and improving throughput in wireless environments. The MAC adds addressing, control fields (such as frame control and sequence number), and FCS to the MSDU or A-MSDU, with aggregation allowing up to 4095 bytes per A-MSDU in modern implementations, while supporting broadcast and alongside . These mechanisms are detailed in the standards, including IEEE Std 802.3-2022 for Ethernet and IEEE Std 802.11-2020 for , which define the encapsulation process to maintain across diverse media access methods.

Transport and Network Layers

In the of the TCP/IP model, the service data unit (SDU) consists of the data provided by the , which is processed to ensure reliable or connectionless delivery between hosts. For the Transmission Control Protocol (), the transport SDU is the application-layer message, which TCP segments into smaller units called TCP segments (the protocol data units, or PDUs) to facilitate end-to-end communication; each segment includes source and destination port numbers for , along with sequence numbers to maintain order and enable retransmission of lost data. This segmentation allows TCP to handle variable-sized application data, such as streams from web browsers or email clients, by adding a header typically 20 octets long, excluding options. In contrast, the () treats the entire application-layer message as a single transport SDU, encapsulating it directly into a (PDU) without segmentation or reliability mechanisms, making it suitable for time-sensitive applications like video streaming where low is prioritized over guaranteed delivery. 's header is minimal, usually 8 octets, containing only port numbers and a , which keeps overhead low but shifts error handling to the application. At the network layer, the SDU is the PDU from the , which becomes the of an for routing across interconnected networks. In IPv4, the network SDU is encapsulated within an (PDU) that includes a 20-octet header with fields such as the time-to-live (TTL) to prevent infinite loops and 32-bit source/destination addresses for global routing. IPv6 extends this by using 128-bit addresses in its 40-octet header, supporting larger SDUs up to 65,535 octets without fragmentation in the base case, while also incorporating fields like hop limit (analogous to TTL) for path control. A practical flow illustrates this encapsulation: an HTTP request from an application layer serves as the transport SDU for TCP, which segments it into TCP segments (PDUs); these segments then become the network SDU, loaded as the payload of an IPv4 or IPv6 packet for routing from the source host to the destination via intermediate routers. This layered process ensures the HTTP data traverses diverse networks while preserving the integrity of the original SDU through transport-layer checks.

Handling Mechanisms

Fragmentation

Fragmentation occurs when a service data unit (SDU) exceeds the (MTU) of the lower layer, requiring it to be divided into multiple smaller protocol data units (PDUs) for transmission, with reassembly performed at the destination. This process ensures compatibility across diverse network links with varying size constraints, preventing outright packet drops. In the network layer, such as with Internet Protocol version 4 (IPv4), fragmentation splits oversized datagrams into fragments that fit the outgoing link's MTU. Routers or hosts identify the need for fragmentation based on the datagram length compared to the MTU; the data portion is divided at 8-octet boundaries, while each fragment receives a copy of the original header with modifications. Key header fields include the Identification (to group related fragments), the Don't Fragment (DF) bit (set to 1 to prohibit fragmentation, leading to discard and an ICMP message if exceeded), the More Fragments (MF) flag (1 for non-final fragments, 0 for the last), and the Fragment Offset (indicating position in 8-octet units, calculated as the cumulative offset from prior fragments). Reassembly at the destination combines fragments matching the Identification, source, destination, and protocol fields, using offsets to reconstruct the original datagram. In contrast, IPv6 eliminates router-performed fragmentation to improve efficiency, mandating that sources use Path MTU Discovery (PMTUD) to determine the end-to-end MTU and avoid oversized packets altogether. At the , protocols like Ethernet do not support fragmentation; instead, oversized SDUs trigger frame drops unless mitigated by configuring jumbo frames, which extend the MTU beyond the standard bytes (up to 9000 bytes or more) to accommodate larger payloads and reduce the need for upper-layer fragmentation. The , exemplified by , avoids fragmentation through segmentation and (MSS) negotiation during connection setup, where endpoints exchange MSS values (typically MTU minus headers) to ensure segments fit without lower-layer splitting. This mechanism introduces overhead from repeated headers on each fragment, increasing bandwidth usage and processing demands. Reassembly is error-prone, as loss of any fragment requires retransmission of the entire original SDU, amplifying inefficiency in unreliable networks. Modern protocols like IPv6 prioritize prevention via PMTUD to minimize these issues, reflecting a shift toward end-to-end size awareness over reactive fragmentation.

Size Constraints

The maximum size of a service data unit (SDU) is fundamentally limited by the (MTU) of the lower-layer (PDU), which defines the largest that can be encapsulated without fragmentation. In standard Ethernet networks, as specified by , the MTU is 1500 bytes, constraining the SDU to this value for the media access control () layer to ensure efficient transmission over physical links. At the , the (MSS) further refines this limit by subtracting protocol header overheads; for instance, in over v4 on Ethernet, the MSS is typically 1460 bytes, accounting for 20 bytes each from the IP and headers. These constraints prevent oversized SDUs from causing transmission failures or requiring reassembly at intermediate points. To dynamically identify the path MTU and avoid exceeding SDU limits along multi-hop routes, (PMTUD) employs techniques such as setting the Don't Fragment bit in IP headers and relying on ICMP "Fragmentation Needed" messages for feedback when packets are dropped due to size. This method, introduced in RFC 1191 in 1990, enables endpoints to probe and adjust SDU sizes iteratively. However, PMTUD can fail in "" scenarios where firewalls or routers silently discard oversized packets and block ICMP responses; detection mechanisms, including timer-based retransmissions and gradual MTU reductions, mitigate these issues as outlined in RFC 2923. Variations in SDU size constraints arise across network types and evolutions of standards. Jumbo frames extend Ethernet MTUs up to 9000 bytes in high-speed local area networks, reducing header overhead and improving throughput for bulk transfers, though adoption requires end-to-end configuration consistency. mandates a minimum link MTU of 1280 bytes to support diverse without fragmentation, with hosts encouraged to use PMTUD for larger paths. In modern infrastructures, such as 40G Ethernet, support up to 9000 bytes or more optimizes performance for data-intensive applications like networks. Similarly, networks accommodate larger SDUs in the (PDCP) layer, with a maximum of 9000 bytes per TS 38.323, facilitating high-bandwidth services while adhering to underlying transport MTUs. Violations of these limits may trigger fragmentation in lower layers to maintain delivery.

References

  1. [1]
    RFC 1208 - A Glossary of Networking Terms - IETF Datatracker
    The protocol information added by an OSI entity to the service data unit passed down from the layer above, all together forming a Protocol Data Unit (PDU) ...
  2. [2]
  3. [3]
  4. [4]
    X.200 (11/1988) - ITU-T Recommendation database
    ITU-T X.200 (11/1988) ; Approval date: 1988-11-25 ; Identical standard: ISO 7498:1984 (Twinned) ; Approval process: WTSA ; Status: Superseded ; Maintenance ...
  5. [5]
  6. [6]
    [PDF] Data Encapsulation, Protocol Data Units (PDUs) and Service Data ...
    Protocol Data Units (PDUs) are messages with headers and data. Service Data Units (SDUs) are the data within PDUs, like the message body or payload.
  7. [7]
    ISO/IEC 7498-1:1994 - Basic Reference Model
    In stockThe model provides a common basis for the coordination of standards development for the purpose of systems interconnection.
  8. [8]
    RFC 1122 - Requirements for Internet Hosts - Communication Layers
    This is one RFC of a pair that defines and discusses the requirements for Internet host software. This RFC covers the communications protocol layers.
  9. [9]
    What is a Protocol Data Unit (PDU)? | Definition from TechTarget
    Feb 18, 2025 · PDUs for commonly used protocols ; Segment, Transport layer, Transport layer ; Datagram, Transport layer, Transport layer ; Packet, Transport layer ...
  10. [10]
    PDU and SDU Explained: Protocol Data Units and Service Data Units
    Definition: A Service Data Unit (SDU) is the data passed from an upper layer to a lower layer that the lower layer uses for further processing. An SDU is a unit ...
  11. [11]
    An Introduction to IEEE 802.11 Concepts & Definitions.
    Jul 1, 1992 · MAC Service Data Unit (MSDU): The MAC Service Data Unit is infonnation that is delivered as a unit between MAC service access points.
  12. [12]
  13. [13]
    IEEE 802.3-2022 - IEEE SA
    Jul 29, 2022 · Define Ethernet MAC parameters for 1.6 Tb/s. Define physical layer specifications, and management parameters for the transfer of Ethernet format ...
  14. [14]
    IEEE 802.11n aggregation performance study for the multicast
    Thus, two types of frame aggregations are defined: MAC Service Data Unit Aggregation (A-MSDU) and MAC Protocol Data Unit Aggregation (A-MPDU). As frame ...
  15. [15]
    IEEE 802.11bh-2024 - IEEE SA
    Jun 3, 2025 · This standard defines one medium access control (MAC) and several physical layer (PHY) specifications for wireless connectivity for fixed, portable, and moving ...
  16. [16]
    Fragmentation in Network Layer - GeeksforGeeks
    Oct 11, 2025 · This limit is known as the Maximum Transmission Unit (MTU). Fragmentation Process: Only the data part of the datagram is split into fragments.
  17. [17]
    What is the OSI Model? The 7 Layers Explained - BMC Software
    Jul 31, 2024 · Packet fragmentation and reassembly: Splits packets exceeding maximum transmission unit (MTU) limits into smaller units for transmission ...What Is The Osi Model? The 7... · Layer 2: The Data Link Layer · Layer 1: The Physical Layer
  18. [18]
    RFC 791: Internet Protocol
    ### Summary of Fragmentation in RFC 791
  19. [19]
    RFC 8201: Path MTU Discovery for IP version 6
    ### Summary of Fragmentation in IPv6 from RFC 8201
  20. [20]
    [PDF] Ethernet Jumbo Frames
    Nov 12, 2009 · More specifically, fragmentation of the packet may occur when a given interface in the path of the frame is not capable of sending the full size ...
  21. [21]
    RFC 6691 - TCP Options and Maximum Segment Size (MSS)
    This memo discusses what value to use with the TCP Maximum Segment Size (MSS) option, and updates RFC 879 and RFC 2385.
  22. [22]
    Protocol Data Units - CompTIA Network+ N10-007 - 1.3
    A protocol data unit, or a PDU, is a unit of information that is sent by a protocol at a particular OSI layer. For example, a switch is going to operate on ...Missing: definition | Show results with:definition
  23. [23]
    What Is MTU & MSS | Fragmentation Explained - Imperva
    The fragmentation process takes place at the IP layer (OSI layer 3), which marks packets as fragmented. This ensures the IP layer of the destination host knows ...
  24. [24]
    RFC 1191 - Path MTU discovery - IETF Datatracker
    This memo describes a technique for dynamically discovering the maximum transmission unit (MTU) of an arbitrary internet path.Missing: constraints | Show results with:constraints
  25. [25]
    RFC 2923 - TCP Problems with Path MTU Discovery
    This memo catalogs several known TCP implementation problems dealing with Path MTU Discovery [RFC1191], including the long-standing black hole problem.<|separator|>
  26. [26]
    [PDF] Comparison of 40G RDMA and Traditional Ethernet Technologies
    Generally, jumbo frames are supported at 9000 MTU. This support was introduced with gigabit Ethernet networking; now that the rates have increased 40x, however ...
  27. [27]
    [PDF] ETSI TS 138 323 V16.2.0 (2020-11)
    The maximum supported size of a PDCP SDU is 9000 bytes. The maximum supported size of a PDCP Control PDU is. 9000 bytes. 4.3.2 Services expected from lower ...