Determining server load capacity with virtual users
AssigneeInternational Business Machines Corporation
InventorGraham Bucknell
Life of this patent
Estimating the term…
Abstract
A method, computer program product, and system for determining a number of users corresponding to a server load including simulating one or more virtual users on a test computer system on coupled to network. One or more client requests are sent from each of the one or more virtual users to a server application executed on a server computer system coupled to the network. A metric indicative of a load on the server computer system is measured. The metric is compared to a predetermined value; and the number of the one or more virtual users is changed based on the difference between the metric and the predetermined value until the metric is within a predetermined range of the predetermined value.
Claims13
A method of determining a number of users corresponding to a server load comprising:
- simulating one or more virtual users on a test computer system coupled to a network;
- sending one or more client requests from each of the one or more virtual users to a server application executed on a server computer system coupled to the network;
- measuring a metric indicative of a CPU idle time on the server computer system, wherein measuring the metric includes periodically measuring the metric and storing each measurement in a memory, and wherein measuring the metric includes one or more of:
- calculating a running average of the metric;
- and
- applying a low pass filter to the metric;
- comparing the metric to a predetermined value;
- and
- changing the number of the one or more virtual users based on the difference between the metric and the predetermined value until the metric is within a predetermined range of the predetermined value.
A computer program product for determining a number of users corresponding to a server load, residing on a non-transitory computer readable medium, having a plurality of instructions stored thereon, which, when executed by a processor, cause the processor to perform operations comprising:
- simulating one or more virtual users on a test computer system coupled to a network;
- sending one or more client requests from each of the one or more virtual users to a server application executed on a server computer system coupled to the network;
- measuring a metric indicative of a CPU idle time on the server computer system, wherein measuring the metric includes periodically measuring the metric and storing each measurement in a memory, and wherein measuring the metric includes one or more of:
- calculating a running average of the metric;
- and
- applying a low pass filter to the metric;
- comparing the metric to a predetermined value;
- and
- changing the number of the one or more virtual users based on the difference between the metric and the predetermined value until the metric is within a predetermined range of the predetermined value.
A system for determining a number of users corresponding to a server load comprising:
- one or more processors;
- one or more memories;
- one or more software instruction sets stored on the one or more memories, which, when executed by the one or more processors, perform operations comprising:
- simulating one or more virtual users on a test computer system coupled to a network;
- sending one or more client requests from each of the one or more virtual users to a server application executed on a server computer system coupled to the network;
- measuring a metric indicative of a CPU idle time on the server computer system, wherein measuring the metric includes periodically measuring the metric and storing each measurement in a memory, and wherein measuring the metric includes one or more of:
- calculating a running average of the metric;
- and
- applying a low pass filter to the metric;
- comparing the metric to a predetermined value;
- and
- changing the number of the one or more virtual users based on the difference between the metric and the predetermined value until the metric is within a predetermined range of the predetermined value.
A method of determining a number of users corresponding to a server load comprising:
- simulating one or more virtual users on a test computer system coupled to a network;
- sending one or more client requests from each of the one or more virtual users to a server application executed on a server computer system coupled to the network;
- measuring a metric indicative of a CPU load on the server computer system, wherein measuring the metric includes periodically measuring the metric and storing each measurement in a memory, and wherein measuring the metric includes one or more of:
- calculating a running average of the metric;
- and
- applying a low pass filter to the metric;
- comparing the metric to a predetermined value corresponding to a target CPU load on the server computer system;
- and
- changing the number of the one or more virtual users based on the difference between the metric and the predetermined value until the metric is within a predetermined range of the predetermined value, thereby determining about how many users are required to access the server application executed on the server computer system to reach the target CPU load on the server computer system.
Dependencies are inferred from the claim text.