# Service data unit

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Service_data_unit
> Markdown URL: https://mediated.wiki/source/Service_data_unit.md
> Source: https://en.wikipedia.org/wiki/Service_data_unit
> Source revision: 1177441725
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

In [Open Systems Interconnection](/source/Open_Systems_Interconnection) (OSI) terminology, a **service data unit** (**SDU**) is a unit of data that has been passed down from an [OSI layer](/source/OSI_model) or [sublayer](/source/Sublayer) to a lower layer. This unit of data (SDU) has not yet been [encapsulated](/source/Encapsulation_(networking)) into a [protocol data unit](/source/Protocol_data_unit) (PDU) by the lower layer. That SDU is then encapsulated into the lower layer's PDU and the process continues until reaching the PHY, [physical](/source/Physical_layer), or lowest layer of the OSI *stack*.

The SDU can also be thought of as a set of data that is sent by a user of the services of a given layer, and is transmitted semantically unchanged to a peer service user.

## SDU and PDU

It differs from a PDU in that the PDU specifies the data that will be sent to the peer protocol layer at the receiving end, as opposed to being sent to a lower layer.

The SDU accepted by any given layer **(n)** from layer **(n+1)** above, is a PDU of the layer **(n+1)** above. In effect the SDU is the '[payload](/source/Payload_(computing))' of a given PDU. The layer **(n)** may add [headers](/source/Header_(computing)) or [trailers](/source/Trailer_(computing)), or both, to the SDU and may do other kinds of reformatting, recoding, splitting or transformations on the data, forming one or more layer **(n)** PDUs. The added headers or trailers and other possible changes are part of the process that makes it possible to get data from a source to a destination. Layer **(n)** may also generate additional layer **(n)** PDUSs. Each unit of data that layer **(n)** gives to layer **(n-1)** below is in turn handed down as a layer **(n-1)** SDU.

When the PDU of layer **(n+1)**, plus any metadata layer **(n)** would add; would exceed the maximum size a layer-n PDU can be (called layer **(n)**'s [maximum transmission unit](/source/Maximum_transmission_unit)); the SDU must be split into multiple payloads for layer **(n)**; a process known as [fragmentation](/source/IP_fragmentation).

### MAC SDU

MAC SDUS or MSDUS are data units transmitted between other [Media access controllers](/source/Medium_access_control) on a lower OSI Layer. The PDU counterpart [MAC PDU](/source/MAC_PDU) that does the same thing but on the same OSI Layer. When there are larger MAC PDU's as MAC SDU's in the system, the MAC PDU includes more MAC SDU's, because of [packet aggregation](/source/Packet_aggregation). If the MAC PDU's are smaller then the MAC SDU's includes more MAC PDU's, because of [packet segmentation](/source/Packet_segmentation).[1]

## See also

- [Federal Standard 1037C](/source/Federal_Standard_1037C)

## References

1. ["Wimax MAc-Upperlayer Services"](http://www.comlab.hut.fi/opetus/4210/presentations/37_wimax_mac.pdf). *www.comlab.hut.fi*. pp. 12, 13, 14 and 15.

---
Adapted from the Wikipedia article [Service data unit](https://en.wikipedia.org/wiki/Service_data_unit) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Service_data_unit?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
