US 12,425,352 B2
Mice-elephant aware shared buffer schema
Niv Aibester, Herzliya (IL); Gil Levy, Hod-Hasharon (IL); and Aviv Kfir, Nili (IL)
Assigned to MELLANOX TECHNOLOGIES, LTD., Yokneam (IL)
Filed by MELLANOX TECHNOLOGIES, LTD., Yokneam (IL)
Filed on Aug. 23, 2022, as Appl. No. 17/893,835.
Prior Publication US 2024/0073151 A1, Feb. 29, 2024
Int. Cl. H04L 47/62 (2022.01); H04L 43/0882 (2022.01); H04L 47/2441 (2022.01); H04L 47/80 (2022.01); H04L 49/103 (2022.01)
CPC H04L 47/621 (2013.01) [H04L 43/0882 (2013.01); H04L 47/2441 (2013.01); H04L 47/801 (2013.01); H04L 49/103 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
a processor; and
computer memory coupled to the processor, wherein the computer memory comprises instructions stored thereon that, when executed by the processor, enable the processor to:
measure bandwidth consumption of a packet flow within a distributed computing environment, wherein the bandwidth consumption is measured on a per-quota basis;
based on the bandwidth consumption of the packet flow, assign a flow-type attribute and a corresponding quota to the packet flow, wherein the flow-type attribute assigned to the packet flow comprises a mice flow state or an elephant flow state, wherein a reserve attribute is assigned to the flow based on the packet flow being assigned the mice flow state or the elephant flow state, wherein the reserve attribute represents a reserved number of resources for processing and/or forwarding the packet flow, and wherein the corresponding quota retains the reserve attribute for the packet flow;
apply an admission schema for the packet flow to access one or more buffer resources shared among multiple devices in the distributed computing environment;
contingent upon the packet flow satisfying the admission schema, select a shared buffer schema for the packet flow based on the flow-type attribute assigned to the packet flow, wherein the shared buffer schema is applied to the one or more buffer resources shared among multiple devices in the distributed computing environment; and
apply the selected shared buffer schema to the packet flow.