WebSphere Application Server Performance Tuning Toolkit

Source: Internet
Author: User
Tags websphere application server



Websphere? Application Server Performance Tuning Toolkit is an Eclipse-based smart tool designed to help users tune WebSphere application by using , data analysis, and statistical inference techniques The performance of the Server. The goal is to help users find bottlenecks and tune applications appropriately.


Background knowledge


With the wide deployment of Java EE-based enterprise-class multi-tiered architecture applications, more and more performance issues are occurring and difficult to diagnose. Multi-layered architectures make performance problems difficult to locate and spend more time and effort investigating and locating performance bottlenecks. and the consequences of performance problems can be serious.



Monitoring and tuning performance is especially important in order for WebSphere application Server application capabilities to be maximized. WebSphere Application Server Performance Tuning Toolkit can help you accomplish this task.








Overview


WebSphere Application Server Performance Tuning Toolkit (PTT) is an Eclipse-based smart tool designed to help users monitor and find performance bottlenecks by using data analysis and statistical inference techniques. The tool collects performance data from a JMX, from the PMI (performance monitoring Interface, performance monitoring interface) of the WebSphere application Server, and then presents a plain picture to the user There are a number of charts and tables to locate bottlenecks and to properly tune them.



The main feature of this tool, compared to other tools, is the ability to provide a dynamic framework that allows users to define rules appropriate to their systems, which greatly increases the accuracy of performance problem detection and diagnosis. Figure 1 summarizes the main features of the tool.


Figure 1:performance Summary of main functions of Tuning Toolkit





Some common rules have been defined to detect performance degradation and to take action automatically. For example, an alert is generated in the following situations:


  • If the heapsize reaches the maximum heap value.
  • If the thread pool reaches the threshold value.
  • If the CPU utilization reaches 90%.
  • If a servlet error occurs.
  • If a connection time-out error occurs.
  • If the thread waits for a connection.
  • If more than 1000 prepared statements are ignored.
  • If the application tries to use an invalid session.
  • If there is no space for new session use.
  • If a pending thread has been declared.
  • If a transaction is rolled back.
  • If a transaction times out.


You can also define your own rules according to the system instructions. For example, you can set an appropriate response time threshold for each serverlet, as shown below.


Rule "Servletevent" when   servlentevent (responsetime>1500, name== "trade") and then   String description = " Response time extends the limits ";p Rocessdata.addalert (" servlet ", description);} End







Benefits and Features


The performance Tuning Toolkit offers a number of benefits:



Performance Tuning Toolkit has many advantages:


  • WebSphere Application Server's lightweight software eliminates the need to install or integrate anything to the server side.
  • Real-time monitoring and interactive analysis.
  • Rule-based event handling that allows users to add their own diagnostic logic.
  • High scalability.
  • Easy-to-use interface.


It also has some key features:


    • Collect data from PMI and merge the data into the data cube.
    • Rule-based event handling.
    • Analyze the data through a graphical view and drill down to the detail data. See Figure 2 and Figure 3. Figure 2: Graph view Analysis Figure 3: Drill down to detail data
    • Generate artifacts (thread dumps and heap dumps) or enable tracing.







Installing and using the installation


To install Peformance Tuning Toolkit, you need to download the compressed file and unzip the file. Then click the PerfTuningToolkit.exe file to start the installation.


Use Performance Tuning Toolkit


First, add one or more hosts, and then configure the connection. Once the connection is set up, the tool automatically obtains the topology and server information, which is then stored in the tool. You can add, edit, or delete hosts at any time.


Add a Host


Click Add A to create a new host, see Figure 4.


Figure 4: Adding a host





Enter the host information and, if security is enabled, Select the security enabled box. And then click OK. The host is displayed in the hosts panel on the left. See Figure 5.


Figure 5: Setting up host information




Connect to Host


In the left panel, double-click the host name to connect to the host. You will then be asked if you want to customize the PIM settings with the displayed string. Click Yes to connect to the server and monitor it.


Get information about the host


Click the server name in the topology panel, and the Monitor window will appear on the right side of the Hosts pane, as shown in 6.


Figure 6: Monitoring the Host





The Monitor window displays statistical information and trend graphs. It is easy to analyze trends from multiple angles and find potential problems in the server. There are a number of tabs at the bottom of the page that allow you to get a variety of information. You can expand or collapse items on each tab as needed.


Monitoring time


There are several images in the Monitor window that can be used to display information about a variety of times: servlet Response, Transaction Response time, Jdbc Response, servlet throughput, Transaction throughput, Jdbc throughput, Concurrency, Http Session, CPU usage, Java Heap, and Alert. See Figure 7.


Figure 7: Monitoring time




Merge time interval


The merge interval option is the time interval that is used to control the monitoring curve. There are three options:autoajustinterval,combineinterval , and disintegrationinterval. When one is clicked, the curve time interval changes immediately and the curve is redrawn. See Figure 8.


Figure 8: Merge time interval





Performance Tuning Toolkit also provides debugging help features such as generating thread dumps, raw heap dumps, and enabling tracing.


Generate dump


To generate a dump, select the server on the Hosts panel and select from the Operation menu Generatse Thread dump or Generate Heap dump , shown in 9.


Figure 9: Generate dump




Enable tracing


To enable tracing, Select the server on the Hosts Panel and select enable from the operation menu Trace , shown in 10.


Figure 10: Enable tracing





In the trace Detail window, you can select an existing tracking type or manually enter tracking information in the Trace dialog box, as shown in 11.


Figure 11: Enter tracking information




Edit a rule file


Custom rules for detecting performance degradation and locating bottlenecks are saved in the rules file. To check or Edit a rule file, select editRules from the Analysis menu. Figure 12 shows the rule file.


Figure 12: Edit Rule File





This syntax is very flexible and easy to use. Over time, more and more rules are added to the tool.








Download




description name size
performance Tuning Toolkit for Windows Performancetuningtoolkit2_win32.zip 260 MB
performance Tuning Toolkit for Linux Performancetuningtoolkit2_linux32.zip 215 MB





WebSphere Application Server Performance Tuning Toolkit


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.