{"id":20516,"date":"2026-10-20T02:30:21","date_gmt":"2026-10-20T02:30:21","guid":{"rendered":"https:\/\/www.fibermall.com\/blog\/?p=20516"},"modified":"2026-10-20T02:30:25","modified_gmt":"2026-10-20T02:30:25","slug":"how-roce-switches-build-an-end-to-end-lossless-network-for-rdma","status":"publish","type":"post","link":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm","title":{"rendered":"How RoCE Switches Build an End-to-End Lossless Network for RDMA"},"content":{"rendered":"\n<p>As AI clusters expand from hundreds to thousands of GPUs, network performance has become a critical factor in distributed training efficiency. High-speed Ethernet networks must deliver more than raw bandwidth. They also need predictable latency, effective congestion control, and reliable transport for RDMA traffic.<\/p>\n\n\n\n<p>Remote Direct Memory Access (RDMA) enables servers to transfer data directly between memory regions with minimal CPU involvement. When deployed over Converged Ethernet (RoCE), RDMA combines high-performance data movement with the scalability and interoperability of Ethernet infrastructure.<\/p>\n\n\n\n<p>However, conventional Ethernet does not inherently guarantee lossless transmission. Bursty traffic, switch buffer congestion, and simultaneous GPU communication can cause packet loss, increasing recovery overhead and disrupting application performance.<\/p>\n\n\n\n<p>A high-performance RoCE switch helps address these challenges through coordinated traffic classification, Priority Flow Control (PFC), intelligent buffer management, Explicit Congestion Notification (ECN), and endpoint-based congestion control algorithms such as DCQCN and RTT-based congestion control.<\/p>\n\n\n\n<p>This article explains how these technologies work together to build an end-to-end, low-loss RDMA network for AI clusters and large-scale GPU training.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_RDMA_Needs_a_Lossless_Network\" >Why RDMA Needs a Lossless Network<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Understanding_RDMA_and_RoCE\" >Understanding RDMA and RoCE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_Packet_Loss_Matters_for_RDMA\" >Why Packet Loss Matters for RDMA<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Spine-Leaf_RoCE_Lossless_Architecture\" >Spine-Leaf RoCE Lossless Architecture<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#How_the_Architecture_Works\" >How the Architecture Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_End-to-End_Coordination_Matters\" >Why End-to-End Coordination Matters<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#AI_Server_RoCE_NIC_Traffic_Classification\" >AI Server RoCE NIC: Traffic Classification<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Separating_RDMA_Traffic_from_Regular_Ethernet_Traffic\" >Separating RDMA Traffic from Regular Ethernet Traffic<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Example_Traffic_Classification_Policy\" >Example Traffic Classification Policy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_Consistent_Classification_Is_Critical\" >Why Consistent Classification Is Critical<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Switch_Lossless_Forwarding_PFC_Buffer_Isolation_XOFFXON_and_Headroom\" >Switch Lossless Forwarding: PFC, Buffer Isolation, XOFF\/XON, and Headroom<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Priority_Flow_Control_PFC\" >Priority Flow Control (PFC)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#How_PFC_Works\" >How PFC Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#XOFF_and_XON_Thresholds\" >XOFF and XON Thresholds<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Buffer_Isolation_and_Shared_Buffer_Management\" >Buffer Isolation and Shared Buffer Management<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_Headroom_Matters\" >Why Headroom Matters<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Limitations_of_PFC\" >Limitations of PFC<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Congestion_Detection_ECN_and_DCQCN\" >Congestion Detection: ECN and DCQCN<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#How_ECN_Detects_Congestion\" >How ECN Detects Congestion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#How_DCQCN_Controls_the_Sending_Rate\" >How DCQCN Controls the Sending Rate<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#ECN_DCQCN_Workflow\" >ECN + DCQCN Workflow<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_ECN_and_PFC_Work_Together\" >Why ECN and PFC Work Together<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#RTT-Based_Proactive_Congestion_Control\" >RTT-Based Proactive Congestion Control<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#How_RTT-Based_Congestion_Detection_Works\" >How RTT-Based Congestion Detection Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Proactive_vs_Reactive_Congestion_Control\" >Proactive vs. Reactive Congestion Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#RTT-Based_Congestion_Control_in_Modern_RoCE_Fabrics\" >RTT-Based Congestion Control in Modern RoCE Fabrics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_RTT-Based_Control_Matters_for_GPU_Training\" >Why RTT-Based Control Matters for GPU Training<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#FAQ_RoCE_Switches_and_Lossless_RDMA_Networks\" >FAQ: RoCE Switches and Lossless RDMA Networks<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#What_is_a_RoCE_switch\" >What is a RoCE switch?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Does_RoCE_require_a_completely_lossless_network\" >Does RoCE require a completely lossless network?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#What_is_the_difference_between_PFC_and_ECN_in_RoCE\" >What is the difference between PFC and ECN in RoCE?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_is_DCQCN_important_for_RDMA_networking\" >Why is DCQCN important for RDMA networking?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Can_400G_and_800G_Ethernet_switches_support_RoCE\" >Can 400G and 800G Ethernet switches support RoCE?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Why_is_Spine-Leaf_architecture_suitable_for_AI_cluster_networking\" >Why is Spine-Leaf architecture suitable for AI cluster networking?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#What_is_the_difference_between_DCQCN_and_RTT-based_congestion_control\" >What is the difference between DCQCN and RTT-based congestion control?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Is_enabling_PFC_enough_to_build_a_lossless_RoCE_network\" >Is enabling PFC enough to build a lossless RoCE network?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_RDMA_Needs_a_Lossless_Network\"><\/span><strong>Why RDMA Needs a Lossless Network<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Understanding_RDMA_and_RoCE\"><\/span><strong>Understanding RDMA and RoCE<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>RDMA allows a network adapter to transfer data directly between the memory of two servers without requiring the CPU to process every data transfer through the conventional operating-system networking stack.<\/p>\n\n\n\n<p>Compared with traditional socket-based communication, RDMA can provide:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Lower communication latency and CPU overhead.<\/li>\n\n\n\n<li>Higher throughput for large-scale data transfers.<\/li>\n\n\n\n<li>Efficient communication between distributed GPU servers.<\/li>\n\n\n\n<li>Better utilization of high-speed 100G, 200G, 400G, and 800G network infrastructure.<\/li>\n<\/ul>\n\n\n\n<p>RoCE extends RDMA functionality to Ethernet networks. In particular, RoCEv2 uses UDP\/IP encapsulation, allowing RDMA traffic to traverse Layer 3 IP networks where routing and congestion-control requirements are properly addressed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Packet_Loss_Matters_for_RDMA\"><\/span><strong>Why Packet Loss Matters for RDMA<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Traditional Ethernet networks are designed to tolerate packet loss, with protocols such as TCP providing retransmission and congestion recovery.<\/p>\n\n\n\n<p>RoCE transport handles packet loss differently. Depending on the NIC, transport mode, and recovery capabilities, packet loss can trigger retransmissions, timeouts, and additional recovery overhead.<\/p>\n\n\n\n<p>In distributed AI training, where GPUs frequently exchange gradients, parameters, and intermediate data, even a limited amount of packet loss can affect communication efficiency.<\/p>\n\n\n\n<p>Three common network challenges are especially important:<\/p>\n\n\n\n<p><strong>Incast Congestion: <\/strong>Multiple GPU servers simultaneously transmit data toward a shared destination, creating sudden traffic bursts and queue buildup.<\/p>\n\n\n\n<p><strong>Buffer Overflow:<\/strong>&nbsp;When incoming traffic temporarily exceeds the available forwarding capacity, switch queues can fill and packets may be dropped.<\/p>\n\n\n\n<p><strong>Head-of-Line Blocking: <\/strong>Congestion affecting one traffic class or forwarding path can delay otherwise uncongested traffic when buffering and flow-control mechanisms are not properly designed.<\/p>\n\n\n\n<p>A RoCE lossless network aims to minimize congestion-related packet loss while keeping latency and throughput predictable.<\/p>\n\n\n\n<p>Importantly, lossless Ethernet is an engineered operating objective, not an unconditional guarantee of zero packet loss. Effective deployment requires coordination between NICs, switches, congestion-control mechanisms, and application traffic patterns.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Spine-Leaf_RoCE_Lossless_Architecture\"><\/span><strong>Spine-Leaf RoCE Lossless Architecture<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>A Spine-Leaf architecture is widely used in modern AI data centers because it provides scalable bandwidth, predictable hop counts, and multiple forwarding paths between servers.<\/p>\n\n\n\n<p>In a typical <a href=\"https:\/\/www.fibermall.com\/blog\/rocev2-ultimate-guide-to-low-latency.htm\" target=\"_blank\" rel=\"noreferrer noopener\">RoCEv2 network<\/a>, GPU servers equipped with RDMA-capable NICs connect to Leaf switches, while Spine switches interconnect the Leaf layer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_the_Architecture_Works\"><\/span><strong>How the Architecture Works<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/spine-layer-1024x640.png\" alt=\"spine layer\" class=\"wp-image-20519\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/spine-layer-1024x640.png 1024w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/spine-layer-300x187.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/spine-layer-768x480.png 768w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/spine-layer.png 1127w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Figure 1. Simplified Spine-Leaf RoCE architecture with multipath connectivity between GPU server groups. Additional Leaf and Spine switches can be added as the cluster scales.<\/em><\/figcaption><\/figure>\n\n\n\n<p>Each Leaf switch provides high-speed connectivity to GPU servers through Ethernet interfaces such as 100G, 200G, 400G, or 800G.<\/p>\n\n\n\n<p>The Spine layer provides high-capacity interconnection between Leaf switches, enabling RDMA traffic to move between server groups.<\/p>\n\n\n\n<p>A typical end-to-end data path follows:<\/p>\n\n\n\n<p>GPU Server A \u2192 RoCE NIC \u2192 Leaf Switch A \u2192 Spine Switch \u2192 Leaf Switch B \u2192 RoCE NIC \u2192 GPU Server B<\/p>\n\n\n\n<p>Every RoCE-capable forwarding point along this path must apply compatible traffic classification, queue management, and congestion-control policies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_End-to-End_Coordination_Matters\"><\/span><strong>Why End-to-End Coordination Matters<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Lossless behavior cannot be achieved by enabling PFC on a single switch.<\/p>\n\n\n\n<p>A properly designed RoCE network requires:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Consistent traffic classification across NICs and switches.<\/li>\n\n\n\n<li>Correct priority-to-queue mappings on each forwarding device.<\/li>\n\n\n\n<li>Appropriate buffer allocation for burst absorption.<\/li>\n\n\n\n<li>ECN marking and supported endpoint congestion response.<\/li>\n\n\n\n<li>PFC configuration where required by the lossless design.<\/li>\n\n\n\n<li>Sufficient fabric bandwidth and traffic distribution across paths.<\/li>\n<\/ul>\n\n\n\n<p>For high-performance GPU training, balanced or non-blocking Spine-Leaf designs can help limit persistent oversubscription, while ECMP and appropriate flow distribution improve path utilization.<\/p>\n\n\n\n<p>Key takeaway: The goal is not simply to deploy high-speed RoCE switches, but to create a coordinated RDMA fabric from the transmitting NIC to the receiving NIC.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"AI_Server_RoCE_NIC_Traffic_Classification\"><\/span><strong>AI Server RoCE NIC: Traffic Classification<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The foundation of an end-to-end lossless network begins at the server network interface card.<\/p>\n\n\n\n<p>A <a href=\"https:\/\/www.fibermall.com\/sale-426037-10g-nic-intel-82599en-sr1.htm\" target=\"_blank\" rel=\"noreferrer noopener\">RoCE NIC<\/a> is responsible for generating RDMA traffic, applying traffic-class information, and implementing supported congestion-control behavior.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Separating_RDMA_Traffic_from_Regular_Ethernet_Traffic\"><\/span><strong>Separating RDMA Traffic from Regular Ethernet Traffic<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Modern AI servers may generate several types of traffic simultaneously, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RDMA data traffic for GPU communication.<\/li>\n\n\n\n<li>TCP\/IP traffic for management and application services.<\/li>\n\n\n\n<li>Storage traffic.<\/li>\n\n\n\n<li>Congestion-control notification packets.<\/li>\n<\/ul>\n\n\n\n<p>These traffic types may have different requirements for latency, throughput, and packet-loss tolerance.<\/p>\n\n\n\n<p>A RoCE network therefore uses Quality of Service (QoS) classification to map traffic into appropriate switch priorities and hardware queues.<\/p>\n\n\n\n<p>Two commonly used classification mechanisms are:<\/p>\n\n\n\n<p><strong>DSCP (Differentiated Services Code Point):<\/strong>&nbsp;A Layer 3 field in the IP header used to identify traffic classes across routed networks.<\/p>\n\n\n\n<p><strong>PCP (Priority Code Point):<\/strong>&nbsp;A three-bit priority field in an IEEE 802.1Q VLAN tag, commonly used for Layer 2 traffic prioritization.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example_Traffic_Classification_Policy\"><\/span><strong>Example Traffic Classification Policy<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Traffic Type<\/strong><\/td><td><strong>Example DSCP<\/strong><\/td><td><strong>Example Priority<\/strong><\/td><td><strong>Recommended Treatment<\/strong><\/td><\/tr><tr><td>RoCE RDMA data<\/td><td>24<\/td><td>3<\/td><td>Dedicated lossless-capable class<\/td><\/tr><tr><td>Congestion Notification Packets (CNP)<\/td><td>48<\/td><td>6<\/td><td>High-priority control traffic<\/td><\/tr><tr><td>Regular TCP\/IP<\/td><td>0<\/td><td>0<\/td><td>Best-effort or separately managed class<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>These values illustrate one vendor-documented QoS design. They are not universal RoCE requirements and must be matched to the deployed NICs, switches, and QoS policies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Consistent_Classification_Is_Critical\"><\/span><strong>Why Consistent Classification Is Critical<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Consider a GPU server transmitting RoCE traffic with DSCP 24.<\/p>\n\n\n\n<p>The connected Leaf switch must correctly map that value to the intended RDMA queue. When the packet travels through a Spine switch and reaches another Leaf switch, the same QoS treatment must remain consistent.<\/p>\n\n\n\n<p>If one switch maps the RDMA traffic into a best-effort queue, the packet may no longer receive the intended buffering, congestion marking, or flow-control behavior.<\/p>\n\n\n\n<p>Therefore, end-to-end QoS consistency is a prerequisite for predictable RoCE network performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Switch_Lossless_Forwarding_PFC_Buffer_Isolation_XOFFXON_and_Headroom\"><\/span><strong>Switch Lossless Forwarding: PFC, Buffer Isolation, XOFF\/XON, and Headroom<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After RDMA packets enter the switch fabric, the forwarding hardware must absorb bursts and handle temporary congestion without allowing buffers to overflow unnecessarily.<\/p>\n\n\n\n<p>This is where Priority Flow Control, buffer management, and headroom allocation become essential.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Priority_Flow_Control_PFC\"><\/span><strong>Priority Flow Control (PFC)<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>PFC, defined by IEEE 802.1Qbb, enables a switch to pause traffic on selected Ethernet priorities instead of stopping all traffic on a link.<\/p>\n\n\n\n<p>Unlike traditional Ethernet PAUSE, which affects the entire link, PFC provides finer-grained flow control.<\/p>\n\n\n\n<p>For example, if RDMA traffic uses priority 3, the switch can pause that priority while allowing other priorities to continue, subject to available resources and scheduling.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_PFC_Works\"><\/span><strong>How PFC Works<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"974\" height=\"472\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/A-congested-switch-uses-PFC.png\" alt=\"A congested switch uses PFC\" class=\"wp-image-20520\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/A-congested-switch-uses-PFC.png 974w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/A-congested-switch-uses-PFC-300x145.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/A-congested-switch-uses-PFC-768x372.png 768w\" sizes=\"(max-width: 974px) 100vw, 974px\" \/><figcaption class=\"wp-element-caption\"><em>Figure 2. A congested switch uses PFC to temporarily stop the upstream sender on the affected priority, helping protect ingress buffers from overflow.<\/em><\/figcaption><\/figure>\n\n\n\n<p>The basic sequence is:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>RDMA traffic enters a switch queue or priority group.<\/li>\n\n\n\n<li>Buffer occupancy increases as congestion develops.<\/li>\n\n\n\n<li>When a configured threshold is reached, the switch sends a PFC pause frame to its directly connected upstream neighbor.<\/li>\n\n\n\n<li>The upstream device temporarily stops transmitting traffic on the indicated priority.<\/li>\n\n\n\n<li>When buffer occupancy has sufficiently decreased, transmission can resume.<\/li>\n<\/ol>\n\n\n\n<p>Because PFC operates between adjacent Ethernet devices, it does not directly regulate the original RDMA sender across an entire multi-hop fabric.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"XOFF_and_XON_Thresholds\"><\/span><strong>XOFF and XON Thresholds<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Two concepts are commonly used to describe PFC buffer-control behavior:<\/p>\n\n\n\n<p><strong>XOFF Threshold:<\/strong>&nbsp;The buffer occupancy level at which a switch triggers PFC to pause traffic on the affected priority.<\/p>\n\n\n\n<p><strong>XON Threshold:<\/strong>&nbsp;The lower occupancy level at which the switch allows paused traffic to resume, commonly by transmitting a zero-quanta PFC frame or through expiration of the pause timer.<\/p>\n\n\n\n<p>The difference between these thresholds provides hysteresis, helping prevent rapid oscillation between pause and resume states.<\/p>\n\n\n\n<p>Correct threshold configuration is essential.<\/p>\n\n\n\n<p>If XOFF is triggered too late, packets already in flight may exhaust the remaining buffer space. If it is triggered too early, the network may experience unnecessary pauses and reduced utilization.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Buffer_Isolation_and_Shared_Buffer_Management\"><\/span><strong>Buffer Isolation and Shared Buffer Management<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>RoCE switches commonly use configurable buffer pools, priority groups, and traffic-class queues to manage different traffic types.<\/p>\n\n\n\n<p>For example, the network may allocate:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A lossless-capable buffer pool for RDMA traffic.<\/li>\n\n\n\n<li>Separate lossy or best-effort resources for conventional Ethernet traffic.<\/li>\n\n\n\n<li>Appropriate queue scheduling for congestion-control packets.<\/li>\n<\/ul>\n\n\n\n<p>Buffer isolation helps prevent unrelated traffic from consuming all the resources needed to support the RDMA class.<\/p>\n\n\n\n<p>However, dedicated buffer space does not eliminate congestion. Excessive bursts or sustained oversubscription can still overwhelm available resources.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Headroom_Matters\"><\/span><strong>Why Headroom Matters<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Headroom is additional buffer capacity reserved to absorb packets that continue arriving after a PFC pause request is triggered.<\/p>\n\n\n\n<p>A PFC pause frame cannot stop upstream traffic instantaneously. Propagation delay, device processing time, and data already in flight must all be considered.<\/p>\n\n\n\n<p>A simplified engineering model is:<\/p>\n\n\n\n<p>H_min \u2248 R \u00d7 T_response + H_margin<\/p>\n\n\n\n<p>Where:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>H_min = Minimum estimated headroom in bytes.<\/li>\n\n\n\n<li>R = Incoming traffic rate in bytes per second.<\/li>\n\n\n\n<li>T_response = Effective time before the upstream flow is stopped.<\/li>\n\n\n\n<li>H_margin = Additional allowance for packet size, bursts, and implementation-specific behavior.<\/li>\n<\/ul>\n\n\n\n<p>Actual headroom sizing depends on the switch architecture, cable distance, link speed, traffic patterns, and vendor-specific buffering model.<\/p>\n\n\n\n<p>At 400G or 800G, even very short reaction delays can translate into significant amounts of data in flight.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Limitations_of_PFC\"><\/span><strong>Limitations of PFC<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Although PFC helps protect RDMA traffic against packet loss, excessive use can introduce performance problems, including pause propagation, head-of-line blocking, and possible deadlock under unfavorable conditions.<\/p>\n\n\n\n<p>Therefore, a robust RoCE architecture should use PFC as a protective mechanism rather than its primary approach to controlling persistent congestion.<\/p>\n\n\n\n<p>The preferred engineering objective is to minimize unnecessary PFC activation through effective end-to-end congestion control.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Congestion_Detection_ECN_and_DCQCN\"><\/span><strong>Congestion Detection: ECN and DCQCN<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>PFC protects against buffer overflow by temporarily stopping traffic on a specific priority. However, repeatedly pausing traffic can increase latency and reduce network efficiency.<\/p>\n\n\n\n<p>To manage congestion more effectively, RoCE networks commonly combine Explicit Congestion Notification (ECN) with Data Center Quantized Congestion Notification (DCQCN).<\/p>\n\n\n\n<p>Together, these mechanisms allow the network to provide congestion feedback and enable the transmitting RDMA NIC to adjust its sending rate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_ECN_Detects_Congestion\"><\/span><strong>How ECN Detects Congestion<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>ECN is an IP-layer mechanism that signals congestion without necessarily dropping packets.<\/p>\n\n\n\n<p>An ECN-capable RoCE switch monitors queue occupancy or other supported congestion metrics. When congestion exceeds configured marking thresholds, the switch can mark eligible packets with the ECN Congestion Experienced (CE) codepoint.<\/p>\n\n\n\n<p>Instead of immediately discarding packets, the switch forwards the marked packets toward their destination, provided adequate buffer space remains.<\/p>\n\n\n\n<p>This gives the endpoint an opportunity to react to congestion before it develops into severe queue buildup or packet loss.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_DCQCN_Controls_the_Sending_Rate\"><\/span><strong>How DCQCN Controls the Sending Rate<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>DCQCN is a congestion-control algorithm commonly implemented in RDMA-capable NICs.<\/p>\n\n\n\n<p>It uses feedback from congestion-aware switches and receiving NICs to regulate the transmitting NIC&#8217;s sending rate.<\/p>\n\n\n\n<p>A simplified DCQCN feedback loop includes three functional roles:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Congestion Point (CP): A switch detecting congestion and marking eligible RoCEv2 packets with ECN.<\/li>\n\n\n\n<li>Notification Point (NP): The receiving RoCE NIC that detects ECN-marked traffic and generates Congestion Notification Packets (CNPs).<\/li>\n\n\n\n<li>Reaction Point (RP): The transmitting RoCE NIC that adjusts its injection rate after receiving CNP feedback.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ECN_DCQCN_Workflow\"><\/span><strong>ECN + DCQCN Workflow<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/ECN-provides-congestion-information-1024x590.png\" alt=\"ECN provides congestion information\" class=\"wp-image-20521\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/ECN-provides-congestion-information-1024x590.png 1024w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/ECN-provides-congestion-information-300x173.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/ECN-provides-congestion-information-768x443.png 768w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/ECN-provides-congestion-information.png 1187w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Figure 3. ECN provides congestion information, while DCQCN uses endpoint feedback to regulate the RDMA sender&#8217;s rate.<\/em><\/figcaption><\/figure>\n\n\n\n<p>The congestion-control process works as follows:<\/p>\n\n\n\n<p>Step 1: Traffic enters the network. The transmitting NIC sends RoCEv2 traffic toward the destination server through the Spine-Leaf fabric.<\/p>\n\n\n\n<p>Step 2: Congestion develops. A switch detects increasing queue occupancy caused by competing flows or temporary traffic bursts.<\/p>\n\n\n\n<p>Step 3: ECN marks packets. The switch marks eligible packets with the CE codepoint according to its configured ECN policy.<\/p>\n\n\n\n<p>Step 4: The receiver generates CNP feedback. The receiving NIC recognizes congestion-marked packets and sends a CNP to the transmitting NIC.<\/p>\n\n\n\n<p>Step 5: The sender adjusts its rate. The transmitting NIC uses its DCQCN algorithm to reduce its sending rate and then recover transmission capacity as congestion subsides.<\/p>\n\n\n\n<p>The objective is to reduce queue buildup while maintaining high throughput and avoiding repeated PFC activation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_ECN_and_PFC_Work_Together\"><\/span><strong>Why ECN and PFC Work Together<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>ECN and PFC address different stages of congestion.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Mechanism<\/strong><\/td><td><strong>PFC<\/strong><\/td><td><strong>ECN + DCQCN<\/strong><\/td><\/tr><tr><td>Primary purpose<\/td><td>Protect buffers from overflow<\/td><td>Regulate congestion at the source<\/td><\/tr><tr><td>Operating scope<\/td><td>Hop-by-hop Ethernet link<\/td><td>End-to-end congestion feedback<\/td><\/tr><tr><td>Trigger<\/td><td>PFC buffer thresholds<\/td><td>ECN congestion-marking policy<\/td><\/tr><tr><td>Response<\/td><td>Pause selected priority<\/td><td>Adjust RDMA sending rate<\/td><\/tr><tr><td>Main benefit<\/td><td>Reduce congestion-related packet drops<\/td><td>Reduce persistent congestion and queue buildup<\/td><\/tr><tr><td>Main limitation<\/td><td>Pause propagation and blocking<\/td><td>Feedback delay and tuning complexity<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>In a well-tuned RoCE network, ECN-based congestion control should typically act before congestion becomes severe enough to require sustained PFC intervention.<\/p>\n\n\n\n<p>The ECN marking policy must therefore be coordinated with buffer allocation, PFC thresholds, and NIC rate-control parameters.<\/p>\n\n\n\n<p>Simply enabling PFC and ECN independently does not guarantee the intended behavior.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"RTT-Based_Proactive_Congestion_Control\"><\/span><strong>RTT-Based Proactive Congestion Control<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Traditional DCQCN primarily relies on congestion signals generated after a switch detects queue buildup.<\/p>\n\n\n\n<p>For large-scale AI fabrics, bursty collective communication can cause congestion conditions to change rapidly. Depending on traffic patterns and configuration, ECN feedback may arrive after queues have already grown substantially.<\/p>\n\n\n\n<p>RTT-based congestion control (RTT-CC) provides another way to detect emerging congestion by measuring changes in packet round-trip time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_RTT-Based_Congestion_Detection_Works\"><\/span><strong>How RTT-Based Congestion Detection Works<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Round-trip time represents the time required for a measurement or exchange to travel from a sender to a receiver and back.<\/p>\n\n\n\n<p>In a relatively stable data center network, increases in measured RTT may indicate additional network queuing or other sources of delay.<\/p>\n\n\n\n<p>An RTT-based controller can estimate a baseline delay and monitor deviations from that baseline.<\/p>\n\n\n\n<p>Conceptually:<\/p>\n\n\n\n<p>\u0394RTT = RTT(measured) \u2212 RTT(baseline)<\/p>\n\n\n\n<p>A sustained increase in \u0394RTT&nbsp;may indicate&nbsp;developing congestion, allowing a supported NIC algorithm to adjust its transmission rate.<\/p>\n\n\n\n<p>The exact response depends on the algorithm, including its measurement method, filtering logic, thresholds, and rate-adjustment policy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Proactive_vs_Reactive_Congestion_Control\"><\/span><strong>Proactive vs. Reactive Congestion Control<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"558\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/Conceptual-illustration-of-how-earlier-congestion-detection-1024x558.png\" alt=\"Conceptual illustration of how earlier congestion detection\" class=\"wp-image-20522\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/Conceptual-illustration-of-how-earlier-congestion-detection-1024x558.png 1024w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/Conceptual-illustration-of-how-earlier-congestion-detection-300x163.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/Conceptual-illustration-of-how-earlier-congestion-detection-768x418.png 768w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/Conceptual-illustration-of-how-earlier-congestion-detection.png 1081w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Figure 4. Conceptual illustration of how earlier congestion detection and sender-rate adjustment can limit queue growth. Actual behavior depends on workload, implementation, and tuning.<\/em><\/figcaption><\/figure>\n\n\n\n<p>Traditional ECN-based DCQCN and RTT-based algorithms use different sources of congestion information.<\/p>\n\n\n\n<p><strong>ECN\/DCQCN:<\/strong><strong><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Depends on congestion signals marked by ECN-enabled switches.<\/li>\n\n\n\n<li>Uses receiver-generated CNP feedback.<\/li>\n\n\n\n<li>Adjusts the sender&#8217;s rate based on the congestion-control algorithm.<\/li>\n\n\n\n<li>Requires coordinated switch marking and endpoint configuration.<\/li>\n<\/ul>\n\n\n\n<p><strong>RTT-Based Congestion Control:<\/strong><strong><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Uses latency measurements to detect changes in network conditions.<\/li>\n\n\n\n<li>Can identify queue growth through increasing measured delay.<\/li>\n\n\n\n<li>May reduce reliance on switch-generated ECN feedback, depending on implementation.<\/li>\n\n\n\n<li>Requires compatible endpoint hardware, firmware, and congestion-control support.<\/li>\n<\/ul>\n\n\n\n<p>RTT measurements are not perfectly equivalent to queue occupancy. They can also be influenced by route changes, reverse-path behavior, and measurement noise. Consequently, reliable RTT-based control requires suitable filtering and calibration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"RTT-Based_Congestion_Control_in_Modern_RoCE_Fabrics\"><\/span><strong>RTT-Based Congestion Control in Modern RoCE Fabrics<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For example, NVIDIA documents a hardware-assisted RTT-based congestion-control mechanism called ZTR-RTT CC.<\/p>\n\n\n\n<p>This implementation uses timestamped RTT measurements to make rate-control decisions and can operate without specialized switch-side ECN configuration. Its availability depends on supported hardware, firmware, and successful endpoint negotiation.<\/p>\n\n\n\n<p>NVIDIA also documents deployments in which supported endpoints can negotiate DCQCN and ZTR-RTT CC capabilities. This does not mean that every RoCE NIC or switch automatically supports both mechanisms.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_RTT-Based_Control_Matters_for_GPU_Training\"><\/span><strong>Why RTT-Based Control Matters for GPU Training<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Distributed GPU workloads generate complex communication patterns, including All-Reduce, All-to-All, and other collective operations.<\/p>\n\n\n\n<p>These workloads can create rapid bandwidth demand changes as many GPUs begin sending data simultaneously.<\/p>\n\n\n\n<p>Under appropriate conditions, RTT-based congestion control can help:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Detect increasing network delay before severe congestion develops.<\/li>\n\n\n\n<li>Respond more quickly to emerging traffic contention.<\/li>\n\n\n\n<li>Reduce sustained queue buildup.<\/li>\n\n\n\n<li>Limit unnecessary PFC pauses.<\/li>\n\n\n\n<li>Support more predictable communication latency.<\/li>\n<\/ul>\n\n\n\n<p>However, RTT-based congestion control does not independently guarantee lossless forwarding or eliminate the need for appropriate fabric capacity, traffic engineering, and endpoint compatibility.<\/p>\n\n\n\n<p>For AI clusters, the best congestion-control strategy depends on the switch architecture, NIC capabilities, software stack, and actual communication workload.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQ_RoCE_Switches_and_Lossless_RDMA_Networks\"><\/span><strong>FAQ: RoCE Switches and Lossless RDMA Networks<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_a_RoCE_switch\"><\/span><strong>What is a RoCE switch?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>A RoCE switch is an Ethernet switch designed or configured to support RDMA over Converged Ethernet traffic. RoCE-capable switches typically provide high-speed forwarding, QoS classification, congestion-aware buffering, ECN marking, and optional PFC support. These features help deliver low-latency, low-loss communication for AI training, storage, and other RDMA workloads.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_RoCE_require_a_completely_lossless_network\"><\/span><strong>Does RoCE require a completely lossless network?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Not always. RoCE deployments have traditionally used lossless Ethernet mechanisms such as PFC to reduce packet loss. However, some modern RoCE NICs support enhanced packet-loss recovery and operation over lossy networks.<\/p>\n\n\n\n<p>The appropriate design depends on the NIC capabilities, congestion-control implementation, application requirements, and acceptable performance characteristics.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_the_difference_between_PFC_and_ECN_in_RoCE\"><\/span><strong>What is the difference between PFC and ECN in RoCE?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>PFC is a hop-by-hop flow-control mechanism that pauses selected Ethernet priorities when buffers approach configured thresholds. ECN marks congestion in eligible IP packets, allowing compatible endpoints to adjust their sending rates.<\/p>\n\n\n\n<p>PFC focuses on protecting buffers against overflow, while ECN-based congestion control aims to prevent persistent queue buildup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_is_DCQCN_important_for_RDMA_networking\"><\/span><strong>Why is DCQCN important for RDMA networking?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>DCQCN enables RDMA NICs to respond to network congestion through ECN and CNP feedback. By dynamically adjusting transmission rates, it helps improve bandwidth utilization, reduce queue buildup, and limit unnecessary PFC activity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_400G_and_800G_Ethernet_switches_support_RoCE\"><\/span><strong>Can 400G and 800G Ethernet switches support RoCE?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Yes, provided the switches offer the necessary forwarding, QoS, buffer-management, and congestion-control features for the intended RDMA deployment.<\/p>\n\n\n\n<p>Port speed alone does not determine RoCE suitability. Network architects should also evaluate ECN capabilities, PFC support, buffer architecture, telemetry, latency, and compatibility with the deployed RDMA NICs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_is_Spine-Leaf_architecture_suitable_for_AI_cluster_networking\"><\/span><strong>Why is Spine-Leaf architecture suitable for AI cluster networking?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Spine-Leaf architecture provides scalable connectivity, predictable network hop counts, and multiple paths between GPU servers. With appropriate link capacity, path distribution, and congestion management, it can support high-throughput east-west RDMA communication in large AI clusters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_the_difference_between_DCQCN_and_RTT-based_congestion_control\"><\/span><strong>What is the difference between DCQCN and RTT-based congestion control?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>DCQCN primarily uses ECN feedback from congested switches to regulate the transmitting NIC&#8217;s rate. RTT-based algorithms use measured communication delay as a congestion signal and may detect emerging queue growth without relying solely on switch ECN markings.<\/p>\n\n\n\n<p>Both mechanisms aim to reduce congestion, but their implementation requirements, response behavior, and deployment compatibility differ.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Is_enabling_PFC_enough_to_build_a_lossless_RoCE_network\"><\/span><strong>Is enabling PFC enough to build a lossless RoCE network?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>No. Enabling PFC alone does not provide complete end-to-end congestion management. A robust RoCE fabric also requires consistent traffic classification, adequate buffers and headroom, correct ECN and NIC congestion-control settings, appropriate bandwidth provisioning, and continuous monitoring.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Building an end-to-end lossless RDMA network requires more than high-bandwidth Ethernet switches.<\/p>\n\n\n\n<p>A reliable RoCE fabric must coordinate congestion management across the entire communication path, beginning with traffic classification at the server NIC and continuing through every Leaf and Spine switch.<\/p>\n\n\n\n<p>PFC provides hop-by-hop protection against buffer overflow. Buffer isolation and headroom help absorb transient bursts. ECN and DCQCN enable end-to-end congestion feedback and sender-rate adjustment, while RTT-based congestion control introduces latency-aware mechanisms that can improve congestion responsiveness in supported deployments.<\/p>\n\n\n\n<p>For large-scale AI clusters, these technologies work alongside Spine-Leaf network design, high-speed Ethernet connectivity, and appropriate capacity planning to reduce packet loss, limit latency variation, and support more efficient GPU communication.<\/p>\n\n\n\n<p>FiberMall provides high-speed optical interconnect solutions for 100G, 200G, 400G, and 800G data center networks, supporting the physical connectivity requirements of modern Spine-Leaf Ethernet fabrics and AI infrastructure.<\/p>\n\n\n\n<p>By combining reliable optical connectivity with properly engineered RoCE switching and congestion-control mechanisms, organizations can build scalable RDMA networks capable of supporting increasingly demanding AI and high-performance computing workloads.<\/p>\n\n\n\n<p><\/p>\n<style>\r\n\r\n        .lwrp.link-whisper-related-posts{\r\n            \r\n            margin-top: 40px;\nmargin-bottom: 30px;\r\n        }\r\n        .lwrp .lwrp-title{\r\n            \r\n            \r\n        }\r\n        .lwrp .lwrp-description{\r\n            \r\n            \r\n\r\n        }\r\n        .lwrp .lwrp-list-container{\r\n        }\r\n        .lwrp .lwrp-list-multi-container{\r\n            display: flex;\r\n        }\r\n        .lwrp .lwrp-list-double{\r\n            width: 48%;\r\n        }\r\n        .lwrp .lwrp-list-triple{\r\n            width: 32%;\r\n        }\r\n        .lwrp .lwrp-list-row-container{\r\n            display: flex;\r\n            justify-content: space-between;\r\n        }\r\n        .lwrp .lwrp-list-row-container .lwrp-list-item{\r\n            width: calc(100% - 20px);\r\n        }\r\n        .lwrp .lwrp-list-item:not(.lwrp-no-posts-message-item){\r\n            \r\n            list-style: decimal;\r\n        }\r\n        .lwrp .lwrp-list-item img{\r\n            max-width: 100%;\r\n            height: auto;\r\n        }\r\n        .lwrp .lwrp-list-item.lwrp-empty-list-item{\r\n            background: initial !important;\r\n        }\r\n        .lwrp .lwrp-list-item .lwrp-list-link .lwrp-list-link-title-text,\r\n        .lwrp .lwrp-list-item .lwrp-list-no-posts-message{\r\n            \r\n                \r\n        }\r\n        @media screen and (max-width: 480px) {\r\n            .lwrp.link-whisper-related-posts{\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-title{\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-description{\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-list-multi-container{\r\n                flex-direction: column;\r\n            }\r\n            .lwrp .lwrp-list-multi-container ul.lwrp-list{\r\n                margin-top: 0px;\r\n                margin-bottom: 0px;\r\n                padding-top: 0px;\r\n                padding-bottom: 0px;\r\n            }\r\n            .lwrp .lwrp-list-double,\r\n            .lwrp .lwrp-list-triple{\r\n                width: 100%;\r\n            }\r\n            .lwrp .lwrp-list-row-container{\r\n                justify-content: initial;\r\n                flex-direction: column;\r\n            }\r\n            .lwrp .lwrp-list-row-container .lwrp-list-item{\r\n                width: 100%;\r\n            }\r\n            .lwrp .lwrp-list-item:not(.lwrp-no-posts-message-item){\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-list-item .lwrp-list-link .lwrp-list-link-title-text,\r\n            .lwrp .lwrp-list-item .lwrp-list-no-posts-message{\r\n                \r\n                    \r\n            }\r\n        }<\/style>\r\n<div id=\"link-whisper-related-posts-widget\" class=\"link-whisper-related-posts lwrp\">\r\n            <h3 class=\"lwrp-title\">Related Posts<\/h3>    \r\n        <div class=\"lwrp-list-container\">\r\n                                            <ul class=\"lwrp-list lwrp-list-single\">\r\n                    <li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/xgspon.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Understanding xgspon: Key Aspects of the Modern Optical Transceiver Technology<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/unmanaged-switch.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Unmanaged Switch: The Essential Guide to a Plug-and-Play Network Solution<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/infiniband-price-guide-2026.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">InfiniBand Price Guide 2026: Switches, HCAs, Cables &amp; TCO<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/mpo-for-ai-computing.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">MPO Fiber Optic Patch Cables for AI Intelligent Computing Systems<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/network-adapter-nics-function-construction-classification.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">What is Network Adapter: Function, Construction and Classification of NICs<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/osfp-connector.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">OSFP Connector: Ultimate Guide to Amphenol and TE Connectivity Solutions<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/video\/sfp28-er-optical-transceiver-watch-this-before-using.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">SFP28 ER optical transceiver: watch this before using<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/400g-network-solutions-typical.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Detailed explanation of 4 typical 400G network solutions<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/nvidia-gb200-liquid-cooling-plate.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Deep Dive into NVIDIA GB200 Liquid Cooling Plate Design: Advanced Liquid Cooling for AI Chips<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/ultra-ethernet-consortium-groups.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Updates of the\u00a0UItra\u00a0Ethernet Consortium Working Groups<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/800g-qsfp-dd.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Everything You Need to Know About 800g QSFP-DD Optical Transceivers<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/om4-fiber.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">What You Need to Know About OM4 Fiber Optic Cables<\/span><\/a><\/li>                <\/ul>\r\n                        <\/div>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>As AI clusters expand from hundreds to thousands of GPUs, network performance has become a critical factor in distributed training efficiency. High-speed Ethernet networks must deliver more than raw bandwidth. They also need predictable latency, effective congestion control, and reliable transport for RDMA traffic. Remote Direct Memory Access (RDMA) enables servers to transfer data directly [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":20536,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"default","_twitter_share_type":"default","_linkedin_share_type":"default","_pinterest_share_type":"default","_linkedin_share_type_page":"default","_instagram_share_type":"default","_medium_share_type":"default","_threads_share_type":"default","_google_business_share_type":"default","_selected_social_profile":[{"id":"skM9ewvR8O","platform":"linkedin","platformKey":0,"name":"Jason Xue","type":"person","thumbnail_url":"https:\/\/media.licdn.com\/dms\/image\/C5603AQErPqKD0j6qBg\/profile-displayphoto-shrink_100_100\/0\/1599138392315?e=1723075200&v=beta&t=joEkh1OeKQ0F-QpAPv4xxQyBdGlHyccIQZauRSs6RvU","share_type":"default"}],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[2,29],"tags":[],"class_list":["post-20516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-networking"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.13 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How RoCE Switches Build an End-to-End Lossless Network<\/title>\n<meta name=\"description\" content=\"Learn how RoCE switches use PFC, ECN, DCQCN, and RTT-CC to build a lossless, low-latency RDMA network for AI clusters.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How RoCE Switches Build an End-to-End Lossless Network for RDMA\" \/>\n<meta property=\"og:description\" content=\"As AI clusters expand from hundreds to thousands of GPUs, network performance has become a critical factor in distributed training efficiency. High-speed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\" \/>\n<meta property=\"og:site_name\" content=\"fibermall.com\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-20T02:30:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-20T02:30:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Casey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Casey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\"},\"author\":{\"name\":\"Casey\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/8a62a1260941aa13aa5900e9ea7e1342\"},\"headline\":\"How RoCE Switches Build an End-to-End Lossless Network for RDMA\",\"datePublished\":\"2026-10-20T02:30:21+00:00\",\"dateModified\":\"2026-10-20T02:30:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\"},\"wordCount\":3257,\"publisher\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg\",\"articleSection\":[\"Blog\",\"Networking\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\",\"url\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\",\"name\":\"How RoCE Switches Build an End-to-End Lossless Network\",\"isPartOf\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg\",\"datePublished\":\"2026-10-20T02:30:21+00:00\",\"dateModified\":\"2026-10-20T02:30:25+00:00\",\"description\":\"Learn how RoCE switches use PFC, ECN, DCQCN, and RTT-CC to build a lossless, low-latency RDMA network for AI clusters.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage\",\"url\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg\",\"contentUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg\",\"width\":900,\"height\":600,\"caption\":\"RoCE\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fibermall.com\/blog.htm\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How RoCE Switches Build an End-to-End Lossless Network for RDMA\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#website\",\"url\":\"https:\/\/www.fibermall.com\/blog.htm\/\",\"name\":\"fibermall.com\",\"description\":\"Optical Communication Expert\",\"publisher\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fibermall.com\/blog.htm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#organization\",\"name\":\"fibermall.com\",\"url\":\"https:\/\/www.fibermall.com\/blog.htm\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg\",\"contentUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg\",\"width\":200,\"height\":67,\"caption\":\"fibermall.com\"},\"image\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/8a62a1260941aa13aa5900e9ea7e1342\",\"name\":\"Casey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28096898b03bf5fa03557b33f40633b0fe4fa656c7f28e52669eca8ec4146459?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28096898b03bf5fa03557b33f40633b0fe4fa656c7f28e52669eca8ec4146459?s=96&d=mm&r=g\",\"caption\":\"Casey\"},\"description\":\"Expert in access network, PON, GPON, etc.\",\"sameAs\":[\"https:\/\/www.fibermall.com\/\"],\"url\":\"https:\/\/www.fibermall.com\/blog.htm?author=7\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How RoCE Switches Build an End-to-End Lossless Network","description":"Learn how RoCE switches use PFC, ECN, DCQCN, and RTT-CC to build a lossless, low-latency RDMA network for AI clusters.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm","og_locale":"en_US","og_type":"article","og_title":"How RoCE Switches Build an End-to-End Lossless Network for RDMA","og_description":"As AI clusters expand from hundreds to thousands of GPUs, network performance has become a critical factor in distributed training efficiency. High-speed","og_url":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm","og_site_name":"fibermall.com","article_published_time":"2026-10-20T02:30:21+00:00","article_modified_time":"2026-10-20T02:30:25+00:00","og_image":[{"width":900,"height":600,"url":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg","type":"image\/jpeg"}],"author":"Casey","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Casey","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#article","isPartOf":{"@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm"},"author":{"name":"Casey","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/8a62a1260941aa13aa5900e9ea7e1342"},"headline":"How RoCE Switches Build an End-to-End Lossless Network for RDMA","datePublished":"2026-10-20T02:30:21+00:00","dateModified":"2026-10-20T02:30:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm"},"wordCount":3257,"publisher":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#organization"},"image":{"@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage"},"thumbnailUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg","articleSection":["Blog","Networking"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm","url":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm","name":"How RoCE Switches Build an End-to-End Lossless Network","isPartOf":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage"},"image":{"@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage"},"thumbnailUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg","datePublished":"2026-10-20T02:30:21+00:00","dateModified":"2026-10-20T02:30:25+00:00","description":"Learn how RoCE switches use PFC, ECN, DCQCN, and RTT-CC to build a lossless, low-latency RDMA network for AI clusters.","breadcrumb":{"@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#primaryimage","url":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg","contentUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2026\/10\/RoCE.jpg","width":900,"height":600,"caption":"RoCE"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fibermall.com\/blog\/roce-switch-lossless-rdma-network.htm#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fibermall.com\/blog.htm"},{"@type":"ListItem","position":2,"name":"How RoCE Switches Build an End-to-End Lossless Network for RDMA"}]},{"@type":"WebSite","@id":"https:\/\/www.fibermall.com\/blog.htm\/#website","url":"https:\/\/www.fibermall.com\/blog.htm\/","name":"fibermall.com","description":"Optical Communication Expert","publisher":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fibermall.com\/blog.htm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fibermall.com\/blog.htm\/#organization","name":"fibermall.com","url":"https:\/\/www.fibermall.com\/blog.htm\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/","url":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg","contentUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg","width":200,"height":67,"caption":"fibermall.com"},"image":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/8a62a1260941aa13aa5900e9ea7e1342","name":"Casey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28096898b03bf5fa03557b33f40633b0fe4fa656c7f28e52669eca8ec4146459?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28096898b03bf5fa03557b33f40633b0fe4fa656c7f28e52669eca8ec4146459?s=96&d=mm&r=g","caption":"Casey"},"description":"Expert in access network, PON, GPON, etc.","sameAs":["https:\/\/www.fibermall.com\/"],"url":"https:\/\/www.fibermall.com\/blog.htm?author=7"}]}},"_links":{"self":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts\/20516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20516"}],"version-history":[{"count":7,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts\/20516\/revisions"}],"predecessor-version":[{"id":20538,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts\/20516\/revisions\/20538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/media\/20536"}],"wp:attachment":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}