Sub topic 12
Minimum Frame Size and Slot Time
This chapter assumes you know transmission delay, propagation delay, bandwidth, and the purpose of CSMA/CD. It also assumes that a bit-time is the time needed to transmit one bit.
Why Ethernet needs a minimum frame
In half-duplex Ethernet, a station listens for a collision while transmitting. A collision can occur at the far end of the network and then travel back to the sender. The sender must still be transmitting when that signal returns. Otherwise, it may believe that the frame was sent successfully.
Let:
- \(B\) be the link bandwidth in bits per second.
- \(T_{RTT}\) be the worst-case round-trip propagation time.
- \(L\) be the frame length in bits.
The transmission time for the frame is:
\[ T_{tx} = \frac{L}{B} \]
To guarantee collision detection:
\[ T{tx} \geq T{RTT} \]
Therefore:
\[ L{\min} = B \times T{RTT} \]
The Ethernet slot time is the time required to transmit this minimum frame. In classic Ethernet, the slot time is 512 bit-times.
Worked example
For a 10 Mbps Ethernet network with a round-trip time of 51.2 microseconds:
\[ L_{\min} = 10,000,000 \times 51.2 \times 10^{-6} \]
\[ L_{\min} = 512\text{ bits} = 64\text{ bytes} \]
The 64-byte minimum includes the destination address, source address, type or length field, payload, and frame check sequence. It does not include the preamble or interframe gap.
A standard Ethernet frame has 14 bytes of header and 4 bytes of frame check sequence. Thus, if the payload is shorter than 46 bytes, Ethernet adds padding:
\[ 14 + 46 + 4 = 64\text{ bytes} \]
bandwidth_bps = 10_000_000
round_trip_time_s = 51.2e-6
minimum_bits = round(bandwidth_bps * round_trip_time_s)
minimum_bytes = minimum_bits // 8
print(minimum_bits) # 512
print(minimum_bytes) # 64Slot time and collision detection
The sequence is:
If the sender finishes before the collision returns, CSMA/CD cannot detect that collision. The minimum frame and slot time prevent this failure in a bounded Ethernet network.
Modern switched Ethernet normally uses full-duplex links, where collisions do not occur and CSMA/CD is disabled. The minimum frame format remains part of Ethernet compatibility rules.
Exercise
A 100 Mbps Ethernet link has a worst-case round-trip time of 5.12 microseconds. What minimum frame size is required?
Show answer
L = 100,000,000 × 5.12 × 10^-6 = 512 bits, or 64 bytes.