Deterministic load-share allocation of paths

By employing segment routing policies and uSIDs in ToR devices, the network traffic in AI and HPC systems is optimized, addressing inefficiencies in existing technologies and reducing backend delays through balanced load-sharing and proactive congestion management.

US20260379769A1Pending Publication Date: 2026-11-26CISCO TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/758696
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-03-25
Filing Date
2026-07-29
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing network implementations in AI and high-performance computing (HPC) face challenges in optimizing traffic patterns without prior knowledge, leading to significant backend network delays and inefficient resource utilization, particularly in large-scale AI training clusters where data parallelism requires frequent synchronization of GPUs.

Method used

Implementing segment routing policies and micro segment identifiers (uSIDs) in Top-of-Rack (ToR) devices to optimize traffic distribution across ECMP paths, using SRv6 for overlay virtualization and proactive monitoring with Integrated Performance Measurement (IPM) to ensure balanced load-balancing and efficient resource utilization.

Benefits of technology

The approach achieves deterministic load-share allocations, reducing backend network delays and enhancing resource efficiency by ensuring equitable path utilization and proactive congestion management, thereby improving overall network performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260379769A1-D00000_ABST
    Figure US20260379769A1-D00000_ABST
Patent Text Reader

Abstract

Techniques are described for deterministic load balancing in a multipath network fabric supporting artificial intelligence (AI) training and inference. A device obtains a plurality of segment routing micro segment identifier (uSID) lists, each corresponding to a different communication path between processing units. The device selects a path and transmits packets using packet spraying and the corresponding uSID list. Path performance is monitored through probing. When degradation of a selected path is detected, the device temporarily avoids use of the associated uSID list for subsequent packets while AI processing activities continue on other available paths. The device continues probing the degraded path and, upon determining that its performance has recovered, restores use of the associated uSID list. The disclosed techniques enable deterministic traffic distribution and dynamic path recovery while maintaining efficient communications among processing units in AI network fabrics.
Need to check novelty before this filing date? Find Prior Art

Description

RELATED APPLICATIONS

[0001] This application is a continuation of U.S. Application No. 19 / 563,663, filed Mar. 11, 2026, which claims the benefit of Provisional U.S. Application Nos. 63 / 777, 231 and 63 / 777,259, both filed Mar. 25, 2025. All of the foregoing are incorporated by reference herein.TECHNICAL FIELD

[0002] The present disclosure relates generally to network compute fabrics and, more particularly to deterministic load-share allocations of paths.BACKGROUND

[0003] In modern artificial intelligence (AI) and high-performance computing (HPC), fabric resources are not unlimited. This means that different AI model training and other computing tasks often need to be scheduled, resulting in some of the tasks having to wait for execution. Indeed, recent studies estimate that approximately 33% of the processing time for all AI tasks is attributable to waiting on backend network delays.

[0004] Common network implementations for connecting front-end CPU-based networks and backend GPU-based HPC networks to facilitate data transfer and high-performance computing tasks include High-Speed Ethernet, InfiniBand, NVLink, Peripheral Component Interconnect Express (PCIe), and Fibre Channel (FC), among others. When it comes to AI workloads, a front-end network scheduler is typically used to schedule and orchestrate AI-related workloads ranging from model training to inferencing and data processing. This scheduling often entails coordinating various resources and services, managing job queues, and ensuring that the right data and computational resources are available.

[0005] In large-scale AI training clusters and other HPC fabrics, data parallelism is a commonly adopted approach, allowing multiple GPUs to work in parallel on the same task across extensive datasets. This setup requires frequent synchronization of memory between GPUs, especially as training jobs may involve more than 15,000 iterations. After each iteration, GPUs must communicate and exchange data, resulting in periodic, bursty flows. However, optimizing traffic in a data center without prior knowledge of the underlying traffic patterns remains challenging.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The implementations herein may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indicate identically or functionally similar elements, of which:

[0007] FIG. 1 illustrates an example computer network;

[0008] FIG. 2 illustrates an example computing device / node;

[0009] FIG. 3 illustrates an example of a user interfacing with an artificial intelligence (AI) model;

[0010] FIG. 4 illustrates an example architecture for an AI agent;

[0011] FIG. 5 illustrates an example network or compute fabric for performing AI model training and high-performance computing (HPC) tasks;

[0012] FIG. 6 illustrates an example fabric topology;

[0013] FIG. 7 illustrates a graph showing the number of flows per link using traditional Equal-Cost Multi-Path (ECMP) versus the techniques herein; and

[0014] FIG. 8 illustrates an example simplified procedure for making deterministic load-share allocations of paths in a compute fabric, according to various implementations.DESCRIPTION OF EXAMPLE IMPLEMENTATIONSOverview

[0015] According to one or more implementations of the disclosure, a top-of-rack (ToR) device in a network fabric obtains a segment routing policy to reach a remote ToR device in the network fabric. The ToR device also obtains a plurality of micro segment identifiers (uSIDs) associated with the segment routing policy, each uSID corresponding to a different Equal-Cost Multipath (ECMP) path in the network fabric between the ToR device and the remote ToR device. The ToR device selects, in accordance with the segment routing policy, a particular path in the network fabric to convey a packet to the remote ToR device. The ToR device sends the packet to the remote ToR device via the particular path using the uSID associated with that path.

[0016] Other implementations are described below, and this overview is not meant to limit the scope of the present disclosure.DESCRIPTION

[0017] A computer network is a geographically distributed collection of nodes interconnected by communication links and segments for transporting data between end nodes, such as personal computers and workstations, or other devices, such as sensors, etc. Many types of networks are available, ranging from local area networks (LANs) to wide area networks (WANs). LANs typically connect the nodes over dedicated private communications links located in the same general physical location, such as a building or campus. WANs, on the other hand, typically connect geographically dispersed nodes over long-distance communications links, such as common carrier telephone lines, optical lightpaths, synchronous optical networks (SONET), synchronous digital hierarchy (SDH) links, and others. The Internet is an example of a WAN that connects disparate networks throughout the world, providing global communication between nodes on various networks. Other types of networks, such as field area networks (FANs), neighborhood area networks (NANs), personal area networks (PANs), enterprise networks, etc. may also make up the components of any given computer network. In addition, a Mobile Ad-Hoc Network (MANET) is a kind of wireless ad-hoc network, which is generally considered a self-configuring network of mobile routers (and associated hosts) connected by wireless links, the union of which forms an arbitrary topology.

[0018] FIG. 1 is a schematic block diagram of an example simplified computing system (e.g., the computing system 100), which includes client devices 102 (e.g., a first through nth client device), one or more servers 104, and databases 106 (e.g., one or more databases), where the devices may be in communication with one another via any number of networks (e.g., network(s) 110). The network(s) 110 may include, as would be appreciated, any number of specialized networking devices such as routers, switches, access points, etc., interconnected via wired and / or wireless connections. For example, client devices 102, the one or more servers 104 and / or the intermediary devices in network(s) 110 may communicate wirelessly via links based on WiFi, cellular, infrared, radio, near-field communication, satellite, or the like. Other such connections may use hardwired links, e.g., Ethernet, fiber optic, etc. The nodes / devices typically communicate over the network by exchanging discrete frames or packets of data (packets 140) according to predefined protocols, such as the Transmission Control Protocol / Internet Protocol (TCP / IP) other suitable data structures, protocols, and / or signals. In this context, a protocol consists of a set of rules defining how the nodes interact with each other.

[0019] Client devices 102 may include any number of user devices or end point devices configured to interface with the techniques herein. For example, client devices 102 may include, but are not limited to, desktop computers, laptop computers, tablet devices, smart phones, wearable devices (e.g., heads up devices, smart watches, etc.), set-top devices, smart televisions, Internet of Things (IoT) devices, autonomous devices, or any other form of computing device capable of participating with other devices via network(s) 110.

[0020] Notably, in some implementations, the one or more servers 104 and / or databases 106, including any number of other suitable devices (e.g., firewalls, gateways, and so on) may be part of a cloud-based service. In such cases, the servers and / or databases 106 may represent the cloud-based device(s) that provide certain services described herein, and may be distributed, localized (e.g., on the premise of an enterprise, or “on prem”), or any combination of suitable configurations, as will be understood in the art.

[0021] Those skilled in the art will also understand that any number of nodes, devices, links, etc. may be used in computing system 100, and that the view shown herein is for simplicity. Also, those skilled in the art will further understand that while the network is shown in a certain orientation, the computing system 100 is merely an example illustration that is not meant to limit the disclosure.

[0022] Notably, web services can be used to provide communications between electronic and / or computing devices over a network, such as the Internet. A web site is an example of a type of web service. A web site is typically a set of related web pages that can be served from a web domain. A web site can be hosted on a web server. A publicly accessible web site can generally be accessed via a network, such as the Internet. The publicly accessible collection of web sites is generally referred to as the World Wide Web (WWW).

[0023] Also, cloud computing generally refers to the use of computing resources (e.g., hardware and software) that are delivered as a service over a network (e.g., typically, the Internet). Cloud computing includes using remote services to provide a user’s data, software, and computation.

[0024] Moreover, distributed applications can generally be delivered using cloud computing techniques. For example, distributed applications can be provided using a cloud computing model, in which users are provided access to application software and databases over a network. The cloud providers generally manage the infrastructure and platforms (e.g., servers / appliances) on which the applications are executed. Various types of distributed applications can be provided as a cloud service or as a Software as a Service (SaaS) over a network, such as the Internet.

[0025] FIG. 2 is a schematic block diagram of an example node / device 200 (e.g., an apparatus) that may be used with one or more implementations described herein, e.g., as any of the devices shown in FIG. 1 above. Device 200 may comprise one or more network interfaces, such as interfaces 210 (e.g., wired, wireless, network interfaces, etc.), at least one processor (e.g., processor 220), and a memory 240 interconnected by a system bus 250, as well as a power supply 260 (e.g., battery, plug-in, etc.).

[0026] The interfaces 210 contain the mechanical, electrical, and signaling circuitry for communicating data over links coupled to the network(s) 110. The network interfaces may be configured to transmit and / or receive data using a variety of different communication protocols. Note, further, that device 200 may have multiple types of network connections via interfaces 210, e.g., wireless and wired / physical connections, and that the view herein is merely for illustration.

[0027] Depending on the type of device, other interfaces, such as input / output (I / O) interfaces 230, user interfaces (UIs), and so on, may also be present on the device. Input devices, in particular, may include an alpha-numeric keypad (e.g., a keyboard) for inputting alpha-numeric and other information, a pointing device (e.g., a mouse, a trackball, stylus, or cursor direction keys), a touchscreen, a microphone, a camera, and so on. Additionally, output devices may include speakers, printers, particular network interfaces, monitors, etc.

[0028] The memory 240 comprises a plurality of storage locations that are addressable by the processor 220 and the interfaces 210 for storing software programs and data structures associated with the implementations described herein. The processor 220 may comprise hardware elements or hardware logic adapted to execute the software programs and manipulate the data structures 245. An operating system 242, portions of which are typically resident in memory 240 and executed by the processor, functionally organizes the device by, among other things, invoking operations in support of software processes and / or services executing on the device. These software processes and / or services may comprise an AI process 248 and / or a segment routing process 249, as described herein.

[0029] It will be apparent to those skilled in the art that other processor and memory types, including various computer-readable media, may be used to store and execute program instructions pertaining to the techniques described herein. Also, while the description illustrates various processes, it is expressly contemplated that various processes may be implemented as modules configured to operate in accordance with the techniques herein (e.g., according to the functionality of a similar process). Further, while processes may be shown and / or described separately, those skilled in the art will appreciate that processes may be routines or modules within other processes.

[0030] Segment routing process 249 includes computer executable instructions executed by processor 220 to perform functions in accordance with one or more routing protocols, such as the Interior Gateway Protocol (IGP) (e.g., Open Shortest Path First, “OSPF,” and Intermediate-System-to-Intermediate-System, “IS-IS”), the Border Gateway Protocol (BGP) (e.g., in conjunction with AI process 248), etc., as will be understood by those skilled in the art. For instance, these operations may include configuring and managing a forwarding information database containing, e.g., data used to make forwarding decisions. In particular, changes in the network topology may be communicated among devices in the computer network, such as device 200, using a routing protocol, such as the OSPF or IS-IS link-state protocols, to “converge” to an identical view of the network topology.

[0031] In various implementations, segment routing process 249 may cause device 200 to perform segment routing in the network, such as, e.g., in conjunction with Multiprotocol Label Switching (MPLS). For example, segment routing process 249 may utilize extensions to the IGP (e.g., IS-IS, OSPF, etc.), that allow IGP messages to carry MPLS label information, to use segment routing within the network.

[0032] In general, segments in a segment routed network may fall into one of two categories: node segments and adjacency segments. Adjacency segments generally represent the local interface between a given node and an adjacent neighbor. Notably, adjacency segments do not need to be unique among the different nodes, as adjacency segments only require local significance to the particular node. Node segments, in contrast, are global in nature and use unique identifiers to represent node segment endpoints. When used in conjunction with MPLS, segments (e.g., node and adjacency segments) may be treated as labels, whereby a node may either “push” a new segment / label onto the stack, “pop” (e.g., remove) the top segment / label from the stack, or “swap” the top label of the stack with another label.

[0033] In various implementations, as detailed further below, AI process 248 and / or segment routing process 249 may include computer executable instructions that, when executed by processor 220, cause device 200 to perform the techniques described herein. To do so, in some implementations, AI process 248 and / or segment routing process 249 may utilize AI / machine learning. In general, AI / machine learning is concerned with the design and the development of techniques that take as input empirical data (such as network statistics and performance indicators) and recognize complex patterns in these data. One very common pattern among these techniques is the use of an underlying model M, whose parameters are optimized for minimizing the cost function associated to M, given the input data. For instance, in the context of classification, the model M may be a straight line that separates the data into two classes (e.g., labels) such that M = a*x + b*y + c and the cost function would be the number of misclassified points. The learning process then operates by adjusting the parameters a, b, c such that the number of misclassified points is minimal. After this optimization phase (or learning phase), the model M can be used very easily to classify new data points. Often, M is a statistical model, and the cost function is inversely proportional to the likelihood of M, given the input data.

[0034] In various implementations, AI process 248 and / or segment routing process 249 may use one or more supervised, unsupervised, or semi-supervised AI / machine learning models. Generally, supervised learning entails the use of a training set of data that is used to train the model to apply labels to the input data. For example, the training data may include sample configurations labeled with textual metadata. On the other end of the spectrum are unsupervised techniques that do not require a training set of labels. Notably, while a supervised learning model may look for previously seen patterns that have been labeled as such, an unsupervised model may instead look to whether there are sudden changes or patterns in the behavior of the metrics. Semi-supervised learning models take a middle ground approach that uses a greatly reduced set of labeled training data.

[0035] Example AI / machine learning techniques that AI process 248 and / or segment routing process 249 could use may include, but are not limited to, nearest neighbor (NN) techniques (e.g., k-NN models, replicator NN models, etc.), statistical techniques (e.g., Bayesian networks, etc.), clustering techniques (e.g., k-means, mean-shift, etc.), neural networks (e.g., reservoir networks, artificial neural networks, etc.), support vector machines (SVMs), long short-term memory (LSTM), logistic or other regression, Markov models or chains, principal component analysis (PCA) (e.g., for linear models), singular value decomposition (SVD), multi-layer perceptron (MLP) artificial neural networks (ANNs) (e.g., for non-linear models), replicating reservoir networks (e.g., for non-linear models, typically for timeseries), random forest classification, or the like.

[0036] In further implementations, AI process 248 and / or segment routing process 249 may also use one or more generative artificial intelligence / machine learning models. In contrast to discriminative models that simply seek to perform pattern matching for purposes such as anomaly detection, classification, or the like, generative approaches instead seek to generate new content or other data (e.g., audio, video / images, text, etc.), based on an existing body of training data. For instance, in the context of machine unlearning, AI process 248 may be a component of, use, and / or be utilized in the management of prompts / access to a generative model to perform layer attribution, perform layer sensitivity assessment, remove capabilities from a previously trained model, retain model performance, etc. based on a conversational input from a user (e.g., voice, text, etc.). Example generative approaches can include, but are not limited to, generative adversarial networks (GANs), large language models (LLMs) and other foundation models, diffusion models, transformer models, and the like.

[0037] FIG. 3 illustrates an example 300 for interfacing with an AI model, in various implementations. In example 300, a user 302 may send a prompt 304 (e.g., a query, a query augmented with additional data, documents, and / or images, etc.) to an AI model 308. The AI model 308 may be configured to process a prompt 304 to generate an output 306 to satisfy the prompt 304.

[0038] AI model 308 may be a model configured to apply its trained algorithms to generate a response (e.g., output 306) based on the prompt 304 provided. More specifically, AI model 308 may be trained on a training dataset 310 and, once trained, be deployed for inference. For instance, in some cases, AI model 308 may take the form of a large language model (LLM) or other foundation model, diffusion-based model, combinations thereof, or the like.

[0039] The output 306 may be the result produced by AI model 308 (e.g., by the application of AI model 308 to the prompt 304). This output can vary depending on the model’s configuration and the task at hand. For example, the output 306 may include one or more of a generated and / or synthesized image, a text response, a classification and / or prediction, etc.

[0040] As would be appreciated, AI agents are also capable of interacting with generative models, such as AI model 308, which may be integrated directly into the agent or accessed via an API. Indeed, the recent breakthroughs in large language models (LLMs), such as GPT-4, as well as other generative models, represent new opportunities across a wide spectrum of industries. More specifically, the ability of these models to follow instructions now allow for interactions with tools (also called plugins) that are able to perform tasks such as searching the web, executing code, etc. In addition, agents can be written to perform complex tasks by chaining multiple calls to one or more LLMs. For example, a first step can consist in formulating a plan in natural language, and subsequent steps in executing on this plan by writing code to call application programming interfaces (APIs) or libraries.

[0041] FIG. 4 illustrates an example architecture 400 for an artificial intelligence (AI) agent, according to various implementations. At the core of architecture 400 is AI agent 402, which may be implemented through execution of AI process 248.

[0042] As shown, AI agent 402 may interact with a user via a user interface 404. For instance, a user may issue a prompt to AI agent 402 that seeks an answer to a question, performance of a certain task, or the like. In turn, AI agent 402 may use its associated model to formulate a response.

[0043] Also as shown, AI agent 402 may interact with tools 406. In general, tools 406 may take the form of interfaces that allow AI agent 402 to interact with any number of systems, in its efforts to produce a response for its input request. For instance, tools 406 may allow AI agent 402 to perform searches (e.g., web searches, searches within a given application or database, etc.), send control commands, or perform other actions, as needed.

[0044] In various implementations, AI agent 402 may also be part of an agentic system whereby multiple AI agents interact with one another to formulate a response to an input request. Indeed, the tools, models, etc. available to any given agent may differ across the agentic system. Consequently, different agents may have different capabilities and specialties. Thus, in some implementations, AI agent 402 may also interact with other agent 408, to aid in formulating a final response to its input request. Typically, other agent 408 is executed by a different device than that of the device executing AI agent 402, meaning that AI agent 402 and other agent 408 may communicate via a computer network. In other implementations, though, both agents may be executed by the same device, in further implementations.

[0045] For instance, assume that other agent 408 uses a model that has be specialized using knowledge about computer networks and interfaces with tools capable of interacting with a computer network (e.g., to retrieve information, make configuration changes, etc.). Now, assume that the user of user interface 404 issues a query to AI agent 402 asking why the performance of their videoconferencing application is poor. Further, assume that AI agent 402 uses a model that has been specialized on knowledge about the videoconferencing application and able to interact with that application via tools 406. If its initial assessment of the operation of the videoconferencing application is that everything appears to be performing well at the server level, AI agent 402 may then issue a request to other agent 408, to see whether the root cause of the poor performance is the computer network itself.

[0046] In some implementations, AI agent 402 may also interact with, or include, a retrieval augmented generation (RAG) system, such as RAG system 410. In general, RAG systems operate by enhancing a prompt for input to a generative model (e.g., an LLM) with additional context. Typically, underlying a RAG system is a dataset of documents or other information that is in a particular domain. For instance, consider the case of AI agent 402 generating a prompt that asks its LLM to make an assessment regarding a computer network. In the case of a general LLM, the LLM may not have specialized knowledge regarding the devices in the network (e.g., command line interface commands, information about the topology of the network, etc.). In such a case, RAG system 410 may modify the prompt, prior to input to the LLM, to provide this additional context, thereby improving the quality of the response and avoiding hallucinations. Typically, a RAG system stores this contextual information in a vector database for quick retrieval using semantic searching.

[0047] Indeed, LLMs and other modern AI models are capable of performing a wide variety of tasks. In addition, agentic systems may leverage such models to perform an even larger set of tasks.

[0048] However, training an AI model and performing other high-performance computing (HPC) tasks is not straightforward, as network or compute fabric resources are not unlimited. This means that different AI model training and other computing tasks often need to be scheduled, resulting in some of the tasks having to wait for execution. Indeed, recent studies estimate that approximately 33% of the processing time for all AI tasks is attributable to waiting on backend network delays.

[0049] Common network implementations for connecting front-end CPU-based networks and backend GPU-based HPC networks to facilitate data transfer and high-performance computing tasks include High-Speed Ethernet, InfiniBand, NVLink, Peripheral Component Interconnect Express (PCIe), and Fibre Channel (FC), among others. When it comes to AI workloads, a front-end network scheduler is typically used to schedule and orchestrate AI-related workloads ranging from model training to inferencing and data processing. This scheduling often entails coordinating various resources and services, managing job queues, and ensuring that the right data and computational resources are available.

[0050] By way of example, FIG. 5 illustrates an example network or compute fabric 500 for performing AI model training and HPC tasks, according to various implementations. As shown, network or compute fabric 500 may include a frontend network 502 and a backend network 504. Network or compute fabric 500 may also be connected to a WAN 506, allowing for remote access.

[0051] For instance, frontend network 502 may include various components such as a data center interconnect (DCI), any number of frontend spines, a plurality of top-of-rack (TOR) switches, etc. Likewise, backend network 504 may include HPC clusters, servers, its own backend TOR switches, etc. on the racks, as well as its own backend spines. As would be appreciated, the specific configuration and components of frontend network 502 and backend network 504 may differ as desired.

[0052] As noted above, in large-scale AI training clusters and other HPC fabrics, such as the one shown in FIG. 5, data parallelism is a commonly adopted approach, allowing multiple GPUs to work in parallel on the same task across extensive datasets. This setup requires frequent synchronization of memory between GPUs, especially as training jobs may involve more than 15,000 iterations. After each iteration, GPUs must communicate and exchange data, resulting in periodic, bursty flows. However, optimizing traffic in a data center without prior knowledge of the underlying traffic patterns remains challenging.Deterministic Load-Share Allocation of Paths

[0053] The techniques herein allow for deterministic load-share allocations of paths in a data center fabric.

[0054] Illustratively, the techniques described herein may be performed by hardware, software, and / or firmware, such through execution of segment routing process 249, which may include computer executable instructions executed by the processor 220 (or independent processor of interfaces 210) to perform functions relating to the techniques described herein, e.g., in conjunction with AI process 248.

[0055] Operationally, in various implementations, the techniques herein leverage the capabilities of Top-of-Rack (TOR) switches, to allow for the optimization of traffic in a data center without prior knowledge of the underlying traffic patterns. This approach is useful in the context of a bare metal cloud provider that is providing connectivity to several customers that are running several jobs in parallel.

[0056] More specifically, the techniques herein leverage segment routing (e.g., SRv6) to provide overlay virtualization (VPN) between the different tenants, encapsulating the traffic at the TOR. In addition, the approach focuses on using a subset of the available ECMP paths for traffic destined to the same leaf, thereby ensuring more equitable load-balancing across paths.

[0057] Each TOR may be configured (e.g., via a basic script at day 1 of the cluster) with any or all of the following:

[0058] 1 SR Policy to reach each other remote TOR

[0059] 4 uSID lists per SR Policy (i.e., 4 ECMP Paths to reach the remote Leaf)

[0060] 1 Integrated Performance Measurement (IPM) session for each uSID list. If the IPM session reports SLA degradation then the uSID list is invalidated, and upon recovery of SLA parameters the uSID list is validated again.

[0061] FIG. 6 illustrates an example fabric topology 600, according to various implementations. As shown, fabric topology 600 may include a set of leaves 604 (e.g., L1-L5), also sometimes referred to as “leafs” in the data center context, interconnected via a spine 602 (e.g., spine nodes S1-S8). Here, there are eight Equal-Cost Multi-Path (ECMP) paths from leaf L1 to any other remote leaf.

[0062] The day1 cluster configuration provisions the following:

[0063] L1 to L2: [via S1, S2, S3, S4]

[0064] L1 to L3: [via S3, S4, S5, S6]

[0065] L1 to L4: [via S5, S6, S7, S8]

[0066] L1 to L5: [via S7, S8, S1, S2]

[0067] Such configuration achieves the following:

[0068] Smaller number of ECMP Paths from Leaf X to Leaf Y. This achieves homogenous utilization across those 4 paths.

[0069] Equal spine utilization overall. Assuming there is traffic from any leaf to any leaf, if the SR Policies are computed correctly, all of the spines are utilized equally.

[0070] This TOR-based approach provides a robust solution for optimizing data center traffic without requiring insight into specific traffic patterns, ensuring balanced load distribution and efficient resource utilization.

[0071] In various implementations, the techniques herein also work with traditional ECMP load-balancing and for packet spraying. In the case of packet spraying, it is also possible to spray over a subset of the ECMP paths through which the techniques could also be applied.

[0072] FIG. 7 illustrates a graph 700 showing the number of flows 702 per link using traditional Equal-Cost Multi-Path (ECMP) versus the number of flows 704 per link using the uSID-based approach herein, according to various implementations. As shown, lab testing was conducted to show the efficacy of the techniques herein. This mechanism was combined with IPM to complement Explicit Congestion Notification (ECN) / Priority Flow Control (PFC). Both are excellent mechanisms but only react to congestion experienced by packets. IPM complements it proactively (using synthetic probing) allowing the network to react at any point in time (e.g., while the GPUs are computing in the middle of an iteration).

[0073] FIG. 8 illustrates an example simplified procedure for making deterministic load-share allocations of paths in a compute fabric, in accordance with one or more implementations described herein. For example, a non-generic, specifically configured device (e.g., device 200, such as ToR device in a network fabric), may perform procedure 800 (e.g., a method) by executing stored instructions (e.g., AI process 248 and / or segment routing process 249). Procedure 800 may start at step 805, and continues to step 810, where, as described in greater detail above, the ToR device (e.g., a controller, server, etc.) may obtain a segment routing policy to reach a remote ToR device in the network fabric. In one implementation, the segment routing policy is one of a plurality of segment routing policies configured to equalize utilization of the network spine.

[0074] At step 815, as detailed above, the ToR device also obtains a plurality of micro segment identifiers (uSIDs) associated with the segment routing policy, each uSID corresponding to a different Equal-Cost Multipath (ECMP) path in the network fabric between the ToR device and the remote ToR device. In some instances, the network fabric includes a network spine that comprises a plurality of spine nodes, and wherein the ToR device and the remote ToR device are connected to one another via the network spine. In one implementation, each of the uSIDs is associated with a different spine node of the network spine. In a further implementation, the plurality of uSIDs corresponds to a subset of the plurality of spine nodes. In one implementation, the ToR device comprises a network switch.

[0075] At step 820, the ToR device selects, in accordance with the segment routing policy, a particular path in the network fabric to convey a packet to the remote ToR device, as described in greater detail above. In some implementations, the packet is associated with an artificial intelligence training or inference task.

[0076] At step 825, as detailed above, the ToR device sends the packet to the remote ToR device via the particular path using the uSID associated with that path. In one implementation, the ToR device invalidates uSID associated with the particular path based on a determination that the particular path is exhibiting degraded performance. In some instances, the ToR device makes the determination that the particular path is exhibiting degraded performance based on an Integrated Performance Measurement (IPM) session used to monitor the particular path. In one implementation, the ToR device uses packet spraying to send the packet to the remote ToR device via the particular path.

[0077] Procedure 800 may then end at step 830.

[0078] It should be noted that while certain steps within procedure 800 may be optional as described above, the steps shown in FIG. 8 are merely examples for illustration, and certain other steps may be included or excluded as desired. Further, while a particular order of the steps is shown, this ordering is merely illustrative, and any suitable arrangement of the steps may be utilized without departing from the scope of the implementations herein.Reducing ECMP Group Resource Utilization in an AI backend

[0079] Further aspects herein also relate to reducing Equal-Cost Multipath (ECMP) group resource utilization in an AI backend. As noted above, in a Segment Routing (SRv6) AI backend utilizing the SmartTOR model, a significant challenge arises from the need for each top-of-rack (ToR0 device to maintain an SR policy for every leaf in the network fabric, with each policy containing 4-10 segment identifier (SID) lists. This requirement can lead to the exhaustion of Equal-Cost Multipath (ECMP) group resources, on some platforms.

[0080] According to further implementations, techniques are also introduced herein that are capable of achieving the desired forwarding outcomes while substantially reducing the consumption of ECMP group resources in the hardware. In various implementations, the techniques herein do so through a double recursion mechanism over a single ECMP group to determine the egress interface. This is done as follows:

[0081] Single ECMP Group Utilization: In a data center topology where leaves are accessible via a common set of spine devices, a single ECMP group is employed. This group encodes all possible spine devices capable of reaching these leaves.

[0082] Hash-Based Spine Selection:

[0083] Initial Hash: A hash operation based on the IPv6 Destination Address (DA) is performed to restrict the set of ECMP Group members to a subset of four, effectively narrowing down to four potential spine devices for a specific destination leaf.

[0084] Secondary Hash: A classic 3-tuple hash, incorporating the IPv6 Flow Label, is used to select one specific member from the reduced subset, thereby choosing one spine device for the flow.

[0085] uSID List Management: These ECMP groups can refer to plain IP reachability or a uSID list. This approach benefits from the fact that each uSID list is encoded only once, significantly reducing the total number of uSID lists. The uSID list contains the path up to the spine device, allowing it to be shared across all potential leafes. As there is a single path down from the spine up to the destination leaf, it is not required to encode it explicitly.

[0086] As would be appreciated, the above approach optimizes resource utilization by minimizing the number of required ECMP groups and uSID lists, enhancing the scalability and efficiency of the SRv6 AI backend.

[0087] While there have been shown and described illustrative implementations that provide for the deterministic load-share allocation of paths and for reducing ECMP group resources in AI backends, it is to be understood that various other adaptations and modifications may be made within the intent and scope of the implementations herein. In addition, while certain processes are shown, other suitable processes may be used, accordingly.

[0088] The foregoing description has been directed to specific implementations. It will be apparent, however, that other variations and modifications may be made to the described implementations, with the attainment of some or all of their advantages. For instance, it is expressly contemplated that the components and / or elements described herein can be implemented as software being stored on a tangible (non-transitory) computer-readable medium (e.g., disks / CDs / RAM / EEPROM / etc.) having program instructions executing on a computer, hardware, firmware, or a combination thereof. Accordingly, this description is to be taken only by way of example and not to otherwise limit the scope of the implementations herein. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the implementations herein.

Claims

1. A method comprising:obtaining, by a device, a plurality of segment routing micro segment identifier (uSID) lists, each uSID list corresponding to a different path between processing units in a network fabric having a plurality of paths between the device and a remote device,wherein the processing units are associated with processing activities implementing artificial intelligence (AI) training or inference;selecting, by the device, a first path of the plurality of paths in the network fabric to convey a packet to the remote device;sending, by the device using packet spraying, the packet to the remote device via the first path using a first uSID list, of the plurality of uSID lists, that is associated with the first path; andperforming deterministic load balancing of packets associated with the processing activities, wherein the deterministic load balancing includes:determining that the performance of the first path is degraded based at least in part upon probing the first path;at least temporarily avoiding usage of the first uSID list for sending subsequent packets on the first path based on the determination that the performance of the first path is degraded,wherein the temporary usage avoidance of the first uSID list occurs while the processing units are engaged in the processing activities;later determining that the performance of the first path is no longer degraded based at least in part upon again probing the first path; andrestoring usage of the first uSID list based upon the later determination that the performance of the first path is no longer degraded.

2. The method of claim 1, wherein the network fabric includes a network spine that comprises a plurality of spine nodes, and the device and the remote device are connected to one another via the network spine.

3. The method of claim 2, wherein each uSID of the first uSID list is associated with a different spine node of the network spine.

4. A system comprising:one or more processors; andone or more non-transitory computer readable media, coupled to the one or more processors, storing instructions that, when executed by the one or more processors, cause the system to:obtain a plurality of segment routing micro segment identifier (uSID) lists, each uSID list corresponding to a different path between processing units in a network fabric having a plurality of paths between a device and a remote device,wherein the processing units are associated with processing activities implementing artificial intelligence (AI) training or inference;select a first path of the plurality of paths in the network fabric to convey a packet to the remote device;send, using packet spraying, the packet to the remote device via the first path using a first uSID list, of the plurality of uSID lists, that is associated with the first path; andperform deterministic load balancing of packets associated with the processing activities, wherein the deterministic load balancing includes:determining that the performance of the first path is degraded based at least in part upon probing the first path;at least temporarily avoiding usage of the first uSID list for sending subsequent packets on the first path based on the determination that the performance of the first path is degraded,wherein the temporary usage avoidance of the first uSID list occurs while the processing units are engaged in the processing activities;later determining that the performance of the first path is no longer degraded based at least in part upon again probing the first path; andrestoring usage of the first uSID list based upon the later determination that the performance of the first path is no longer degraded.

5. The system of claim 4, wherein the network fabric includes a network spine that comprises a plurality of spine nodes, and the device and the remote device are connected to one another via the network spine.

6. The system of claim 5, wherein each uSID of the first uSID list is associated with a different spine node of the network spine.

7. One or more non-transitory computer readable media storing instructions that, when executed by one or more processors, cause the one or more processors to:obtain a plurality of segment routing micro segment identifier (uSID) lists, each uSID list corresponding to a different path between processing units in a network fabric having a plurality of paths between a device and a remote device,wherein the processing units are associated with processing activities implementing artificial intelligence (AI) training or inference;select a first path of the plurality of paths in the network fabric to convey a packet to the remote device;send, using packet spraying, the packet to the remote device via the first path using a first uSID list, of the plurality of uSID lists, that is associated with the first path; andperform deterministic load balancing of packets associated with the processing activities, wherein the deterministic load balancing includes:determining that the performance of the first path is degraded based at least in part upon probing the first path;at least temporarily avoiding usage of the first uSID list for sending subsequent packets on the first path based on the determination that the performance of the first path is degraded,wherein the temporary usage avoidance of the first uSID list occurs while the processing units are engaged in the processing activities;later determining that the performance of the first path is no longer degraded based at least in part upon again probing the first path; andrestoring usage of the first uSID list based upon the later determination that the performance of the first path is no longer degraded.

8. The one or more non-transitory computer readable media of claim 7, wherein the network fabric includes a network spine that comprises a plurality of spine nodes, and the device and the remote device are connected to one another via the network spine.

9. The one or more non-transitory computer readable media of claim 8, wherein each uSID of the first uSID list is associated with a different spine node of the network spine.

10. The method of claim 1, wherein the processing units are graphics processing units.

11. The system of claim 4, wherein the processing units are graphics processing units.

12. The one or more non-transitory computer readable media of claim 7, wherein the processing units are graphics processing units.

13. The method of claim 1, further comprising also practicing the method for each of the other paths of the plurality of paths in the network fabric.

14. The system of claim 4, the one or more non-transitory computer readable media storing further instructions that, when executed, cause the system to also perform the operations of the system for each of the other paths of the plurality of paths in the network fabric.

15. The one or more non-transitory computer readable media of claim 7 storing further instructions that, when executed, cause the one or more processors to also perform the operations for each of the other paths of the plurality of paths in the network fabric.