# US 2021/0081250 A1 · Intelligent resource allocation agent for cluster computing

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

- Number: US 2021/0081250 A1
- Document ID: US20210081250A1
- Status: Published application
- Kind: A1
- Application number: 16/569,223
- Filed: 2019-09-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Sandeep Kumar Chauhan; Sheetal Bhatia; Kritika Rai; Anuranjan Kishore
- Web page: https://patentgrep.com/patent/US20210081250A1

## CPC

- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 9/5033: {considering data affinity}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/505: {considering the load}
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 2209/501: Performance criteria
- G06F 2209/5019: Workload prediction
- G06F 2209/503: Resource availability
- G06F 2209/508: Monitor
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A resource allocation module may be configured to monitor an input queue of a cluster computing framework for a batch of one or more programs for processing. The resource allocation module parses commands in each of the one or more programs to determine an input/output (I/O) complexity parameter and at least one operation complexity parameter corresponding to each program of the one or more program files. The resource allocation module triggers execution of the one or more program files by a cluster computing framework via a network communication, wherein the cluster computing framework is configured based on the I/O complexity parameter and the at least one operation complexity parameter. Based on analysis of feedback from the cluster computing framework, the resource allocation module modifies a calculation for determining the I/O complexity parameter and/or a calculation for determining the operation complexity of the program files.

## Claims

### Claim 1

A computing system, comprising:
a resource allocation computing device comprising
a processor; and
memory storing computer-readable instructions that, when executed by the processor, cause the resource allocation computing device to:
monitor an input queue;
parse commands in each of one or more program files;
determine, based on parsed commands, an input/output (I/O) complexity parameter and at least one operation complexity parameter corresponding to each program of the one or more program files;
trigger execution of the one or more program files by a cluster computing framework via a network communication, wherein the cluster computing framework is configured based on the I/O complexity parameter and the at least one operation complexity parameter; and
the cluster computing framework configured to execute the one or more program files in response to the network communication.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
configure the cluster computing framework based on the I/O complexity parameter and the at least one operation complexity parameter corresponding to each program of the one or more program files, wherein the I/O complexity parameter corresponds to a number of times data is accesses by the commands in each of the one or more programs, wherein data access occurs in one or more of a local memory, a data storage device, and via a network connection.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
determine, based on a data latency associated with each command of a plurality of commands included in a first program, a first I/O complexity parameter associated with the first program; and
determine, based on a computational load associated with each command of the plurality of commands included in the first program, a first complexity parameter associated with the first program; and
determine based on a memory requirement associated with the first program, a second complexity parameter associated with the first program.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
configure the cluster computing framework based on the I/O complexity parameter and the operation complexity parameter corresponding to each program of the one or more program files and on historical performance information of the cluster computing framework.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein determining of the I/O complexity parameter comprises:
determining, based on the parsed commands, a first number of commands that access data stored in local memory of a cluster computing node, a second number of commands that access data stored on a storage device, and a third number of commands that access data via a network connection, wherein the cluster computing framework is configured at least in part based on the first number of commands, the second number of commands, and the third number of commands.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein determining of the operation complexity parameter comprises:
determining, based on the parsed commands, a first number of commands that access data stored in local memory of a cluster computing node, a second number of commands that access data stored on a storage device, and a third number of commands that access data via a network connection, wherein the cluster computing framework is configured at least in part based on the first number of commands, the second number of commands, and the third number of commands.

### Claim 7 (depends on 4)

The computing system of claim 4, wherein determining of the operation complexity parameter comprises:
determine, based on the parsed commands, a memory weighting parameter based on a size of a data file input.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
revise, using a machine learning, a calculation to determine the operation complexity parameter.

### Claim 9 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
update, using a machine learning, a calculation to determine the I/O complexity parameter.

### Claim 10 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
update, using a machine learning, one or more configuration weighting parameters for configuring the cluster computing framework for processing the one or more programs.

### Claim 11

A method comprising:
monitoring, by a resource monitor, an input queue;
parsing, by a complexity analyzer, after identification of a program batch in the input queue, commands in each of one or more program files of the program batch;
determining, by the complexity analyzer and based on parsed commands, an input/output (I/O) complexity parameter and at least one operation complexity parameter corresponding to each program of the one or more program files;
configuring, by a resource allocation computing device and via a network, a cluster computing framework based on the I/O complexity parameter and the at least one operation complexity parameter; and
trigger, via a command sent via a network to the cluster computing framework, execution of the one or more program files by the cluster computing framework.

### Claim 12 (depends on 11)

The method of claim 11, wherein the I/O complexity parameter corresponds to a number of times data is accesses by the commands in each of the one or more programs, wherein data access occurs in one or more of a local memory, a data storage device, and via a network connection.

### Claim 13 (depends on 11)

The method of claim 11, wherein determining the I/O complexity parameter comprises:
determining, based on a data latency associated with each command of a plurality of commands included in a first program, the I/O complexity parameter associated with the first program.

### Claim 14 (depends on 11)

The method of claim 11, wherein determining the at least one operation complexity parameter comprises:
determining, based on a computational load associated with each command of a plurality of commands included in a first program, a first complexity parameter associated with the first program; and
determining, based on a memory requirement associated with the first program, a second complexity parameter associated with the first program.

### Claim 15 (depends on 11)

The method of claim 11, comprising:
configuring the cluster computing framework based on the I/O complexity parameter and the operation complexity parameter corresponding to each program of the one or more program files and on historical performance information of the cluster computing framework.

### Claim 16 (depends on 11)

The method of claim 11, wherein determining the I/O complexity parameter comprises:
determining, based on the parsed commands, a first number of commands that access data stored in local memory of a cluster computing node, a second number of commands that access data stored on a storage device, and a third number of commands that access data via a network connection, wherein a cluster computing framework configuration is determined, at least in part, based on the first number of commands, the second number of commands, and the third number of commands.

### Claim 17 (depends on 11)

The method of claim 11, wherein determining of the operation complexity parameter comprises:
determining, based on the parsed commands, a first number of commands that access data stored in local memory of a cluster computing node, a second number of commands that access data stored on a storage device, and a third number of commands that access data via a network connection, wherein a cluster computing framework configuration is determined, at least in part, based on the first number of commands, the second number of commands, and the third number of commands.

### Claim 18 (depends on 11)

The method of claim 11, wherein determining the operation complexity parameter comprises:
determining, based on the parsed commands, a memory weighting parameter based on a size of a data file input.

### Claim 19 (depends on 11)

The method of claim 11, comprising:
updating, using a machine learning, a first weighting factor used in a calculation to determine the operation complexity parameter.

### Claim 20 (depends on 1)

The computing system of claim 1, wherein the instructions, when executed, cause the resource allocation computing device to:
updating, using a machine learning, a second weighting factor used in a calculation to determine the I/O complexity parameter.
