35
Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Embed Size (px)

Citation preview

Page 1: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Performance and Capacity Experiences with

Websphere on z/OS & OS/390

CMG CanadaApril 24, 2002

Page 2: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Agenda RBC Environment WebSphere Overview Performance Challenges Capacity Challenges Summary Bibliography

Page 3: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

RBC Environment 3 production datacentres 1 Development. Over 8500 MIPS. 250 Million transactions weekly. Over 100 major OS/390 Applications. 3 Websphere Applications in Production 12 Websphere Apps in Development. Employ IMS CICS DB2.

Page 4: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

WebSphere Overview WebSphere is brand name. WAS is flagship product MQ is now WebSphere MQ. Lots more things to be named

WebSphere

Page 5: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Legacy Apps

From Glenn Anderson CMG presentation

Page 6: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

WAS Infrastructure

WTR (trace)

Page 7: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002
Page 8: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

From Glenn Anderson CMG presentation

Page 9: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Dealing with WebSphere Nomenclature

HTTP SERVER Comes free with OS. AKA: Web Server, Apache

server. In WLM subsystem type is

IWEB. Runs static HTML, CGI,

Servelets and JSPs. Plugins

WAS Version 4.0 (Websphere Application server)

Use to be Component Broker.

In WLM subsystem type is CB.

Got to pay extra for it. Runs EJBs, servelets, JSPs.

Page 10: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Come to Terms with these Server Instance. Server EJBs Servelet JSPs Plugins

WAS JVM JDBC IMS Connector Httpd.conf

Page 11: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Performance Challenges

Page 12: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

HTTP Performance Data SMF-103

ConfigurationPerformance Interval

- Number & type of requests/replies- bytes received/sent- Error counts- Thread/cache/memory- CGI/DNS/SSL/Proxy/Plugin response time

Page 13: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

HTTP Performance Data

Page 14: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

WAS Performance Data SMF-120

Server Activity – Transactions & Volumes Communication Sessions Container Activity

• Class section• Method section

Interval records for Server & Container

Page 15: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

WAS Performance Data

Page 16: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

MVS Performance Data WLM Report for IWEB & CB

Number of transactions Response time Cpu usage Delays Performance Index

RMF Type-72 Goal Mode

Page 17: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

MVS Performance Data (cont) STC Application Environment usage USS stats TCP/IP stats MQ stats

Page 18: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

HTTP Logs Each request is logged Client IP address What URL & page was requested Status returned

Page 19: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Performance Issues Large memory requirements Application Environment is dynamic Performance Tools are limited Interaction with various components SMF/RMF data is limited Performance can be erratic and slow

Page 20: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Performance Tools Websphere Studio App Dev Performance

Analyzer Websphere Resource Analyzer Websphere Site Analyzer Websphere Performance Monitoring APIs Stress Testing Tools Web logs & Application logs Real-time Monitors Websphere for Windows/NT evaluation

Page 21: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Factors which affect Performance Web site design Security policies Application design Websphere configuration Development process External issues

Operating systems Network

Page 22: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Application Considerations Avoid object serialisation Minimise size and complexity of

objects Avoid string concatenation Careful object creation and reuse

Page 23: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Lessons Learned Websphere still evolving Tradeoffs in using existing functions

(shorted development) vs “roll your own code” (improved performance)

Get performance & capacity analysts involved early

Produce guidelines for application developers which deal with performance issues

Share experiences & learn from others

Page 24: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Lessons Learned (cont.) JSP (Java Server Pages) = dynamic &

more costly than static More complex queries to induce

client to perform function (I.e. benefit of doing it online)

No permanent connection between user & system (so must have other ways of remembering things)

Page 25: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Capacity Challenges What constitutes a transaction? How much resources to put aside ? Large processor storage needs. How to handle new volatile peaks. What are we measuring?

Page 26: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

News you can use WLM settings to check. Application environment set-up HTTP.CONF directives.

Page 27: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

1. Policies

2. Workloads

3. Resource Groups

4. Service Classes

5. Classification Groups

6. Classification Rules

7. Report Classes

8. Service Coefficients/Options

9. Application Environments

10. Scheduling Environments

WLM Definition Menu

Page 28: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Appl Environment Name . . WEBprod

Description . . . . . . . Prod web

Subsystem type . . . . . IWEB or CB

Procedure name . . . . . XXXWEB

Start parameters . . . . IWMSN=&IWMSSNM,IWMAE='WEB_prod',JOBNAME=

XXXWEB

Limit on starting server address spaces for a subsystem instance:

Single address space per system

Page 29: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Workload Selection List

CB WAS Application Server

CICS CICS regions

DB2 DB2 transactions

IMS IMS online regions

IODRIVER special class for

IWEB HTML and Servlet Processing

Name Description

Page 30: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002
Page 31: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Subsystem Type CB - Component Broker via WAS

SI BBOASR2A

SI BBAASR2A

Qualifier

type

Qualifier

name

BBOU0001I CB SERIES CONTROL REGION BBOASR2A IS STARTING.From Jes2 Job log

Page 32: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Subsystem Type Selection List for Rules

CB Component Broker WAS

CICS CICS TRX-level

DB2 Use Modify to

DDF DB2 DDF Enclaves

IWEB WEB Server Test

Page 33: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

From Glenn Anderson CMG presentation

Page 34: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Summary Get familiar with the elements Education (CMG, Google, IBM Redbooks) New terminology, but concepts familiar Tools & documentation are somewhat

limited Learn how to deal with this Chameleon!

Page 35: Performance and Capacity Experiences with Websphere on z/OS & OS/390 CMG Canada April 24, 2002

Bibliography Enterprise JavaBeans for z/OS and

OS/390 (ibm.com/redbooks) WebSphere Application Server V4.0

for z/OS and OS/390: Installation and Customization

MVS planning workload management (sa22-7602)

Glenn Anderson CMG presentation.