Professional Documents
Culture Documents
Dave Suri, Project Lead, Applications Performance Gustavo Jimenez, Senior Development Manager, ATG
Insert Information Protection Policy Classification from Slide 8
Agenda
Architecture Patches/Certified Browsers/JDK versions JVM Tuning and Tools Forms Tools (strace/FRD) Java Concurrent Program Performance Case studies
Architecture Overview
The applications tier connects to the database via JDBC connections The application connections are pooled, so a database session is used to service requests from multiple users throughout the lifetime of the connection Java concurrent programs run in their own JVM - each has a special configuration. Forms runs in Socket mode (Forms Listener) or Servlet mode (HTTP/s to the JVM) Apache HTTP forwards requests to OC4J through mod_oc4j. OC4J routes them to the right oacore JVM while OPMN helps keep the uptime high with death detection.
4 Copyright 2012, Oracle and/or its affiliates. All rights reserved.
Agenda
Architecture Patches/Certified Browsers/JDK versions JVM Tuning and Tools Forms Tools (strace/FRD) Java Concurrent Program Performance Case studies
10
11
For a list of certifications, use Document ID 561580.1 Oracle E-Business Suite Release 12.1 Release Content Documents
12
Firefox 3.6 is supported in 11i, R12 Windows 7 / Internet Explorer 8 / Firefox 3.6 supported in 11i/R12 Oracle E-Business Suite 12.1.1 or higher R12.0 => use R12.ATG_PF.A.DELTA.6 & Forms 10.1.2.3 or higher
11.5.10 => CU2, 11i.ATG_PF.H Rollup 7 with Document ID 783600.1 Document ID 1103276.1, 389422.1 (R12), 285218.1 (11i)
R12.1.2 have ajax customizable homepage for increased performance R12.1.3 available as patch #9239090
13
Agenda
Architecture Patches/Certified Browsers/JDK versions JVM Tuning and Tools Forms Tools (strace/FRD) Java Concurrent Program Performance Case studies
14
16
17
18
19
20
21
10067.492: [Full GC 118783K->118783K(124928K), 1.2127460 secs] 10068.706: [Full GC 118783K->118783K(124928K), 1.2166770 secs]
Heap Location cd $INST_TOP/../../../apps/tech_st/10.1.3/j2ee/home ls -l *hprof -rw------- 1 oraperf dba 149076109 Jan 26 11:11 java_pid8515.hprof
22
23
24
26
Agenda
Architecture Patches/Certified Browsers/JDK versions JVM Tuning and Tools Forms Tools (strace/FRD) Java Concurrent Program Performance Case studies
27
Agenda
Architecture Patches/Certified Browsers/JDK versions JVM Tuning and Tools Forms Tools (strace/FRD) Java Concurrent Program Performance Case studies
29
30
Agenda
Architecture Patches/Certified Browsers/JDK versions JVM Tuning and Tools Forms Tools (strace/FRD) Java Concurrent Program Performance Case studies
31
Case Studies
Oracle Advanced Product Catalog
Issue Slow Performance with Rules Enabled vs Rules Disabled
Tool Used IBM Thread Dump Analyzer Analyzes thread dumps Can compare multiple thread dumps Shows different thread states with different colors Primary area of concentration is : AJPRequestHandlerHTTPThreadGroup-* These thread groups are the Apache/AJP Requests coming to oacore Solution
Thread dumps showed JVM waiting for DB to send results. This eventually lead to the creation of a cache to improve Rules Enabled performance
32 Copyright 2012, Oracle and/or its affiliates. All rights reserved.
Case Studies
33
Case Studies
Saving a Oracle Service Request
Issue Error saving a service request
Tools Used Forms FRD
FRD showed a NULL being passed to a variable named control.mfg_org_id Executing USER_EXIT Built-in: In Argument 0 - Type: String Value: FND FFLEX PRE-UPDATE CSXSRISR, 17, Built-In, Entry, -1424992664, USER_EXIT Analyzed the CSXSRISR_LIBRARY.Init() method to find the NULL Analyzed the SR_CONTACTS.PRE_UPDATE to find how the NULL was passed to the control.mfg_org_id
Solution
Product team notified of the issue and a test case was given to isolate the affected code
34 Copyright 2012, Oracle and/or its affiliates. All rights reserved.
Case Studies
Tool Used Eclipse MAT Analyzed heap dump Showed which package consumes significant percentage of the heap Helps derive clues and questions as to what is happening in the tech stack layers Can see what objects are occupying space and their values Solution
The Java Concurrent Programs max JVM memory was increased to 1GB to allow the program to finish successfully
35
Case Studies
36
Case Studies
37
Case Studies
38
Useful Documents
Patches 244040.1 561580.1 Roadmap 380482.1 275880.1 Browsers 1103276.1 389422.1 Oracle E-Business Suite Recommended Performance Patches Oracle E-Business Suite Release 12.1 Release Content Documents Oracle E-Business Suite Release 12 Technology Stack Documentation Roadmap Oracle Application Framework Release 11i Documentation Road Map Is Windows 7 Certified With Oracle E-Business Suite? Recommended Browsers for Oracle E-Business Suite Release 12
285218.1
Setup Diagnosis 362851.1 357597.1 1160285.1 ATG 438652.1
39
Q&A
40
41
42