# US 2024/0195732 A1 · Fault-tolerant routing algorithm for toroidal network topologies

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0195732 A1
- Document ID: US20240195732A1
- Status: Published application
- Kind: A1
- Application number: 18/077,906
- Filed: 2022-12-08
- Published: 2024-06-13
- Earliest claimed: 2022-12-08
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Yazhou Zu; Brian Patrick Towles; Alireza Ghaffarkhah
- Web page: https://patentgrep.com/patent/US20240195732A1

## CPC

- H04L 45/28: using route fault recovery
- H04L 41/12: Discovery or management of network topologies
- H04L 45/02: Topology update or discovery
- H04L 45/22: {Alternate routing}
- H04L 45/54: {Organization of routing tables}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Generally disclosed herein is an approach for optimizing routing strategy to tolerate faults in a toroidal network topology including, but not limited to, N-dimensional mesh, torus, and twisted torus. The approach may include balancing a load for a specified input traffic pattern operating offline or online. The approach may also include an optimization enhancement technique specifically applicable to symmetric, dynamically composable toroidal networks based on a set of centrally connected circuit switches.

## Claims

### Claim 1

Method for optimizing routing for a network, the method comprising:
(i) taking, by one or more processors, a first hop arbitrarily from a source node to a current node along any direction, the first hop establishing a candidate route;
(ii) taking, by the one or more processors, a subsequent hop across a link from the current node to an additional node following a dimension order;
(iii) assigning, by the one or more processors, the additional node as the current node and repeating steps (ii)-(iii) until the current node is a destination node; and
(iv) taking, by the one or more processors, a new first hop from the source node along a new direction to establish a new candidate route and repeating steps (ii)-(iv) until candidate routes are established for all directions from the source node.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
before step (iii), determining, by the one or more processors, if the link is a broken link; and
abandoning the establishment of the candidate route upon determining the link is broken and performing step (iv).

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
load-balancing each link within the network using integer linear programming.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining the load balance of each link using the following formula:
γ
C
=
∑
p
∈
c
x
p
wherein, γC is the load on each link c, p is a candidate route, and x is a Boolean variable that determines whether the candidate route passing the link c is selected by the integer linear programming.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
minimizing a maximum load across all channels using the following optimization formula:
Minimize L, s·t
γC≤Ldim (c),∀C
Ld≤L,∀d
wherein L is the maximum load across all dimensions, Ldim (c) is a maximum load across all link c on a dimension, and Ld is a maximum load on dimension d.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
generating a routing table for the network based on a solution of the optimization formula.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
reducing a number of the channels by taking a multiplier between a fault pattern and a traffic pattern of the network

### Claim 8 (depends on 1)

The method of claim 1, wherein the network comprises a distributed cluster with a network fabric in toroidal topology shapes.

### Claim 9 (depends on 1)

The method of claim 1, wherein the network includes N-dimensions.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first hop can be taken in N×2 directions.

### Claim 11

A routing system of optimizing routing for a network comprises:
a network fabric;
a plurality of circuit switches; and
a plurality of compute nodes, each compute node comprising one or more processors and memory storing instructions that, when performed by the one or more processors, causes the one or more processors to perform operations, the operations comprising:
(i) taking a first hop arbitrarily from either a source node to a current node along any direction, the first hop establishing a candidate route;
(ii) taking a subsequent hop across a link from the current node to an additional node following a dimension order;
(iii) assigning the additional node as the current node and repeating steps (ii)-(iii) until the current node is the destination node; and
(iv) taking a new first hop from the source node along a new direction to establish a new candidate route and repeating steps (ii)-(iv) until candidate routes are established for all directions from the source node.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operation further comprises:
before step (iii), determining, by the one or more processors, if the link is a broken link; and
abandoning the establishment of the candidate route upon determining the link is broken and performing step (iv).

### Claim 13 (depends on 11)

The system of claim 11, wherein the operation further comprises load-balancing each link within the network using integer linear programming.

### Claim 14 (depends on 13)

The system of claim 13, wherein the operation further comprises:
determining the load balance of each link using the following formula:
γ
C
=
∑
p
∈
c
x
p
wherein, γC is the load on each link c, p is a candidate route, and x is a Boolean variable that determines whether the candidate route passing the link c is selected by the integer linear programming.

### Claim 15 (depends on 14)

The system of claim 14, wherein the operation further comprises:
minimizing a maximum load across all channels using the following optimization formula:
Minimize L, s·t
γC≤Ldim (c),∀C
Ld≤L,∀d
wherein L is the maximum load across all dimensions, Ldim (c) is a maximum load across all link c on a dimension, and Ld is a maximum load on dimension d.

### Claim 16 (depends on 15)

The system of claim 15, wherein the operation further comprises:
generating a routing table for the network based on a solution of the optimization formula.

### Claim 17 (depends on 15)

The system of claim 15, wherein the operation further comprises:
reducing a number of the channels by taking a multiplier between a fault pattern and a traffic pattern of the network

### Claim 18 (depends on 11)

The system of claim 11, wherein the network comprises a distributed cluster with a network fabric in toroidal topology shapes.

### Claim 19 (depends on 11)

The system of claim 11, wherein the network includes N-dimensions.

### Claim 20 (depends on 11)

The system of claim 11, wherein the first hop can be taken in N×2 directions.
