38
Copyright 2012 PITSS GmbH www.pitss.com 1 JanPeter Timmermann Principal Consultant PITSS Tuning des Weblogic /Oracle Fusion Middleware 11g

Tuning des Weblogic /Oracle Fusion Middleware · PDF fileTuning des Weblogic /Oracle Fusion Middleware 11g. ... Oracle Forms Migration Partner ... Oracle Support Policyon Oracle Forms/Reports

Embed Size (px)

Citation preview

Copyright 2012 PITSS GmbH www.pitss.com1

Jan‐Peter TimmermannPrincipal ConsultantPITSS

Tuning des Weblogic /Oracle Fusion Middleware 11g 

Copyright 2012 PITSS GmbH www.pitss.com2

Forms und Reports Modernisierungsexperte

über 15 Jahre Erfahrung mit Oracle 

Technologien

Oracle Gold Partner

Mitglied der Oracle Modernization 

Alliance

Oracle Forms Migration Partner

PITSS America LLC    PITSS GmbH Stuttgart/Bielefeldwww.pitssamerica.com www.pitss.de

www.pitss.com

Wer wir sind:PITSS GmbH

 Geschichte

Copyright 2012 PITSS GmbH www.pitss.com3

PITSS Standorte

PITSS Region Südwest (HQ)

D-70567 [email protected].: +49 711 728 752-00

PITSS Region SüdostD-82515 [email protected].: +49 8171 21 62-10

PITSS Region NordD-33604 Bielefeld

[email protected].: +49 521 546 795-00

Troy (MI), USA

Milton Keynes, UK

Copyright 2012 PITSS GmbH www.pitss.com4

Agenda

• Bei jeder Installation wiederkehrende Fragen Wieviel Forms Server brauche ich

Wieviel RAM brauche ich bei 100 Usern (Hardware)

Wieviele Report Server benötige ich

Wie viel Heapsize sollte der Forms Server bekommen (mehr als 1024 MB) ?

Agen

da

Copyright 2012 PITSS GmbH www.pitss.com5

Viele Faktoren beeinflussen die UmgebungOracle 

• The client specification: memory and CPU

• The middle tier specification: memory and CPU.

• The database tier specification: can the database keep up with therequests from all of your concurrent users or is it a bottleneck

• The network topology. Between the client and the middle tier.

Between the middle tier and the database

• Do they do a lot of calculations (CPU‐intensive)? Do theyprocess large amounts of data (memory‐intensive)?

Copyright 2012 PITSS GmbH www.pitss.com6

Was sagt denn Google dazu

• Suchbegriff : oracle forms 11g performance tuning 171.000 Ergebnisse

• Forum.oracle.com Search Results » Messages: 189 ‐ Search Terms: tuning wls_forms

https://forums.oracle.com/forums/thread.jspa?messageID=9795437&#9795437Suchen

 

Copyright 2012 PITSS GmbH www.pitss.com7

Was sagt Oracle zu dem Thema

• Information Center: Optimizing Performance of Oracle Fusion Middleware 11g [ID 1469617.2] About Reports Servers Spawning Engines [Document 1446679.1]

Oracle Support Policy on Oracle Forms/Reports Performance Tuning [Document1352875.1]

Slow Response Time with Arraysize Set to Higher Values in Forms 11 and Sqlplus[Document 946045.1]

Performance Decreasing Using Web Cache in Combination With Oracle Forms [Document 443405.1]

Oracle 

Copyright 2012 PITSS GmbH www.pitss.com8

Oracle Support Policy on Oracle Forms/Reports Performance Tuning

• Oracle has no specific documents that state  "if you have X number of users you will need Y amount of RAM and Z amount of CPU 

speed". 

• Oracle Application Server Forms Services 10g (9.0.4) Capacity Planning Guide

Seite 14 “The only true way to test the scalability for your application is to run your own benchmarking tests”

Oracle 

Copyright 2012 PITSS GmbH www.pitss.com9

Kalkulations Vorschlag laut GuideOracle 

Total memory = Memory for the operating system + Base Application Server memory + Memory consumed per user * # of Users + Average free memory

Memory consumed per user = ( Total Memory ‐Memory for the operating system ‐ Base Application Server memory ‐ Average free memory ) / # of Users

Copyright 2012 PITSS GmbH www.pitss.com10

Die Test‐MaskenTestMasken

Copyright 2012 PITSS GmbH www.pitss.com11

VerbrauchVe

rbrauch 

Gesamt Benutzt Frei VerbrauchNur OS 8.002,39 651,93 7.350,46

Nach DB 8.002,39 995,49 7.006,91

Nach WLS 8.002,39 3.907,51 4.094,88

Test.fmx 8.002,39 3.920,55 4.081,84 13,04 MB

DatenMaske 8.002,39 3.988,05 4.014,34 80,54 MBReportsMaske 8.002,39 3.974,07 4.028,32 66 MB

Mit Report 8.002,39 74 MB

Copyright 2012 PITSS GmbH www.pitss.com12

Daten Test 1 Anwender

Copyright 2012 PITSS GmbH www.pitss.com13

DatenTest 100 Anwender

Copyright 2012 PITSS GmbH www.pitss.com14

Mögliche Lösung

• In der Formsweb.cfg prestartRuntimes=True

prestartInit=100

prestartMin=100

• Oder Prestart

Copyright 2012 PITSS GmbH www.pitss.com15

Copyright 2012 PITSS GmbH www.pitss.com16

Verwaltungsmaske / Test Reports

Copyright 2012 PITSS GmbH www.pitss.com17

Heap Size bei Forms/ReportsHeap Size 

Copyright 2012 PITSS GmbH www.pitss.com18

Heap Size bei Forms/ReportsOracle 

Copyright 2012 PITSS GmbH www.pitss.com19

Copyright 2012 PITSS GmbH www.pitss.com20

Copyright 2012 PITSS GmbH www.pitss.com21

Copyright 2012 PITSS GmbH www.pitss.com22

Erfasster Bildschirmausschnitt: 28.08.2012 13:36

Copyright 2012 PITSS GmbH www.pitss.com23

Welche Komponenten sind in Forms noch betroffen

• Welche der betroffenen Komponenten  HTTP Server

Webserver

Webcache

Weblogic Managed Server Java Virtuelle Maschine

Komponenten 

Client TCP/IP

Netzwerk allgemein

Copyright 2012 PITSS GmbH www.pitss.com24

Tuning HTTP

• Im HTTP Umfeld wären folgende Parameter für ein Tuning von Interesse KeepAlive

MaxClient

MinSpareServers

MaxSpareServers

KeepAliveTimeout

MaxRequestsPerChild

ThreadLimit

ThreadsPerChild

Global‐thread‐pool

Copyright 2012 PITSS GmbH www.pitss.com25

Java Parameter

• ‐Xms<size> set initial Java heap size

• ‐Xmx<size> set maximum Java heap size

• ‐client and –server

• ‐Xss

Assuming that you are running a lot of bytecodes. Make sure that you are using the correct mode of the virtual machine.For applications that need small footprint and fast startup,use -client. For applications where overall performance is the most important issue, use -server.

The default C code stack size is 512kb(-Xss512k).A value of 64kb is the smallest amount of C code stack space allowed per thread.

Copyright 2012 PITSS GmbH www.pitss.com26

OC4J Tuning

• Darstellung der Parameter die man ändern sollte

• Default_island• Anzahl CPU=Anzahl default_island

• Java Start Parameter• ‐Server ‐Djava.security.policy=/opt/oracle/product/frservice/j2ee/OC4J_BI_Forms/config/java2.policy ‐

Djava.awt.headless=true –Xmx512M ‐Xms128M

Copyright 2012 PITSS GmbH www.pitss.com27

WLS_FORMS klonen

Copyright 2012 PITSS GmbH www.pitss.com28

WLS_FORMS klonen

Copyright 2012 PITSS GmbH www.pitss.com29

WLS_FORMS klonen

Copyright 2012 PITSS GmbH www.pitss.com30

WLS_FORMS klonen

Copyright 2012 PITSS GmbH www.pitss.com31

Reports Tuning

• Anpassungen der JVM Parameter Vorgabe der Memory Parameter Max = Min

Wie für den Forms Bereich

KeepConnection

• Abbrüche minimieren Retry = yes

• Für jede CPU eine Engine

• Für verschiedene Aufgaben einzelne Reports Server Mit angepasster Konfiguration

Copyright 2012 PITSS GmbH www.pitss.com32

Forms Tuning

• JRockit oder Sun JDK Gefühlt ist das JRockit „schneller“

Aber nicht für Forms und Reports erlaubt

Also bleibt nur das Sun JDK

• Parameter für die JVM anpassen Max = Min

‐server oder –client

C‐Code Stack

Copyright 2012 PITSS GmbH www.pitss.com33

Globale Maßnahmen

• Grosser Server mit viel RAM und CPU ?

• Virtualisierung OVM

VMWARE 

XEN

Citrix 

….  Achtung Oracle Lizenz

• Loadbalancer Hardware 

Software (Apache ?)

Copyright 2012 PITSS GmbH www.pitss.com34

Stellen Sie Ihre Fragen…Fragen

 und

 Antworten

Copyright 2012 PITSS GmbH www.pitss.com35

Danke für Ihre Aufmerksamkeit

PITSS GmbH :

Email: [email protected]: +49 172 215 1043Website: www.pitss.de

Kontakt

Copyright 2012 PITSS GmbH www.pitss.com36

ADF & APEX to go!ADF & APEX to go!Expertengespräche

ADF & APEX Previewer

am PITSS Stand 206

…im Anschluss an diesen Vortrag!Wir freuen uns auf Ihren Besuch!

ExpertengesprächeADF & APEX Previewer

am PITSS Stand 206

…im Anschluss an diesen Vortrag!Wir freuen uns auf Ihren Besuch!

Copyright 2012 PITSS GmbH www.pitss.com37

PITSS Vorträge auf der DOAG 2013

Zeit Raum Thema Referent13.00 ‐ 13.45 18 / Sydney Oracle Text – Ein vergessenes Feature in der Oracle DB Stephan La Rocca (PITSS)15.00 ‐ 13.45 20 / EG ADF, Forms und .NET – Alles vereint in einer 

Handheld Scanner AppMadi Serban (PITSS)

16.00 ‐ 16.45 8 / Helsinki Dein Blogreader – die Top 20 Artikel zu SQL & PL/SQL Stephan La Rocca (PITSS)17.00 ‐ 17.45 8 / Helsinki Multiprocessing in PL/SQL – Der Weg aus dem Single 

ThreadChristian Wille (PITSS)

17.00 ‐ 17.45 16 / Krakau Lesson Learned – Oracle Fusion Middleware Forms / Reports 11g

Jan‐Peter Timmermann (PITSS)

10.00 ‐ 10.45 11 / Oslo Wie kann ich meine (bestehende) Forms GUI moderner gestalten?

Daniel Kampf (PITSS)

11.00 ‐ 11.45 11 / Oslo Forms nach APEX 101 – Kann alles migriert werden? Fallbeispiele & Tests

Markus Salm, Nihad Haskovic (PITSS)

12.00 ‐ 12.45 11 / Oslo Dynamische Mehrsprachigkeit für Forms & Report Ronald Steiner (PITSS)13.00 ‐ 13.45 19 / EG Test & Pimp my Forms Application Nils Baranowski (PITSS), 

Dr. Jürgen Menge (ORACLE)16.00 ‐ 16.45 11 / Oslo Forms‐Wissen trifft auf ADF Jan‐Peter Timmermann (PITSS)16.00 ‐ 16.45 17 / Hongkong Experten‐Panel: Mobile Computing Stephan La Rocca (PITSS), 

Frank Nimphius (ORACLE)

13.00 ‐ 13.45 15 / Prag Das ABC der Forms-nach-ADF Migrationen –Beispiele & Live-Demo

Madi Serban, Bahar Us (PITSS)

16.00 ‐ 16.45 12 / Istanbul Performance managen ohne Performance Management Pack

Jan-Peter Timmermann (PITSS)

Die

nsta

g, 1

9.11

.201

3D

iens

tag,

19.

11.2

013

Mitt

woc

h, 2

0.11

.201

3M

ittw

och,

20.

11.2

013

Do,

21.

11.2

013

Do,

21.

11.2

013

Copyright 2012 PITSS GmbH www.pitss.com38

Next PITSS Event

Free PITSS Webinar22. Dec 2013 - Forms Strategy & Source Code AnalyticsDeutsch: 10.00 – 11.00 UhrEnglisch: 14.00 – 15.00 Uhr

Weitere Events finden Sie auf www.pitss.de

Free PITSS Webinar22. Dec 2013 - Forms Strategy & Source Code AnalyticsDeutsch: 10.00 – 11.00 UhrEnglisch: 14.00 – 15.00 Uhr

Weitere Events finden Sie auf www.pitss.de