# US 2003/0204594 A1 · Method and apparatus for determining a server configuration based on an execution profile of an application

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

- Number: US 2003/0204594 A1
- Document ID: US20030204594A1
- Status: Published application
- Kind: A1
- Application number: 10/133,608
- Filed: 2002-04-26
- Published: 2003-10-30
- Earliest claimed: 2002-04-26
- Assignees: Sun Microsystems, Inc.
- Inventors: Deepak Kakadia
- Web page: https://patentgrep.com/patent/US20030204594A1

## CPC

- G06F 11/3447: {Performance evaluation by modeling}
- H04L 67/30: Profiles
- G06F 11/3428: {Benchmarking}
- H04L 69/329: in the application layer [OSI layer 7]
- 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

One embodiment of the present invention provides a system that facilitates determining server configurations based on an execution profile of an application. During operation, the system analyzes the application to develop an execution profile that specifies the number of times each primitive operation is executed. Next, the system estimates the amount of resources used by the application based on the number of times each primitive operation is executed. Finally, the system determines a server configuration based on the estimated amount of resources used by the application.

## Claims

### Claim 1

A method for determining a server configuration to accommodate an application, comprising:
receiving the application;
determining the number of times each primitive operation is executed by the application;
estimating the amount of resources used by the application based on the number of times each primitive operation is executed; and
determining the server configuration to accommodate the application based on the estimated amount of resources used by the application.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, prior to estimating the amount of resources used by the application, receiving a reference architecture, wherein the reference architecture specifies an interconnection topology for the server configuration.

### Claim 3 (depends on 2)

The method of claim 2, further comprising executing each primitive operation on the reference architecture to estimate the amount of resources used by each primitive operation.

### Claim 4 (depends on 3)

The method of claim 3, wherein executing each primitive operation involves executing each primitive operation n times, and then averaging the amount of resources used over the n executions.

### Claim 5 (depends on 4)

The method of claim 4, wherein executing the primitive operation n times, further comprises executing the primitive operation n times during a fixed time period.

### Claim 6 (depends on 1)

The method of claim 1, further comprising receiving a list of server configurations.

### Claim 7 (depends on 6)

The method of claim 6, wherein the server configuration can specify:
an amount of memory;
a number of CPUs;
a CPU clock speed; and
a number of servers.

### Claim 8 (depends on 6)

The method of claim 6, wherein determining the server configuration involves selecting the server configuration from the list of server configurations.

### Claim 9

A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for determining a server configuration to accommodate an application, comprising:
receiving the application;
determining the number of times each primitive operation is executed by the application;
estimating the amount of resources used by the application based on the number of times each primitive operation is executed; and
determining the server configuration to accommodate the application based on the estimated amount of resources used by the application.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, further comprising, prior to estimating the amount of resources used by the application, receiving a reference architecture, wherein the reference architecture specifies an interconnection topology for the server configuration.

### Claim 11 (depends on 10)

The computer-readable storage medium of claim 10, further comprising executing each primitive operation on the reference architecture to estimate the amount of resources used by each primitive operation.

### Claim 12 (depends on 1)

The computer-readable storage medium of claim 1 1, wherein executing each primitive operation involves executing each primitive operation n times, and then averaging the amount of resources used over the n executions.

### Claim 13 (depends on 12)

The computer-readable storage medium of claim 12, wherein executing the primitive operation n times, further comprises executing the primitive operation n times during a fixed time period.

### Claim 14 (depends on 9)

The computer-readable storage medium of claim 9, further comprising receiving a list of server configurations.

### Claim 15 (depends on 14)

The computer-readable storage medium of claim 14, wherein the server configuration can specify:
an amount of memory;
a number of CPUs;
a CPU clock speed; and
a number of servers.

### Claim 16 (depends on 14)

The computer-readable storage medium of claim 14, wherein determining the server configuration involves selecting the server configuration from the list of server configurations.

### Claim 17

An apparatus for determining a server configuration to accommodate an application, comprising:
a counting mechanism configured to determine the number of times each primitive operation is executed by the application;
an estimating mechanism configured to estimate the amount of resources used by the application based on the number of times each primitive operation is executed; and
a configuration mechanism configured to determine the server configuration to accommodate the application based on the estimated amount of resources used by the application.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the configuration mechanism is configured to make use of a reference architecture that specifies an interconnection topology for the server configuration.

### Claim 19 (depends on 18)

The apparatus of claim 18, further comprising an execution mechanism that is configured to execute each primitive operation on the reference architecture to estimate the amount of resources used by each primitive operation.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the execution mechanism is further configured to execute each primitive operation n times, and then average the amount of resources used over the n executions.

### Claim 21 (depends on 20)

The apparatus of claim 20, wherein the execution mechanism is further configured to execute the primitive operation n times during a fixed time period.

### Claim 22 (depends on 17)

The apparatus of claim 17, wherein the configuration mechanism is configured to use a list of different server configurations.

### Claim 23 (depends on 22)

The apparatus of claim 22, wherein each server configuration can specify:
an amount of memory;
a number of CPUs;
a CPU clock speed; and
a number of servers.
