When Retry Stops Being Free: Tracing a Pooled Memory Outage on a 128 GT/s CXL Link

A pooled memory device passed every electrical and flit-level compliance check, and then one of its attached hosts declared a viral condition during a routine afternoon load peak. The other hosts on the same multi-headed device kept running, which is the most useful clue in the whole investigation. Nothing broke in the silicon. A margin assumption made at qualification time stopped holding, and the recovery layers above it had been sized as if it never would.

The trigger is not the cause

The trigger was mundane: a change in rack airflow raised retimer temperature on one host's channel by enough to shrink its PAM4 eye. At 128 GT/s that shrinkage moves the channel from comfortably inside the forward error correction budget to the edge of it. FEC still corrected most symbols, CRC caught the rest, and link layer retry replayed them, so the link stayed up and logs showed only a rising correctable error count that nobody alarmed on. If the analysis stops here, the report reads as "thermal event, fix the airflow", and the same failure returns at the next site with a slightly longer cable. The airflow change is the trigger. It explains when the failure happened, not why the system had no room to absorb it.

The assumption underneath

The design assumed that bit errors at the receiver arrive independently, so the retry rate measured on a static compliance channel at room temperature bounds the rate seen in the field. PAM4 receivers rely on decision feedback equalization, and a wrong decision feeds back into the next ones, so at reduced margin errors arrive in correlated bursts rather than as isolated flips. A burst that spans more symbols than the FEC interleave can correct turns into consecutive CRC failures, and in latency-optimized flit mode each failed half triggers its own replay request. The replay buffer and the retry counter thresholds had been sized for the independent case. Under bursts the counter hit its limit, the link fell into recovery, and recovery at the top data rate meant renegotiating equalization, which by our estimate ran into single-digit milliseconds per cycle and repeated because the thermal condition persisted. The host's memory transaction timeout had been set on the implicit belief that recovery is rare and short, so it fired first and escalated to viral, which is exactly what the containment logic is designed to do once the timeout it trusts has expired.

What actually kept the other hosts alive

Isolation held because the device treated each head as an independent failure domain: the viral state, poison propagation and the fabric manager's view of the failed port were all scoped per head, so a recovery loop on one port never stalled the shared media controller or the other ports' replay paths. That scoping is the part of the design that worked, and it worked because someone assumed a port could fail. The weak point was one layer down, where nobody assumed a port could stay degraded and up at the same time. Retry, retrain and containment are all valid recovery stages, but they were ordered by convention rather than by measured time, so the slowest stage ended up racing a timeout that belonged to a faster one.

The decision rule that comes out of this is that the compliance programme, inherited from the PCIe electrical and compliance specifications that CXL builds its physical layer on, must measure retry behaviour under a stressed eye with injected burst errors, and the platform must prove that the worst observed recovery time stays below the device timeout, which stays below the host timeout. If that ordering fails at full width, the link should drop to reduced width or a lower rate before the retry counter saturates instead of retraining at the speed that is failing. The cost is bandwidth on one host during a thermal excursion, which our estimate puts at a fraction of a percent of operating hours, and the remaining decision is whether your pooling SLA tolerates a slower head more than it tolerates losing one.

Why not just raise the host memory timeout so recovery always finishes first?

Because the timeout is also what bounds how long a genuinely dead device can hold host threads hostage, so stretching it trades a false viral for a slower response to a real one. Keep the timeout, shorten the recovery path by degrading width or rate early, and verify the ordering with injected bursts rather than with a clean compliance channel.

Back to CXL4Cert · Domains

← Back to CXL4Cert
Engineering & Architecture Brief

When Retry Stops Being Free: Tracing a Pooled Memory Outage on a 128 GT/s CXL Link

A pooled memory device passed every electrical and flit-level compliance check, and then one of its attached hosts declared a viral condition during a routine afternoon load peak. The other hosts on the same multi-headed device kept running, which is the most useful clue in the whole investigation. Nothing broke in the silicon. A margin assumption made at qualification time stopped holding, and the recovery layers above it had been sized as if it never would.

The trigger is not the cause

The trigger was mundane: a change in rack airflow raised retimer temperature on one host's channel by enough to shrink its PAM4 eye. At 128 GT/s that shrinkage moves the channel from comfortably inside the forward error correction budget to the edge of it. FEC still corrected most symbols, CRC caught the rest, and link layer retry replayed them, so the link stayed up and logs showed only a rising correctable error count that nobody alarmed on. If the analysis stops here, the report reads as "thermal event, fix the airflow", and the same failure returns at the next site with a slightly longer cable. The airflow change is the trigger. It explains when the failure happened, not why the system had no room to absorb it.

The assumption underneath

The design assumed that bit errors at the receiver arrive independently, so the retry rate measured on a static compliance channel at room temperature bounds the rate seen in the field. PAM4 receivers rely on decision feedback equalization, and a wrong decision feeds back into the next ones, so at reduced margin errors arrive in correlated bursts rather than as isolated flips. A burst that spans more symbols than the FEC interleave can correct turns into consecutive CRC failures, and in latency-optimized flit mode each failed half triggers its own replay request. The replay buffer and the retry counter thresholds had been sized for the independent case. Under bursts the counter hit its limit, the link fell into recovery, and recovery at the top data rate meant renegotiating equalization, which by our estimate ran into single-digit milliseconds per cycle and repeated because the thermal condition persisted. The host's memory transaction timeout had been set on the implicit belief that recovery is rare and short, so it fired first and escalated to viral, which is exactly what the containment logic is designed to do once the timeout it trusts has expired.

What actually kept the other hosts alive

Isolation held because the device treated each head as an independent failure domain: the viral state, poison propagation and the fabric manager's view of the failed port were all scoped per head, so a recovery loop on one port never stalled the shared media controller or the other ports' replay paths. That scoping is the part of the design that worked, and it worked because someone assumed a port could fail. The weak point was one layer down, where nobody assumed a port could stay degraded and up at the same time. Retry, retrain and containment are all valid recovery stages, but they were ordered by convention rather than by measured time, so the slowest stage ended up racing a timeout that belonged to a faster one.

The decision rule that comes out of this is that the compliance programme, inherited from the PCIe electrical and compliance specifications that CXL builds its physical layer on, must measure retry behaviour under a stressed eye with injected burst errors, and the platform must prove that the worst observed recovery time stays below the device timeout, which stays below the host timeout. If that ordering fails at full width, the link should drop to reduced width or a lower rate before the retry counter saturates instead of retraining at the speed that is failing. The cost is bandwidth on one host during a thermal excursion, which our estimate puts at a fraction of a percent of operating hours, and the remaining decision is whether your pooling SLA tolerates a slower head more than it tolerates losing one.

Technical FAQ: Why not just raise the host memory timeout so recovery always finishes first?

Because the timeout is also what bounds how long a genuinely dead device can hold host threads hostage, so stretching it trades a false viral for a slower response to a real one. Keep the timeout, shorten the recovery path by degrading width or rate early, and verify the ordering with injected bursts rather than with a clean compliance channel.

Related Architecture Specifications (CXLGATEWAY): cxlinfra.com · cxlvault.com · cxl7.com

More Technical Articles on cxl4cert.com

Eliminating Datacenter Memory Stranding: Empirical Evaluation of CXL 3.1 Dynamic Memory Pooling →End-to-End Latency Overhead and Throughput Scaling across Multi-Tier CXL Switch Topologies →When the FEC Stops Seeing Random Errors: A Failure Analysis of a Pooled CXL Link at 128 GT/s →