English

Driving Performance and Reliability: Priority-Based Flow Control in Data Center Networks

Posted on Mar 14, 2024 by
183

Data center networks face the demanding task of effectively managing diverse types of traffic, encompassing high-speed data transfers, real-time communication, and storage traffic. In this context, Priority-Based Flow Control (PFC) emerges as a transformative solution. PFC revolutionizes the data center landscape by enabling prioritization and efficient allocation of network resources.

Reasons for Network Congestion in Data Center

There are several reasons why congestion can occur in a data center scenario, but three of the most critical and common ones are:

Asymmetric Bandwidth Design

If the design of the data center network architecture adopts an asymmetric bandwidth design, that is, if the uplink and downlink bandwidths are not consistent, congestion can occur at the upstream interface if the total packet rate from the downstream servers exceeds the total upstream link bandwidth.

Fabric Architecture with ECMP

In current data center networks, Fabric architecture is widely adopted, which utilizes Equal-Cost Multipath (ECMP) to create multiple equivalent load-balanced paths. However, this process doesn't take into account whether the selected path itself is congested, which can worsen congestion on the chosen path.

TCP Incast

TCP Incast refers to the communication pattern of Many-to-One in data centers, which occurs frequently in the trend of cloud-based data centers. It is especially prevalent in distributed storage and computing applications such as Hadoop, MapReduce, and HDFS. As shown below, when a parent server initiates a request to a group of nodes, all nodes in the cluster receive the request simultaneously and respond almost simultaneously. This results in all nodes sending TCP data streams to the parent server simultaneously, causing congestion due to inadequate buffering at the egress port of the switch connected to the parent server.

Reasons for Network Congestion in Data Center

What Is Priority-Based Flow Control?

Priority-Based Flow Control (PFC) is a fine-grained flow control mechanism, defined in the IEEE 802.1Qbb standard document as an enhancement to the traditional flow control pause mechanism. PFC provides different services based on priority and can resolve the conflict between traditional Ethernet flow control mechanisms and this requirement. It's a feature of data center switches that boosts efficiency by prioritizing traffic. PFC operates at Layer 2 of the Ethernet protocol stack, and can seamlessly integrate into existing network infrastructure.

What Is the Operating Principle of PFC?

PFC works by identifying traffic classes and giving them priorities in the network. The goal is to ensure that high-priority traffic is transmitted first, while lower-priority traffic is paused to prevent congestion.

When congestion occurs in the network, PFC keeps buffer space available, avoiding packet loss and ensuring reliable data transmission. It achieves this by sending a pause frame to a network device, such as a switch or network interface card. This pause frame notifies the device to stop transmitting data of a particular priority, thereby efficiently resolving the congestion issue.

The prioritization of traffic classes provided by PFC is particularly beneficial in shared networks, where receivers can signal congestion to senders. When congestion is detected, the receiver can trigger a pause request, instructing the sender to temporarily halt the transmission of data. This mechanism helps optimize traffic flow and prevents further congestion in the network.

Overall, PFC is an essential tool for effectively managing storage traffic, mixed workloads, and diverse applications within data center networks. By ensuring that high-priority traffic is given precedence and congestion is managed efficiently, PFC contributes to improved data center efficiency and overall network performance.

What Is the Operating Principle of PFC?

Conclusion

In the constantly changing world of data center networks, it is essential to manage different types of traffic effectively to ensure optimal performance and reliability. The implementation of PFC in data center switches significantly improved data center efficiency and overall network performance by prioritizing traffic and resolving congestion issues. As data centers continue to evolve and handle increasingly demanding workloads, PFC plays a crucial role in enhancing efficiency and maintaining the performance of these critical infrastructures.

You might be interested in

Knowledge
Knowledge
Knowledge
See profile for Sheldon.
Sheldon
Decoding OLT, ONU, ONT, and ODN in PON Network
Mar 14, 2023
386.2k
Knowledge
See profile for Irving.
Irving
What's the Difference? Hub vs Switch vs Router
Dec 17, 2021
367.6k
Knowledge
See profile for Sheldon.
Sheldon
What Is SFP Port of Gigabit Switch?
Jan 6, 2023
335.5k
Knowledge
See profile for Migelle.
Migelle
PoE vs PoE+ vs PoE++ Switch: How to Choose?
Mar 16, 2023
420.5k
Knowledge
Knowledge
Knowledge
Knowledge
See profile for Moris.
Moris
How Much Do You Know About Power Cord Types?
Sep 29, 2021
294.7k