Professional Documents
Culture Documents
WAS31 WAS32 Web Sphere Performance Dataand Tools
WAS31 WAS32 Web Sphere Performance Dataand Tools
Introduction
• High level performance data areas
Hardware
Operating System
JVM
Web Servers
Application Servers
Messaging
Databases
Introduction
• High-end monitoring tools can be very useful
IBM Tivoli for Composite Application Management (ITCAM) Suite
Other non-IBM products such as Wily Introscope
• Much tuning/debugging can be performed with freely available tools
Are already available or can be installed easily
Focus on the problem at hand instead of the tool(s)
• Many tuning and problem determination tools can be downloaded using the IBM Support Assistant
(ISA)
# vmstat 10
procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
4 0 99864 60000 34404 451260 0 2 40 32 269 927 6 7 86 1 0
0 0 99848 60572 34416 451524 0 0 0 87 264 1514 17 9 74 1 0
0 0 99828 60356 34428 451728 6 0 6 50 263 1479 13 6 81 1 0
10 0 103020 51880 34372 446612 0 302 0 376 267 1259 12 35 53 0 0
2 0 111644 53328 26968 443712 6 844 7 880 265 1396 24 72 4 0 0
40 0 111636 53884 26992 442916 0 0 0 80 262 1460 17 10 69 5 0
0 0 111612 52724 27008 443412 3 0 3 74 264 1576 13 7 80 0 0
5 0 111568 51532 27020 444420 6 0 6 70 266 1614 20 17 63 0 0
Parser and Graphing Template for AIX “vmstat –t” Command Output
https://w3-03.ibm.com/tools/cm/iram/oslc/assets/A8D83AE2-81EF-E387-F6AE-FBC374537720/1.0
Parser and Graphing Template for Linux “top –b” Command Output
https://w3-03.ibm.com/tools/cm/iram/oslc/assets/9C1EEA1F-5EA8-FF33-A005-42F75366C72F/1.0
<Location /server-status>
SetHandler server-status
</Location>
• After a server restart, the server-status is available
http://yourhost/server-status
• Optionally, you can specify a refresh interval
For example 10 seconds http://yourhost/server-status?refresh=10
• Can optionally monitor extended status
Provides more detailed child level statistics at some performance cost
• Alternative Techniques
PMAT:
• https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=22d56091-
3a7b-4497-b36e-634b51838e11
Verbose GC Parser and Graphing Templates
• https://w3-03.ibm.com/tools/cm/iram/oslc/assets/%7B4FD70C73-20D2-EE7F-BD3E-4907BEF2AAC8%7D/1.0
Pre-defined
Templates
allow you to plot
different
metrics.
The Axes panel
supports
customized
units.
JVM performance tools: Thread and Monitor Dump Analyzer for Java
• Take care with the thread statuses reported by the JVM in the thread dump
Runnable threads may have a status of “Waiting on Condition”
Thread status vs “Active/Idle” as reported via WebSphere PMI
• A priori knowledge of the threading model for the application is required
31 © 2014 IBM Corporation
WebSphere Performance Data and Tools NA ISSW TI 2014
Legal Disclaimer
• The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained
in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are
subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing
contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and
conditions of the applicable license agreement governing the use of IBM software.
• References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or
capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to
future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by
you will result in any specific sales, revenue growth or other results.
• If the text contains performance statistics or references to benchmarks, insert the following language; otherwise delete:
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will
experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage
configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.