Performance Parameter indexes for Performance Optimization

Source: Internet
Author: User
Tags exit in

1. Response Time

The response time refers to the time it takes to start when the client initiates a request and end when the client receives the response returned from the server. Response time is usually measured in seconds ).

 


The inflection point in the figure indicates a sudden increase in response time, which means that the utilization of one or more system resources has reached the limit.



Response time = N1 + A1 + N2 + A2 + N3 + A3 + N4

Network Transmission Time: N1 + N2 + N3 + N4

Application Server Processing Time: A1 + A3

Database Server Processing Time: A2

 

2. Number of concurrent users

Number of system users:The number of users rated by the system. For example, if the total number of users using the OA system is 2000, this number is the number of users of the system.

Simultaneous online users:Maximum number of simultaneous online users within a certain time range

Calculation of the average number of concurrent users:

C = NL/T

 

Among them, C is the average number of concurrent users, n is the average number of users accessing each day, and l is the average time (average operation time) of the user from login to exit in one day ), T is the length of time (how long is the user using the system within one day)


3. Throughput

Throughput refers to the number of client requests processed per unit time.

From the business perspective, throughput can be measured by the number of requests/s, number of pages/s, number of people/day, or number of processed services/hour.

From the network perspective, throughput can be measured in bytes/s.


 

For interactive applications, the throughput indicator reflects the pressure on the server, which can indicate the load capacity of the system.

Throughput expressed in different ways can indicate problems at different levels, for example, the number of bytes per second can indicate bottlenecks in terms of network infrastructure, server architecture, and application server constraints; the number of requests per second is mainly a bottleneck reflected by the application server and application code.


When there is no performance bottleneck, there is a certain relationship between the throughput and the number of virtual users. You can use the following formula: F = VU * R/T


F indicates the throughput, VU indicates the number of virtual users, r indicates the number of requests sent by each virtual user, and t indicates the time used for performance testing.


4. Resource Utilization

Resource Utilization refers to the usage of resources of different systems, such as the CPU (s), memory, and network bandwidth of the server.

Resource utilization is usually measured by the percentage n % of the maximum usage.


When a resource usage increases by 100% as the load increases, it may mean that this resource becomes the performance bottleneck of the system and increases the amount of resources, this will increase the system throughput and reduce the transaction response time, which improves the system performance.



Reference: http://chenjc-it.iteye.com/blog/1564855

Performance Parameter indexes for Performance Optimization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.