Performance test indicators and commonly used monitoring tools

Source: Internet
Author: User
Tags cpu usage jboss
Monitoring indicators
Metrics that typically require monitoring for performance testing include:
1. Server Linux (including CPU, Memory, Load, I/O).
2. Database: 1. Mysql 2.Oracle (Cache hit, index, single SQL performance, database [/url] threads, number of data pool connections).
3. Middleware: 1. Jboss 2. Apache (including number of threads, number of connections, log).
4. Network: throughput, throughput rate.
5. Application: JVM memory, log, full GC frequency.
6. Monitoring tools (loadrunner [/url]): User performance, scene status, transaction response time, TPS and so on.
7. Test machine resources: CPU, Memory, network, disk space.
Monitoring Tools
Performance testing is typically monitored using the following tools:
1.Profiler. A log of the class, Alibaba Group self-development, embedded in the application code to use.
2.Jstat. Monitor the GC status of the Java [/url] process to determine if the GC is normal.
3.JConsole. Monitoring Java memory, Java CPU usage, thread execution, and so on, needs to be configured in JVM parameters.
4.JMap. Monitor whether a Java program has a memory leak that needs to be used in conjunction with Eclipse Plug-ins or Memoryanalyzer.
5.JProfiler. Overall monitoring of each node's CPU utilization, memory usage, Response time cumulative value, thread execution, and so on, needs to be configured in JVM parameters.
6.Nmon. Comprehensive monitoring of Linux system resource usage, including CPU, memory, I/O, etc., can be independent of application monitoring.
7.Valgrind. Monitor the presence of a memory leak in C + + programs based on the Linux environment.
8.Vmmap and Applicationverifier. Monitor the presence of a memory leak in C + + programs, based on the Windows environment.
Performance analysis
You can do this in the following order:
Middleware bottleneck (apache/jboss parameter configuration, database parameter configuration)->
Debug log-> for application services
Filter log-> for application services
The performance bottleneck of this application (SQL statement, index, business logic, thread pool setup, algorithm)->
Performance bottlenecks for service providers->
Performance bottlenecks associated with underlying storage applications
Analysis criteria
The performance of the performance indicators, analysis of stability. Like what:
1. Response time to meet performance expectations, performance is stable.
2. In the application log, the probability of timing out is within an acceptable range.
3.TPS maintained in the scope of how large, whether there are waveforms, the standard deviation of how many, whether it meets the expectations.
4. Server CPU, memory, load whether within a reasonable range, and so on.
Analysis tools
For some performance indicators, the use of automated analysis tools to calculate the overall trend of data:
1.LoadRunner Analysis
LoadRunner analysis is a part of LoadRunner, which is used to generate reports from the data collected during the operation, and is mainly used to collect TPS, response time, server resource usage and other trends.
2.Memory Analyzer
The Memory Analyzer tool resolves Jmap dump memory information to find out if there is a memory leak.
3.nmon_analyser
The Nmon tool can collect resource information from the server. Lists the usage of resource metrics such as CPU, MEM, network, I/O, and so on.

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.