The Link, chapter 4 of 36
Signals on Copper and Glass
ITU-T G.652 describes the fiber of almost every terrestrial network and does not say how fast light travels in it.
Our SYN leaves the home router as a 74-byte Ethernet frame. With preamble, checksum, and the nominal interpacket gap it would occupy a 400 Gbit/s link for 1.96 nanoseconds, and after that it spends almost five microseconds in every kilometer of glass. On no link of the path do those 592 bits travel the way they sat in memory. Each link re-encodes them, adds redundancy, and turns the result into voltages, light levels, or the phase of a light wave.
- 9.5 dB
- of electrical signal-to-noise ratio that PAM4 gives up for two bits per symbol
- 1 in 80
- wrong bits that a 400ZR module's FEC accepts at its input, with 10^-15 at its output
- 4.9 µs
- per kilometer of fiber, at the group index of 1.4682 that one G.652.D product sheet gives at 1550 nm
Six octets in four line codes
The destination address of our SYN as raw bits and in four of the chapter's line codes. Pick an octet and a code, count symbols against bits, and find the edges a receiver locks its clock onto.
What does a gigabit per second count?
Two Ethernet PHYs hand the MAC exactly 1,000 Mbit/s and agree on almost nothing else. 1000BASE-X sends one serial stream of 1.25 billion two-level symbols per second (IEEE 802.3-2022, Clause 36). 1000BASE-T sends 125 million symbols per second on each of four twisted pairs, in both directions at once, and each symbol takes one of five voltage levels [Mick1998].
The bit rate is what the MAC sees. The symbol rate, counted in baud, is what the medium has to carry. Far above the noise, one more bit per symbol needs four times the signal-to-noise ratio, about 6 dB [Shannon1948].
Why not send the bits as they are?
A receiver must find the bit boundaries, so it needs transitions to lock its clock onto, and a long run of zeros has none. It usually sits behind a transformer or an AC-coupled amplifier that passes no direct current, so the signal has to average out. Franaszek and Widmer of IBM opened their 1982 patent application with that job description [Franaszek1984].
Ethernet answered four times. Manchester gives every bit cell a transition and costs two signal elements per bit. 4B/5B and 8B/10B cost 25 percent. 64B/66B leaves the transitions to a scrambler and spends 3.125 percent on a 2-bit sync header [Luckoor2001].
Why does 400 Gbit/s Ethernet use four signal levels?
A 400GBASE-DR4 lane carries 106.25 Gbit/s. The MAC's 400 Gbit/s grows in 64B/66B, shrinks in 256B/257B transcoding, and grows again for the RS(544,514) parity, which makes 425 Gbit/s on four fibers. As two-level NRZ each lane would need 106.25 GBd. With four levels each symbol carries two bits, and the lane runs at 53.125 GBd.
Four levels in the same swing leave three eyes, each a third as tall, and PAM4 gives up about 9.5 dB of electrical signal-to-noise ratio. Gray order (IEEE 802.3-2022, Clause 120) keeps the damage small: a wrong symbol almost always costs one bit [Anslow2016].
How can a link that makes errors deliver none?
It corrects them before the MAC sees them. RFC 3819, Section 8.1 counts FEC as effectively part of the physical layer. Since 100 Gbit/s the workhorse is Reed-Solomon over 10-bit symbols: RS(528,514) corrects up to 7 damaged symbols anywhere in a 5,280-bit codeword (IEEE 802.3-2022, Clause 91).
Transcoding paid for it. Four 64B/66B blocks carry eight sync bits, 256B/257B replaces them with one, and 20 such blocks fill the 5,140 data bits of a codeword exactly. The lane stays at 25.78125 Gbit/s with or without FEC [Gustlin2012]. At 400 Gbit/s RS(544,514) is mandatory and corrects up to 15.
How do 400 gigabits cross 120 kilometers?
In 2005 a spool of dispersion compensating fiber undid the chromatic dispersion of each link (RFC 4054, Section 4.4). Coherent transmission moved that job into silicon. The receiver measures amplitude and phase of the light in both polarizations, and a DSP inverts the dispersion digitally. A 400ZR module accepts up to 2,400 ps/nm, at 17 ps/(nm km) about 140 km of G.652 fiber ([OIF2024], Section 13.1).
The modulation is DP-16QAM at 59.84375 GBd, eight bits per dual-polarization symbol, 478.75 Gbit/s on the line for a 400 Gbit/s client. Its concatenated FEC accepts one wrong bit in 80 and delivers 10^-15 ([OIF2024], Section 10).
Where do the 12 milliseconds go?
Mostly into glass. With a group index of 1.4682, light covers about 204 km of fiber per millisecond [Corning2014]. A round trip of about 12 ms allows at most about 1,225 km of fiber in each direction, if nothing else took any time at all.
The fiber is never straight. Bozkurt and colleagues found the median minimum ping time 3.1 times what light in a vacuum would need along the great circle [Bozkurt2017]. If our path were inflated like their median ping, 12 ms would put the server about 580 km away as the crow flies.
The book keeps asking
This chapter has 5,640 words and 12 questions. These 6 are answered only in the book and the audiobook.
- What happens inside a twisted pair?
- Why does light stay in the glass, and at which wavelength?
- What exactly is plugged into the switch port?
- How many wavelengths share one fiber?
- What is OTN, and does our packet need it?
- What changes under an ocean?
Open the sources
- IEEE 802.3-2022 IEEE Standard for Ethernet
- [Shannon1948] A Mathematical Theory of Communication. Bell System Technical Journal 27, pp. 379-423 and 623-656
- [Franaszek1984] Byte oriented DC balanced (0,4) 8B/10B partitioned block transmission code. US Patent 4,486,739, filed 30 June 1982, issued 4 December 1984, assigned to IBM
- ITU-T G.652 Characteristics of a single-mode optical fibre and cable, edition 10.0 (08/2024)
- ITU-T G.694.1 Spectral grids for WDM applications: DWDM frequency grid, edition 3.0 (10/2020)
- [OIF2024] Implementation Agreement 400ZR, OIF-400ZR-03.0 (8 October 2024)
- RFC 9801 Private Line Emulation over Packet Switched Networks
All 41 documents this chapter cites, each with a link to its publisher and a copy kept here.
