# US 10,958,717 B2 · Hardware implemented load balancing

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

- Number: US 10,958,717 B2
- Document ID: US10958717B2
- Status: Granted
- Kind: B2
- Application number: 16/556,832
- Filed: 2019-08-30
- Published: 2019-12-26
- Granted: 2021-03-23
- Earliest claimed: 2017-01-17
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Adrian Michael Caulfield; Eric S. Chung; Michael Konstantinos Papamichael; Douglas C. Burger; Shlomi Alkalay
- Web page: https://patentgrep.com/patent/US10958717B2

## CPC

- G06F 9/505: {considering the load}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 15/161: {Computing infrastructure, e.g. computer clusters, blade chassis or hardware partitioning (casings, cabinets, racks or drawers for data centers H05K5/00)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1001: for accessing one among a plurality of replicated servers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A server system is provided that includes a plurality of servers, each server including at least one hardware acceleration device and at least one processor communicatively coupled to the hardware acceleration device by an internal data bus and executing a host server instance, the host server instances of the plurality of servers collectively providing a software plane, and the hardware acceleration devices of the plurality of servers collectively providing a hardware acceleration plane that implements a plurality of hardware accelerated services, wherein each hardware acceleration device maintains in memory a data structure that contains load data indicating a load of each of a plurality of target hardware acceleration devices, and wherein a requesting hardware acceleration device routes the request to a target hardware acceleration device that is indicated by the load data in the data structure to have a lower load than other of the target hardware acceleration devices.

## Claims

### Claim 1

A server system comprising:
a plurality of servers, each server including at least one hardware acceleration device and at least one processor communicatively coupled to the hardware acceleration device by an internal data bus and executing a host server instance, the host server instances of the plurality of servers collectively providing a software plane, and the hardware acceleration devices of the plurality of servers collectively providing a hardware acceleration plane that implements a plurality of hardware accelerated services;
wherein each hardware acceleration device collects load data from other hardware acceleration devices of other servers and maintains in memory of a respective server of that hardware acceleration device a data structure that contains the load data indicating a load of each of a plurality of target hardware acceleration devices implementing a designated hardware accelerated service of the plurality of hardware accelerated services; and
wherein, when a requesting hardware acceleration device routes a request for the designated hardware accelerated service, the requesting hardware acceleration device routes the request to a target hardware acceleration device that is indicated by the load data in the data structure of a respective server of the requesting hardware acceleration device to have a lower load than other of the target hardware acceleration devices.

### Claim 2 (depends on 1)

The server system of claim 1, wherein the request for the designated hardware accelerated service originates from a requesting host server instance of the plurality of host server instances; and
wherein the requesting hardware acceleration device is coupled to the processor executing the requesting host server instance by the internal data bus, and the requesting hardware acceleration device reads the request and routes it to the target hardware acceleration device.

### Claim 3 (depends on 1)

The server system of claim 1, wherein the request is a multi-step request for a plurality of designated hardware accelerated services, and the designated hardware accelerated service is a next designated hardware accelerated service of the plurality of designated hardware accelerated services; and
wherein the requesting hardware acceleration device receives the multi-step request from another hardware acceleration device, implements one of the plurality of designated hardware accelerated services, and routes the multi-step request to the target hardware acceleration device implementing the next designated hardware accelerated service.

### Claim 4 (depends on 1)

The server system of claim 1, further comprising a plurality of server clusters, each server cluster including a top of rack network switch, two or more servers of the plurality of servers, and a backplane communicatively coupling the top of rack network switch and the two or more servers;
wherein each hardware acceleration device of the two or more servers in a server cluster implement a same hardware accelerated service of the plurality of hardware accelerated services, and each maintains a respective instance of the data structure further containing near-real time load data indicating a near-real time load of each other hardware acceleration device in the server cluster.

### Claim 5 (depends on 4)

The server system of claim 4, wherein when a receiving hardware acceleration device in a server cluster of the plurality of server clusters receives the request from the requesting hardware acceleration device, the receiving hardware acceleration device determines whether the receiving hardware acceleration device's current load is higher than at least one of a threshold load value or a current load of another hardware acceleration device in the server cluster implementing the same hardware accelerated service based on near-real time load data of the data structure, and
based on at least the determination, the receiving hardware acceleration device redirects the request to another hardware acceleration device in the server cluster which near-real time load data of the data structure indicates has a lower load than other hardware acceleration devices in the server cluster.

### Claim 6 (depends on 1)

The server system of claim 1, wherein when the requesting hardware acceleration device routes the request for the designated hardware accelerated service to the target hardware acceleration device, the requesting hardware acceleration device updates load data in the requesting hardware acceleration device's data structure for the target hardware acceleration device based on one or more attributes of the request.

### Claim 7 (depends on 6)

The server system of claim 6, wherein the one or more attributes of the request are selected from the group consisting of a size of the request, a type of designated hardware accelerated service, a historical time to implement the designated hardware accelerated service, historical data for the target hardware acceleration device, and packet data of the request.

### Claim 8 (depends on 1)

The server system of claim 1, wherein, when a receiving hardware acceleration device receives a request from the requesting hardware acceleration device, the receiving hardware acceleration devices responds with a message that includes load data indicating a current load of the receiving hardware acceleration device.

### Claim 9 (depends on 1)

The server system of claim 1, wherein each hardware acceleration device periodically sends load data indicating that hardware acceleration device's current load to one or more other hardware acceleration devices that have previously sent requests to that hardware acceleration device.

### Claim 10 (depends on 1)

The server system of claim 1, wherein each hardware acceleration device is configured to update a memory page accessible by an associated host server instance with load data of the data structure.

### Claim 11

A method implemented by a server system, the method comprising:
providing a plurality of servers, each server including at least one hardware acceleration device and at least one processor communicatively coupled to the hardware acceleration device by an internal data bus and executing a host server instance, the host server instances of the plurality of servers collectively providing a software plane, and the hardware acceleration devices of the plurality of servers collectively providing a hardware acceleration plane that implements a plurality of hardware accelerated services;
at each hardware acceleration device:
collecting load data from other hardware acceleration devices of other servers and maintaining in memory of a respective server of that hardware acceleration device a data structure that contains the load data indicating a load of each of a plurality of target hardware acceleration devices implementing a designated hardware accelerated service of the plurality of hardware accelerated services; and
at one of the hardware acceleration devices:
receiving a request for a designated hardware accelerated service; and
routing the request to a target hardware acceleration device that is indicated by the load data in the data structure of a respective server of the at least one of the hardware acceleration devices to have a lower load than other of the target hardware acceleration devices.

### Claim 12 (depends on 11)

The method of claim 11, wherein the request for the designated hardware accelerated service originates from a requesting host server instance of the plurality of host server instances; and
wherein the requesting hardware acceleration device is coupled to the processor executing the requesting host server instance by the internal data bus, and the requesting hardware acceleration device reads the request and routes it to the target hardware acceleration device.

### Claim 13 (depends on 11)

The method of claim 11, wherein the request is a multi-step request for a plurality of designated hardware accelerated services, and the designated hardware accelerated service is a next designated hardware accelerated service of the plurality of designated hardware accelerated services, the method further comprising:
at the one of the hardware acceleration devices:
receiving the multi-step request from another hardware acceleration device;
implementing one of the plurality of designated hardware accelerated services; and
routing the multi-step request to the target hardware acceleration device implementing the next designated hardware accelerated service.

### Claim 14 (depends on 11)

The method of claim 11,
wherein providing a plurality of servers includes providing a plurality of server clusters, each server cluster including a top of rack network switch, two or more servers of the plurality of servers, and a backplane communicatively coupling the top of rack network switch and the two or more servers;
wherein each hardware acceleration device of the two or more servers in a server cluster implements a same hardware accelerated service of the plurality of hardware accelerated services, and maintains the data structure further containing near-real time load data indicating a near-real time load of each other hardware acceleration device in the server cluster.

### Claim 15 (depends on 14)

The method of claim 14,
receiving the request from the requesting hardware acceleration device, at a receiving hardware acceleration device in a server cluster of the plurality of server clusters;
determining whether a current load of the receiving hardware acceleration device is higher than at least one of a threshold load value or a current load of another hardware acceleration device in the server cluster implementing the same hardware accelerated service based on near-real time load data of the data structure at the receiving hardware acceleration device; and
based on at least the determination, redirecting the request to another hardware acceleration device in the server cluster which near-real time load data of the data structure indicates has a lower load than other hardware acceleration devices in the server cluster.

### Claim 16 (depends on 11)

The method of claim 11, wherein when the requesting hardware acceleration device routes the request for the designated hardware accelerated service to the target hardware acceleration device, the requesting hardware acceleration device updates load data in the requesting hardware acceleration device's data structure for the target hardware acceleration device based on one or more attributes of the request.

### Claim 17 (depends on 16)

The method of claim 16, wherein the one or more attributes of the request are selected from the group consisting of a size of the request, a type of designated hardware accelerated service, a historical time to implement the designated hardware accelerated service, historical data for the target hardware acceleration device, and packet data of the request.

### Claim 18 (depends on 11)

The method of claim 11, wherein, when a receiving hardware acceleration device receives a request from the requesting hardware acceleration device, the receiving hardware acceleration devices responds with a message that includes load data indicating a current load of the receiving hardware acceleration device, and the requesting hardware acceleration device updates load data in the data structure stored in memory at the receiving hardware acceleration device based upon the current load indicated in the message from the receiving hardware acceleration device.

### Claim 19 (depends on 11)

The method of claim 11, wherein each hardware acceleration device periodically sends load data indicating that hardware acceleration device's current load to one or more other hardware acceleration devices that have previously sent requests to that hardware acceleration device.

### Claim 20

A server system comprising:
a plurality of server clusters of a plurality of servers, each server cluster including a top of rack network switch and two or more of the plurality of servers, each server including at least one hardware acceleration device and at least one processor communicatively coupled to the hardware acceleration device by an internal data bus and executing a host server instance, the host server instances of the plurality of servers collectively providing a software plane, and the hardware acceleration devices of the plurality of servers collectively providing a hardware acceleration plane that implements a plurality of hardware accelerated services;
wherein each hardware acceleration device in a server cluster of the plurality of server clusters implement a same hardware accelerated service of the plurality of hardware accelerated services;
wherein each hardware acceleration device maintains in memory a data structure that contains near-real time load data indicating a near-real time load of each other hardware acceleration device in a same server cluster as that hardware acceleration device; and
wherein when a receiving hardware acceleration device in a server cluster of the plurality of server clusters receives a request from a requesting hardware acceleration device, the receiving hardware acceleration device determines whether the receiving hardware acceleration device's current load is higher than a threshold load value and/or higher than another hardware acceleration device in the server cluster implementing the same hardware accelerated service based on near-real time load data of the data structure, and
based on at least the determination, the receiving hardware acceleration device redirects the request to another hardware acceleration device in the server cluster which near-real time load data of the data structure indicates has a lower load than other hardware acceleration devices in the server cluster.
