Deadlock free all-to-all collective communication schedules
Abstract
This disclosure relates to determining a first bandwidth of one or more first links for one or more nodes in the network; determining a second bandwidth of one or more second links for the one or more nodes; determining that a demand constraint has been met on the network; and determining that a conservation constraint has been met on the network.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method of preventing deadlock in a network, the method comprising: determining a first bandwidth of one or more first links for one or more nodes in the network; determining a second bandwidth of one or more second links for the one or more nodes; determining that a demand constraint has been met on the network; and determining that a conservation constraint has been met on the network, wherein determining that the conservation constraint has been met comprises, for each link in a channel dependency graph of the network: simultaneously determining an amount of fictitious flow along the link and a link capacity associated with the link; and determining that the amount of fictitious flow along the link is less than or equal to the link capacity associated with the link.
- Claim 2Depends on #1
The method of claim 1 wherein determining that the conservation constraint has been met includes: restricting a maximum circulation flow along one or more edges of the channel dependency graph of the network such that the maximum circulation flow is zero; determining that the maximum circulation flow is zero; and determining that the conservation constraint has been met responsive to determining that the maximum circulation flow is zero.
- Claim 3Depends on #1
The method of claim 1 wherein determining that the demand constraint has been met includes: restricting a demand on a connection between a first node and a second node such that one or more flows on the connection are less than or equal to the demand; determining that the one or more flows on the connection are less than or equal to the demand; and determining that the demand constraint has been met responsive to determining that the one or more flows on the connection are less than or equal to the demand.
- Claim 4Depends on #3
The method of claim 3 wherein the demand is a proportion of the one or more flows to total flows on the network.
- Claim 5Depends on #1
The method of claim 1 further comprising determining that a link constraint has been met on the network.
- Claim 6Depends on #5
The method of claim 5 wherein determining that the link constraint has been met includes: determining a capacity of a given link between a first node and a second node; restricting flows on the link such that a total amount of the flows does not exceed the capacity; determining that the flows do not exceed the capacity; and responsive to determining that the flows do not exceed the capacity, determining that the link constraint has been met.
- Claim 7Depends on #6
The method of claim 6 wherein the capacity is a bandwidth of the link.
- Claim 8Depends on #1
The method of claim 1 further comprising: applying at least one of the demand constraint and the conservation constraint to one or more connections between one or more nodes on the network to limit at least one maximum concurrent flow rate on the network.
- Claim 9Depends on #1
The method of claim 1 further comprising: partitioning one or more nodes of the network into a first partition; partitioning one or more nodes of the network into a second partition; determining, at a first timestep, that the demand constraint or the conservation constraint is met with respect to the first partition; and determining, at a second timestep, that the demand constraint or the conservation constraint is met with respect to the second partition, the first timestep being different from the second timestep.
- Claim 10Depends on #1
The method of claim 1, wherein determining that the conservation constraint has been met further comprises determining that the amount of the fictitious flow along each link in the channel dependency graph of the network is equal to zero.
- Claim 11Independent Claim
A non-transitory computer-readable medium containing thereon computer-executable instructions for instructing at least one processor to prevent deadlock on a network, the instructions instructing the at least one processor to: determine a first bandwidth of one or more first links for one or more nodes in the network; determine a second bandwidth of one or more second links for the one or more nodes; determine whether a demand constraint has been met on the network; and determine whether a conservation constraint has been met on the network, wherein the instructions for instructing the at least one processor to determine that the conservation constraint has been met further instruct the at least one processor to, for each link in a channel dependency graph of the network: simultaneously determine an amount of fictitious flow along the link and a link capacity associated with the link; and determine that the amount of fictitious flow along the link is less than or equal to the link capacity associated with the link.
- Claim 12Depends on #11
The non-transitory computer-readable medium of claim 11 wherein the instructions further instruct the at least one processor to: restrict a maximum circulation flow along one or more edges of the channel dependency graph of the network such that the maximum circulation flow is zero; determine that the maximum circulation flow is zero; and determine that the conservation constraint has been met responsive to determining that the maximum circulation flow is zero.
- Claim 13Depends on #11
The non-transitory computer-readable medium of claim 11 wherein the instructions further instruct the at least one processor to: restrict a demand on a connection between a first node and a second node such that one or more flows on the connection are less than or equal to the demand; determine whether the one or more flows on the connection are less than or equal to the demand; and determine whether the demand constraint has been met responsive to determining that the one or more flows on the connection are less than or equal to the demand.
- Claim 14Depends on #11
The non-transitory computer-readable medium of claim 11 wherein the instructions further instruct the at least one processor to: determining whether a link constraint has been met on the network.
- Claim 15Depends on #14
The non-transitory computer-readable medium of claim 14 wherein the instructions further instruct the at least one processor to: determine a capacity of a given link between a first node and a second node; restrict flows on the link such that a total amount of the flows does not exceed the capacity; determine whether the flows do not exceed the capacity; and responsive to determining that the flows do not exceed the capacity, determine whether the link constraint has been met.
- Claim 16Depends on #11
The non-transitory computer-readable medium of claim 11 wherein the instructions further instruct the at least one processor to: partition one or more nodes of the network into a first partition; partition one or more nodes of the network into a second partition; determine, at a first timestep, whether the demand constraint or the conservation constraint is met with respect to the first partition; and determine, at a second timestep, whether the demand constraint or the conservation constraint is met with respect to the second partition, the first timestep being different from the second timestep.
- Claim 17Independent Claim
A system for preventing deadlocks on a network, the system comprising: a first cluster including one or more nodes having one or more intracluster connections; a second cluster having at least one intercluster connection to the first cluster, the second cluster including one or more nodes having one or more intracluster connections; and a controller coupled to the network and configured to control the network by: determining a first bandwidth of one or more first links for one or more nodes in the network; determining a second bandwidth of one or more second links for the one or more nodes; determining that a demand constraint has been met on the network; and determining that a conservation constraint has been met on the network, wherein determining that the conservation constraint has been met comprises, for each link in a channel dependency graph of the network: simultaneously determining an amount of fictitious flow along the link and a link capacity associated with the link; and determining that the amount of fictitious flow along the link is less than or equal to the link capacity associated with the link.
- Claim 18Depends on #17
The system of claim 17 wherein the controller is further configured to control the network by: restricting a maximum circulation flow along one or more edges of the channel dependency graph of the network such that the maximum circulation flow is zero; determining that the maximum circulation flow is zero; and determining that the conservation constraint has been met responsive to determining that the maximum circulation flow is zero.
- Claim 19Depends on #17
The system of claim 17 wherein the controller is further configured to control the network by: restricting a demand on a connection between a first node and a second node such that one or more flows on the connection are less than or equal to the demand; determining that the one or more flows on the connection are less than or equal to the demand; and determining that the demand constraint has been met responsive to determining that the one or more flows on the connection are less than or equal to the demand.
- Claim 20Depends on #17
The system of claim 17 wherein the controller is further configured to control the network by: determining a capacity of a given link between a first node and a second node; restricting flows on the link such that a total amount of the flows does not exceed the capacity; determining that the flows do not exceed the capacity; and responsive to determining that the flows do not exceed the capacity, determining that a link constraint has been met.
Technical Overview & Description
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT This application was made with government support under Contract No. HR001120C0089, owned by the Department of Defense. The U.S. Government may have certain rights in this invention. BACKGROUND 1. Field of the Disclosure At least one example in accordance with the present disclosure relates generally to scheduling and routing of data in direct connect topologies. 2. Discussion of Related Art In machine learning, high end computation, and other computationally intensive applications, direct connect topologies may facilitate simultaneous transmission of data in a timely manner between nodes in the computational network, thereby allowing for efficient use of nodes in the computational network. SUMMARY According to at least one aspect of the present disclosure, a method of preventing deadlock in a network is presented, the method comprising: determining a first bandwidth of one or more first links for one or more nodes in the network; determining a second bandwidth of one or more second links for the one or more nodes; determining that a demand constraint has been met on the network; and determining that a conservation constraint has been met on the network. In some examples, determining that the conservation constraint has been met includes: restricting a maximum circulation flow along one or more edges of a channel dependency graph of the network such that the maximum circulation flow is zero; determining that the maximum circulation flow is zero; and determining that the conservation constraint has been met responsive to determining that the maximum circulation flow is zero. In some examples, determining that the demand constraint has been met includes: restricting a demand on a connection between a first node and a second node such that one or more flows on the connection are less than or equal to the demand; determining that the one or more flows on the connection are less than or equal to the demand;
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (3)
Non-Patent Literature (10)
- Y. Wang and Y. Li,
- “
- Load-Balancing Routing Algorithms for Reducing Packet Latency and Avoiding Deadlock in Datacenter Interconnection Networks,
- ”
- 2022 Tenth International Symposium on Computing and Networking Workshops (CANDARW), Himeji, Japan, 2022, pp. 261-267, doi: 10.1109/CANDARW57323.2022.00011. (Year: 2022).
- Y. Chen and J. Wu,
- “
- Max progressive network update,
- ”
- 2017 IEEE International Conference on Communications (ICC), Paris, France, 2017, pp. 1-6, doi: 10.1109/ICC.2017.7997201. (Year: 2017).