Step through PFC, ECN, and DCQCN as a coordinated chain on a leaf-spine RoCEv2 fabric. Each stage lights up with the exact mechanism, real default values, and Wireshark-style frame capture. Pillar 11 (obj 2.3, 30% domain).
Press Step to walk one stage at a time, or Play to auto-advance. The canvas shows a 2-tier leaf-spine topology with sender (GPU server) and receiver.
PFC and ECN/DCQCN address the same problem (congestion) at different layers and with different trade-offs. The system works best when ECN/DCQCN absorbs most congestion so PFC rarely fires.
nv set qos roce auto-configures PFC on SP3, ECN on TC0+TC3 with the exact thresholds, CNP on TC6 strict priority, DSCP trust, and buffer pools. No per-parameter tuning needed for baseline lossless RoCEv2.
These are the values shown in nv show qos roce on a Spectrum switch with the default lossless config. Numbers tagged [know] are from the pillars data source (pillar n10/n11); numbers tagged [inferred] are illustrative.
| Parameter | Value | Mechanism | Source |
|---|---|---|---|
| ECN min-threshold (Kmin) | 146.48 KB | Buffer depth at which ECN marking begins (prob = 0 below this) | [know] pillars n10/n11, nv show qos roce |
| ECN max-threshold (Kmax) | 1.43 MB | Buffer depth at which ECN marking probability reaches 100% | [know] pillars n10/n11, nv show qos roce |
| ECN probability | 100% | Marks every eligible packet at or above Kmax | [know] nv show qos roce |
| ECN enabled-tc | TC0, TC3 | Traffic classes where ECN marking is active | [know] pillars n11 |
| PFC priority (switch-priority) | SP3 | The priority class that gets PAUSE frames (802.1Qbb) | [know] pillars n11 |
| RoCE data traffic class | TC3 | DSCP 26 maps to SP3 maps to TC3; DWRR 50% | [know] pillar n10 |
| CNP traffic class | TC6 (strict priority) | CNP always delivered before data; DSCP 48 maps to SP6 | [know] pillars n11 |
| RoCEv2 UDP port | 4791 | BTH carried in UDP/IP; L3-routable; LLDP App TLV protocol-id | [know] pillar n10 |
| DCQCN rate curve | Illustrative only | Multiplicative decrease / additive increase; exact curve is NIC firmware-specific | [inferred] shape documented in RFC; exact params = vendor |
| PFC watchdog polling | 100 ms, robustness 3 | Detects DEADLOCK state per TC; auto-drops pause frames to break storm | [know] pillar n19 |
| Spectrum-4 SN5600 packet buffer | 128 MB shared | On-chip buffer; lossless mode carves a dedicated pool for SP3 | [know] pillar n9 |
Recall drill on PFC / ECN / DCQCN. Click an answer, then read the explanation before moving on.