Congestion Management for AI Clusters: ECN vs PFC

Evaluate network deployment based on AI workload requirements such as bandwidth, latency, redundancy, scalability, and security

DRAG DROP A network engineer is designing congestion management for an AI cluster using RoCEv2 transport. Based on Cisco best practices, the engineer must understand how ECN and PFC work together to provide lossless Ethernet transport. Drag and drop the congestion management mechanisms from the left onto the corresponding descriptions on the right. Not all options are used. exhibit

Answer Drag 'Priority Flow Control (PFC)' to 'Incast pattern with fabric congestion' and drag 'Explicit Congestion Notification (ECN)' to 'Bursty sender with endpoint congestion'.

Community Insight

The core trap is confusing which mechanism handles local endpoint bursts versus fabric-wide congestion; PFC stops flow to prevent loss on the wire, while ECN signals endpoints to slow down.

This question tests the correct pairing of congestion management mechanisms, specifically Priority Flow Control (PFC) and Explicit Congestion Notification (ECN), for RoCEv2 transport in Cisco AI clusters.

Learners often swap PFC and ECN, assuming ECN handles all congestion because it is more 'active' or that PFC is only for storage, failing to distinguish between link-level protection and end-to-end signaling.

Community Discussion (1 comments)

Wasamela 👍 1
Correct Answer is: Incast pattern with fabric congestion ------> PFC (Priority Flow Control) Bursty sender with endpoint congestion ------> ECN (Explicit Congestion Notification) / WRED

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

In a RoCEv2 environment, congestion management requires a two-tier approach. Priority Flow Control (PFC) operates at the link layer to provide lossless transport by pausing traffic when a switch port buffer is nearing capacity, effectively handling "Incast pattern with fabric congestion" where multiple sources flood a single destination within the data center fabric. Explicit Congestion Notification (ECN) operates at the IP/TCP layer, marking packets to signal end-hosts to reduce their transmission rate, which is ideal for "Bursty sender with endpoint congestion" where the bottleneck is at the source or application level rather than the fabric links.

Why Other Candidate Answers Are Wrong

Other mechanisms like WRED (Weighted Random Early Detection) are typically used in best-effort networks and do not provide the strict losslessness required for RDMA/RoCE. Simple TCP congestion control alone cannot solve micro-bursts within the data center fabric without PFC's link-level pause frames. Confusing these roles leads to packet drops and severe performance degradation in AI training workloads.

Community Comment Notes

Community consensus strongly supports the distinction made by Wasamela, noting that PFC is essential for fabric incast issues while ECN/WRED handles bursty senders. As one commenter noted, "Correct Answer is: Incast pattern with fabric congestion -> PFC... Bursty sender with endpoint congestion -> ECN." This aligns with Cisco's guidance on implementing lossless Ethernet for AI/ML workloads.

Exam Strategy

When designing for RoCEv2, always remember the hierarchy: PFC protects the fabric from loss, and ECN manages end-to-end flow. If the scenario mentions 'fabric', 'switch port', or 'incast', think PFC. If it mentions 'endpoint', 'sender', or 'application burst', think ECN.

Frequently Asked Questions

Why does RoCEv2 need both PFC and ECN?

RoCEv2 needs PFC to prevent packet loss during micro-bursts within the data center fabric (link-level). It needs ECN to signal end-hosts to throttle back when congestion persists or occurs at the endpoint (transport-level).

What happens if I only use ECN for AI cluster traffic?

If you only use ECN, the network switches may drop packets due to full buffers before the end-hosts can react to the ECN marks, leading to poor performance and timeouts in RDMA applications.

More 300-640 FAQ →

Related Analysis

← Back to 300-640 Study Guide