Flow-based congestion control
Abstract
A network device includes multiple ports, a Shared Buffer (SB) and a SB controller. The ports to connect to a communication network. The SB to temporarily store packets received from the communication network via the ports, the packets belonging to multiple flows. The SB controller to allocate one or more flow-specific storage regions in the SB, a given flow-specific storage region being allocated to store the packets that (i) belong to respective one or more of the flows and (ii) are to be transmitted via a respective egress queue. In response to detecting that an occupancy level in the given flow-specific storage region exceeds a specified occupancy threshold, the SB controller to report the flows in the given flow-specific storage region as congested.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 1.
Claims (16 — 2 Independent, 14 Dependent)
- Claim 1Independent Claim
A network device, comprising: multiple ports, to connect to a communication network; a Shared Buffer (SB), to temporarily store packets received from the communication network via the ports, the packets belonging to multiple flows; and a SB controller, to: allocate one or more flow-specific storage regions in the SB, a given flow-specific storage region being allocated to store the packets that (i) belong to respective one or more of the flows and (ii) are to be transmitted via a respective egress queue; allocate a defined number of the storage regions to a given egress queue of the network device; evaluate a count of distinct flows that are actually transmitted from the storage regions via the given egress queue; calculate a load level for a certain storage region among the storage regions allocated to the given egress queue, based on an occupancy level in the certain storage region and on the count of distinct flows; and in response to detecting that the load level of the certain storage region exceeds a specified load threshold, report the flows in the certain storage region as congested.
- Claim 2Depends on #1
The network device according to claim 1, wherein the SB is to distribute the flows among the defined number of the storage regions by applying a specified hash function to headers of the packets belonging to the flows.
- Claim 3Depends on #1
The network device according to claim 1, wherein the SB controller is to report the flows in the certain storage region as congested, by reporting (i) the load level calculated for the certain storage region and (ii) identifiers of the flows in the certain storage region.
- Claim 4Depends on #1
The network device according to claim 1, wherein the SB controller is to report the flows in the certain storage region as congested, by sending one or more congestion notifications to respective destination nodes to which the packets in the certain storage region are addressed.
- Claim 5Depends on #4
The network device according to claim 4, wherein the SB controller is to mirror a congestion notification among the one or more congestion notifications to a remote analyzer node coupled to the communication network.
- Claim 6Depends on #1
The network device according to claim 1, wherein the SB controller is to report the flows in the certain storage region as congested, to respective source nodes from which the flows originate.
- Claim 7Depends on #1
The network device according to claim 1, wherein the SB controller is to report multiple flows among the flows in the certain storage region that are destined to a common destination node, by including respective identifiers of the multiple flows in a packet, and sending the packet to respective destination addresses of the flows or to respective source addresses of the flows.
- Claim 8Depends on #1
The network device according to claim 1, wherein the load level is calculated as L SR =OL SR · M EQ /N EQ in which: L SR denotes the load level for the certain storage region SR, OL SR denotes the occupancy level of the certain storage region SR, M EQ denotes the number of the storage regions allocated to the given egress queue EQ, and N EQ denotes the count of distinct flows that are actually transmitted from the ME storage regions via the given egress queue EQ.
- Claim 9Independent Claim
A method, comprising: in a network device that connects to a communication network using multiple ports, temporarily storing packets received from the communication network via the ports in a Shared Buffer (SB) of the network device, the packets belonging to multiple flows; allocating one or more flow-specific storage regions in the SB, a given flow-specific storage region being allocated to store the packets that (i) belong to respective one or more of the flows and (ii) are to be transmitted via a respective egress queue; allocating a defined number of the storage regions to a given egress queue of the network device; evaluating a count of distinct flows that are actually transmitted from the storage regions via the given egress queue; calculating a load level for a certain storage region among the storage regions allocated to the given egress queue, based on an occupancy level in the certain storage region and on the count of distinct flows; and in response to detecting that the load level of the certain storage region exceeds a specified load threshold, reporting the flows in the certain storage region as congested.
- Claim 10Depends on #9
The method according to claim 9, and comprising distributing the flows among the defined number of the storage regions by applying a specified hash function to headers of the packets belonging to the flows.
- Claim 11Depends on #9
The method according to claim 9, wherein reporting the flows in the certain storage region as congested comprises reporting (i) the load level calculated for the certain storage region and (ii) identifiers of the flows in the certain storage region.
- Claim 12Depends on #9
The method according to claim 9, wherein reporting the flows in the certain storage region as congested comprises sending one or more congestion notifications to respective destination nodes to which the packets in the certain storage region are addressed.
- Claim 13Depends on #12
The method according to claim 12, and comprising mirroring a congestion notification among the one or more congestion notifications to a remote analyzer node coupled to the communication network.
- Claim 14Depends on #9
The method according to claim 9, wherein reporting the flows in the certain storage region as congested comprises reporting the flows in the certain storage region as congested to respective source nodes from which the one or more flows originate.
- Claim 15Depends on #9
The method according to claim 9, wherein reporting the flows in the certain storage region as congested comprises reporting multiple flows among the flows in the certain storage region that are destined to a common destination by node, including respective identifiers of the multiple flows in a packet, and sending the packet to respective destination addresses of the flows or to respective source addresses of the flows.
- Claim 16Depends on #9
The method according to claim 9, wherein calculating the load level comprises calculating L SR =OL SR · M EQ /N EQ in which: L SR denotes the load level for the certain storage region SR, OL SR denotes the occupancy level of the certain storage region SR, M EQ denotes the number of the storage regions allocated to the given egress queue EQ, and N EQ denotes the count of distinct flows that are actually transmitted from the M EQ storage regions via the given egress queue EQ.
Technical Overview & Description
TECHNICAL FIELD Embodiments described herein relate generally to communication networks, and particularly to methods and systems for performing flow-based congestion control. BACKGROUND Congestion management of packet traffic in communication systems is important for achieving high system performance such as throughput and latency. Moreover, persistent congestion may cause severe performance degradation, e.g., due to congestion spread. Various techniques for detecting and controlling congestion are known in the art. For example, Ramakrishnan et al. describe congestion control techniques that use Explicit Congestion Notification (ECN), in a Request for Comments (RFC) 3168 of the Internet Engineering Task Force (IETF), entitled “ The Addition of Explicit Congestion Notification (ECN) to IP, ” September, 2001. Switches used in high-speed networks such as Ethernet and InfiniBand, typically store incoming packets in a buffer memory until transmitted back to the network. Aspects of flexible usage of buffer space are described, for example, in U.S. Pat. No. 10,250,530 of Aibester et al., describing a communication apparatus that includes multiple interfaces configured to be connected to a packet data network for receiving and forwarding of data packets of multiple types. A memory is coupled to the interfaces and configured as a buffer to contain packets received through the ingress interfaces while awaiting transmission to the network via the egress interfaces. Packet processing logic is configured to maintain multiple transmit queues, which are associated with respective ones of the egress interfaces, and to place both first and second queue entries, corresponding to first and second data packets of the first and second types, respectively, in a common transmit queue for transmission through a given egress interface, while allocating respective spaces in the buffer to store the first and second data packets against separate, first and second buffer allocations, which are
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,717,735 B2 | Streaming protocol flow control for die-to-die interfaces | 2026 | 0 |
References Cited — Backward Prior Art (80)
Non-Patent Literature (10)
- U.S. Appl. No. 17/902,936 Office Action dated May 16, 2024.
- U.S. Appl. No. 17/516,731 Office Action dated Jun. 16, 2023.
- U.S. Appl. No. 17/503,383 Office Action dated Jun. 8, 2023.
- U.S. Appl. No. 17/503,383 Office Action dated Aug. 17, 2023.
- CN Application # 2021108967450 Office Action dated Sep. 8, 2023.
- U.S. Appl. No. 17/588,385 Office Action dated Oct. 5, 2023.
- U.S. Appl. No. 17/516,731 Office Action dated Oct. 6, 2023.
- U.S. Appl. No. 17/902,936 Office Action dated Oct. 25, 2023.
- “
- Understanding CoS Priority Group and Queue Guaranteed Minimum Bandwidth,