SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java...
Transcript of SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java...
![Page 1: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/1.jpg)
SHARE in Orlando
Tuesday, 11th August
Ian Burnett
IBM CICS TS for z/OS Performance Lead
@IanBurnett
1 © 2015 IBM Corporation
![Page 2: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/2.jpg)
© 2015 IBM Corporation 2
![Page 3: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/3.jpg)
Topics covered in this session:
•An overview of the CICS Explorer
•An overview of the IBM Health Center
•How to install the IBM Health Center into CICS Explorer
•A look at some useful views within the Health Center
3 © 2015 IBM Corporation
![Page 4: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/4.jpg)
© 2015 IBM Corporation 4
![Page 5: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/5.jpg)
© 2015 IBM Corporation 5
![Page 6: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/6.jpg)
© 2015 IBM Corporation 6
![Page 7: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/7.jpg)
© 2015 IBM Corporation 7
![Page 8: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/8.jpg)
© 2015 IBM Corporation 8
![Page 9: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/9.jpg)
© 2015 IBM Corporation 9
![Page 10: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/10.jpg)
10 © 2015 IBM Corporation
![Page 11: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/11.jpg)
© 2015 IBM Corporation 11
![Page 12: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/12.jpg)
© 2015 IBM Corporation 12
![Page 13: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/13.jpg)
A repository is an Eclipse concept – a location (either on your local disk or on
a remote server) which contains one or more features which may be installed
into an Eclipse environment.
© 2015 IBM Corporation 13
![Page 14: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/14.jpg)
© 2015 IBM Corporation 14
![Page 15: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/15.jpg)
15 © 2015 IBM Corporation
![Page 16: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/16.jpg)
16 © 2015 IBM Corporation
![Page 17: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/17.jpg)
17 © 2015 IBM Corporation
![Page 18: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/18.jpg)
18 © 2015 IBM Corporation
![Page 19: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/19.jpg)
© 2015 IBM Corporation 19
![Page 20: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/20.jpg)
Installation of IBM Health Center adds a collection of new perspectives which
allow you to customise your screen based on your area of interest.
© 2015 IBM Corporation 20
![Page 21: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/21.jpg)
21 © 2015 IBM Corporation
![Page 22: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/22.jpg)
22
The environment perspective is a launchpad for other perspectives which
provide more detailed information about the connected JVM.
© 2015 IBM Corporation
![Page 23: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/23.jpg)
We now move on to looking at some of the data which the Health Center client
can display.
© 2015 IBM Corporation 23
![Page 24: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/24.jpg)
24
Density of class loading over time
Which classes were loaded at which time
Whether a class was loaded from the class sharing cache
Also available is class histogram data
A snapshot of the classes that are in the heap
The amount of heap space that the instances are occupying
© 2015 IBM Corporation
![Page 25: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/25.jpg)
25
The Just-In-Time (JIT) compiler within the JVM uses a sampling approach to
decide which Java methods should be more aggressively compiled. This
sampling data is exposed in Health Center in the profiling perspective.
This data provides method-level profiling of the applications running in the
JVM.
Methods can be filtered by class or package name.
The Method profile view shows sample counts for specific methods.
Self is when the method is at the top of a call stack and tree is when a method
appears in a call stack.
Additionally the Invocation and Called method views allows you to analyze
the call path of each profiled method to ascertain how it was invoked, and
what further methods it calls.
© 2015 IBM Corporation
![Page 26: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/26.jpg)
26
The Garbage Collection perspective provides a set of views to assist in
analyzing the garbage collection (GC) process used by the JVM to manage
memory in the JVM heap.
Using the default gencon GC policy splits the Java heap into two areas, the
new or nursery area, and the old or tenured area. CICS JVM server statistics
call new or nursery activity minor GC and call old or tenured activity major
GC.
The Summary view provides detailed information on the GC process. Much of
this information is also displayed in the CICS Explorer JVM Servers view,
Object allocations view can be enabled by using Monitored JVM -> Garbage
Collection and allocated data collection and then select Enable collection of
object allocation events within and choosing low and high thresholds
© 2015 IBM Corporation
![Page 27: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/27.jpg)
27
Use this view to identify code that is allocating large objects
Set low and high thresholds using Monitored JVM->Garbage Collection and
allocation data collection
© 2015 IBM Corporation
![Page 28: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/28.jpg)
28 © 2015 IBM Corporation
![Page 29: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/29.jpg)
29
Use these views to identify code that is allocating large numbers of objects
outside of the thread local heap.
Enable collection of call stacks to show call hierarchy Monitored JVM ->
Garbage Collection and allocation data collection
© 2015 IBM Corporation
![Page 30: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/30.jpg)
30
Current threads view can be filtered
Thread stack can be used to show call stack
© 2015 IBM Corporation
![Page 31: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/31.jpg)
31
The Locking perspective profiles Java lock (aka monitors in Java) usage and
helps identify points of contention in the application or Java runtime
environment that prevent the application from scaling.
Useful metrics are:-
-% miss:- percentage of non-recursive requests that had to wait for the lock
-Slow:- number of times a requests had to wait
-% util:- percentage of time this lock was held during the measurement
interval
© 2015 IBM Corporation
![Page 32: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/32.jpg)
© 2015 IBM Corporation 32
![Page 33: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/33.jpg)
33
Various JVM diagnostics actions can be driven from the Health Center client
by using Monitored JVM
-> Request a dump to produce either Heap, System or Javacore dumps to a file
-> Garbage Collection to select verbosegc data be written to a file
-> Trace settings to enable and disable Java method tracing
Dumps and verbosegc data can be analysed with tools provided by the IBM
Support Assistant
© 2015 IBM Corporation
![Page 34: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/34.jpg)
© 2015 IBM Corporation 34
![Page 35: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/35.jpg)
© 2015 IBM Corporation 35
![Page 36: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/36.jpg)
36 © 2015 IBM Corporation
![Page 37: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/37.jpg)
37
If an application generates more data than Health Center can process, it is
possible that Health Center might lose some data. If data loss occurs,
you see a message about dropped data points in the agent connection
view.
You can reduce the likelihood of losing data by turning off the collection of
data from areas that you are not interested in.
To access these options, use Monitored JVM > Data Collection Settings.
© 2015 IBM Corporation
![Page 38: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/38.jpg)
CICS Explorer and the IBM Health Center are not the only sources of Java
performance information when running Java applications in CICS. In this
section we look at some other sources of information available to you when
investigating Java performance within CICS.
© 2015 IBM Corporation 38
![Page 39: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/39.jpg)
CICS statistics contains several important metrics which are produced for each
JVMSERVER in the CICS region.
© 2015 IBM Corporation 39
![Page 40: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/40.jpg)
... a continuation of the previous slide.
© 2015 IBM Corporation 40
![Page 41: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/41.jpg)
All of the monitoring data which is available for non-Java CICS tasks is also
available for tasks containing Java programs.
Also available are several fields which help identify where tasks are waiting,
as well as understanding at a task level which tasks are benefitting / would
benefit from offload to a specialty engine.
© 2015 IBM Corporation 41
![Page 42: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/42.jpg)
© 2015 IBM Corporation 42
![Page 43: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/43.jpg)
© 2015 IBM Corporation 43
![Page 44: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/44.jpg)
44 © 2015 IBM Corporation
![Page 45: SHARE in Orlando IBM CICS TS for z/OS Performance Lead · The Locking perspective profiles Java lock (aka monitors in Java) usage and helps identify points of contention in the application](https://reader034.fdocuments.in/reader034/viewer/2022052011/602635c11d35055daa01c364/html5/thumbnails/45.jpg)
© 2015 IBM Corporation 45