# US 2013/0254196 A1 · Cost-based optimization of configuration parameters and cluster sizing for hadoop

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

- Number: US 2013/0254196 A1
- Document ID: US20130254196A1
- Status: Published application
- Kind: A1
- Application number: 13/843,347
- Filed: 2013-03-15
- Published: 2013-09-26
- Earliest claimed: 2012-03-26
- Assignees: Duke University
- Applicants: Duke University
- Inventors: Shivnath Babu; Herodotos Herodotou
- Web page: https://patentgrep.com/patent/US20130254196A1

## CPC

- G06F 16/284: {Relational databases}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F 11/3404: {for parallel or distributed programming}
- G06F 11/3409: {for performance assessment}
- G06F 11/3419: {by assessing time}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 11/3457: {Performance evaluation by simulation}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3428: {Benchmarking}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Cost-based optimization of configuration parameters and cluster sizing for distributed data processing systems are disclosed. According to an aspect, a method includes receiving at least one job profile of a MapReduce job. The method also includes using the at least one job profile to predict execution of the MapReduce job within a plurality of different predetermined settings of a distributed data processing system. Further, the method includes determining one of the predetermined settings that optimizes performance of the MapReduce job. The method may also include automatically adjusting the distributed data processing system to the determined predetermined setting.

## Claims

### Claim 1

A method comprising:
at a processor and memory:
receiving at least one measure of performance of a MapReduce job;
determining a job profile based on the at least one measure of performance; and
providing the job profile for one of user interface and prediction processes.

### Claim 2 (depends on 1)

The method of claim 1, wherein receiving at least one measure of performance comprises receiving one of a dataflow measure, an execution time measure, and a resource usage measure.

### Claim 3 (depends on 1)

The method of claim 1, wherein receiving at least one measure of performance comprises receiving run-time monitoring information.

### Claim 4 (depends on 1)

The method of claim 1, wherein the job profile comprises dataflow information associated with the MapReduce job.

### Claim 5 (depends on 4)

The method of claim 4, wherein the dataflow information comprises one of a size of data and I/O transfer processed during execution of the MapReduce job.

### Claim 6 (depends on 1)

The method of claim 1, wherein the job profile comprises cost information associated with the MapReduce job.

### Claim 7 (depends on 6)

The method of claim 6, wherein the cost information comprises one of resource usage and execution time associated with execution of the MapReduce job.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining a job profile comprises generating profile fields based on the at least one measure of performance of the MapReduce job.

### Claim 9 (depends on 8)

The method of claim 8, wherein profile fields comprises one of a dataflow field, a cost field, a dataflow statistics field, and a cost statistic field.

### Claim 10 (depends on 1)

The method of claim 1, further comprising using the job profile to predict behavior of the MapReduce job.

### Claim 11 (depends on 10)

The method of claim 10, wherein using the job profile comprises using the job profile to simulate execution of the MapReduce job.

### Claim 12 (depends on 1)

The method of claim 1, wherein the MapReduce job executes as map tasks and reduce tasks.

### Claim 13

A method comprising:
at a processor and memory:
receiving at least one job profile of a MapReduce job;
using the at least one job profile to predict execution of the MapReduce job within a predetermined setting of a distributed data processing system; and
determining performance of the MapReduce job based on the prediction.

### Claim 14 (depends on 13)

The method of claim 13, further comprising presenting the determined performance via a user interface.

### Claim 15 (depends on 13)

The method of claim 13, wherein the job profile comprises dataflow information associated with the MapReduce job.

### Claim 16 (depends on 15)

The method of claim 15, wherein the dataflow information comprises one of a size of data and I/O transfer processed during execution of the MapReduce job.

### Claim 17 (depends on 13)

The method of claim 13, wherein the job profile comprises cost information associated with the MapReduce job.

### Claim 18 (depends on 17)

The method of claim 17, wherein the cost information comprises one of resource usage and execution time associated with execution of the MapReduce job.

### Claim 19 (depends on 13)

The method of claim 13, wherein the predetermined setting includes functions in the MapReduce program, layout of input data, sizing of cluster resources, configuration of the MapReduce job, and configuration of the distributed data processing system.

### Claim 20 (depends on 13)

The method of claim 13, wherein using the job profile comprises simulating scheduling and execution of map and reduce tasks in the MapReduce job.

### Claim 21

A method comprising:
at a processor and memory:
receiving at least one job profile of a MapReduce job;
using the at least one job profile to predict execution of the MapReduce job within a plurality of different predetermined settings of a distributed data processing system; and
determining one of the predetermined settings that optimizes performance of the MapReduce job.

### Claim 22 (depends on 21)

The method of claim 21, further comprising presenting the determined predetermined setting via a user interface.

### Claim 23 (depends on 21)

The method of claim 21, further comprising automatically adjusting the distributed data processing system to the determined predetermined setting.

### Claim 24 (depends on 21)

The method of claim 21, wherein the job profile comprises dataflow information associated with the MapReduce job.

### Claim 25 (depends on 24)

The method of claim 24, wherein the dataflow information comprises one of a size of data and I/O transfer processed during execution of the MapReduce job.

### Claim 26 (depends on 24)

The method of claim 24, wherein the job profile comprises cost information associated with the MapReduce job.

### Claim 27 (depends on 26)

The method of claim 26, wherein the cost information comprises one of resource usage and execution time associated with execution of the MapReduce job.

### Claim 28 (depends on 21)

The method of claim 21, further comprising using input data and cluster resources for the simulation.

### Claim 29 (depends on 21)

The method of claim 21, wherein the predetermined setting includes functions in the MapReduce program, layout of input data, sizing of cluster resources, configuration of the MapReduce job, and configuration of the distributed data processing system.

### Claim 30 (depends on 21)

The method of claim 21, wherein using the job profile comprises simulating scheduling and execution of map and reduce tasks in the MapReduce job.

### Claim 31 (depends on 21)

The method of claim 21, wherein determining one of the predetermined settings comprises determining the one of the predetermined settings that optimizes performance of the MapReduce job on a cluster.

### Claim 32

A method comprising:
at a processor and memory:
receiving at least one job profile of a MapReduce job; and
using the at least one job profile to determine one of the predetermined settings that optimizes performance of the MapReduce job within a plurality of different predetermined settings of a distributed data processing system

### Claim 33 (depends on 32)

The method of claim 32, wherein the predetermined setting includes functions in the MapReduce program, layout of input data, sizing of cluster resources, configuration of the MapReduce job, and configuration of the distributed data processing system.

### Claim 34

A computing device comprising:
a processor and memory configured to:
receive at least one measure of performance of a MapReduce job;
determine a job profile based on the at least one measure of performance; and
provide the job profile for one of user interface and prediction processes.

### Claim 35

A computing device comprising:
a processor and memory configured to:
receive at least one job profile of a MapReduce job;
use the at least one job profile to predict execution of the MapReduce job within a predetermined setting of a distributed data processing system; and
determine performance of the MapReduce job based on the prediction.

### Claim 36

A computing device comprising:
a processor and memory configured to:
receive at least one job profile of a MapReduce job;
use the at least one job profile to predict execution of the MapReduce job within a plurality of different predetermined settings of a distributed data processing system; and
determine one of the predetermined settings that optimizes performance of the MapReduce job.
