cics ts v5 performance improvements that you definitely ... · • z/os connect is the provides a...

35
Insert Custom Session QR if Desired. CICS TS V5 Performance Improvements that You Definitely Don't Know About. Martin Cocks IBM CICS TS Development [email protected]

Upload: others

Post on 22-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Insert

Custom

Session

QR if

Desired.

CICS TS V5 Performance

Improvements that You Definitely

Don't Know About. Martin Cocks – IBM – CICS TS Development

[email protected]

Page 2: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Notices and Disclaimers Copyright © 2015 by International Business Machines Corporation (IBM). No part of this document may be reproduced or

transmitted in any form without written permission from IBM.

U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with

IBM.

Information in these presentations (including information relating to products that have not yet been announced by IBM) has been

reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM

shall have no responsibility to update this information. THIS DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY,

EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF

THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT

OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the

agreements under which they are provided.

Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without

notice.

Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are

presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual

performance, cost, savings or other results in other operating environments may vary.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products,

programs or services available in all countries in which IBM operates or does business.

Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not

necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither

intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation.

It is the customer‟s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal

counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer‟s

business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or

represent or warrant that its services or products will ensure that the customer is in compliance with any law.

Page 3: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Notices and Disclaimers (con’t)

Information concerning non-IBM products was obtained from the suppliers of those products, their published

announcements or other publicly available sources. IBM has not tested those products in connection with this

publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM

products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.

IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to

interoperate with IBM‟s products. IBM EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED,

INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A

PARTICULAR PURPOSE.

The provision of the information contained herein is not intended to, and does not, grant any right or license under any

IBM patents, copyrights, trademarks or other intellectual property right.

IBM, the IBM logo, ibm.com, Bluemix, Blueworks Live, CICS, Clearcase, DOORS®, Enterprise Document Management

System™, Global Business Services ®, Global Technology Services ®, Information on Demand, ILOG, Maximo®,

MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®,

pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®,

PureSystems®, QRadar®, Rational®, Rhapsody®, SoDA, SPSS, StoredIQ, Tivoli®, Trusteer®, urban{code}®,

Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business

Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be

trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and

trademark information" at: www.ibm.com/legal/copytrade.shtml.

Page 4: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Agenda

• What do we mean by “Performance”?

• CICS TS V5.3 open beta – Performance improvements

• Improvements in CICS TS V5.2 and V5.1 you should know

about

• What can you do to improve performance?

4 02/02/15

Page 5: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

What do we mean by “Performance”?

5 02/02/15

Page 6: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

What do we mean by “Performance”?

Response Time

CPU Usage

Throughput Memory Usage

02/02/15

Page 7: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Design Thinking and Performance

• Hill 2 - A capacity planner can demonstrate,

in routing and data owning regions, a CPU

reduction of 10 to 20%.

• Reduce the overheads of connecting to your

Systems of Record

• Customer and Sponsor User feedback used to

determine areas to work on

• Popular and growing communications

• Understanding what is going on

CICS TS V5.3 open beta – Hills

7 02/02/15

Page 8: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

CICS TS V5.3 open beta – Performance

Improvements

8 02/02/15

Page 9: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• HTTP efficiency, including for web services

• SSL/TLS improvements

• Other areas of improvement

• Some numbers from a CICS TS V5.3 open

beta development level

CICS TS V5.3 open beta – Performance

Improvements

9 02/02/15

Page 10: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

HTTP Pre open beta

10 02/02/15

HTTP Requests

Long running task on its own TCB that listens for work. Process next piece of work

CSOL

Application processing run under the context established by CWXN

CWXN

Determines the context of the user transaction

that is started. This is known as the

Web attach task. User Transaction i.e. CWBA, CPIH

Page 11: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

HTTP in CICS TS V5.3 open beta

11 02/02/15

HTTP Requests

Long running task on its own TCB. It must not be blocked by an individual request. If CICS SSL OR Web analyser program OR Static response OR Not enough data => CWXN Gets tran ID and user ID from URIMAP and/or AT-TLS Start the application transaction with the specific tranid and userid Process next piece of work

CSOL

Sync receive the body data and pass to the next step in application Application processing run as before

CWXN

Run when unable to establish context in SOLS

User Transaction i.e. CWBA, CPIH

Lower overhead

results in lower

CPU usage

Page 12: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

TCPIPSERVICE

PORT(number)

SSL(CLIENTAUTH)

SSL in CICS TS V5.3 open beta

12 02/02/15

HTTPS Requests

Long running task on its own TCB. It must not be blocked by an individual request. If CICS SSL Process next piece of work

CSOL CWXN

The decryption of the

request happens in this transaction.

Switching to and from

S8 TCBs has been decreased reducing

CPU usage.

User Transaction i.e. CWBA, CPIH

SSL

Decryption

Less TCB

switching means

lower CPU usage

Page 13: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

AT-TLS Aware CICS TS V5.3 open beta

13 02/02/15

HTTPS Requests Long running task on its own

TCB. It must not be blocked by an individual request. If CICS SSL OR Web analyser program OR Static response OR Not enough data => CWXN Can get user ID from AT-TLS Start the application transaction with the specific tranid and userid Process next piece of work

CSOL User Transaction i.e. CWBA, CPIH EXTRACT CERTIFICATE commands still work

SSL

Decryption

CICS TS V5.3 open beta z/OS Communications Server

CWXN

Run when unable to establish

context in SOLS

AT-TLS

Support

TCPIPSERVICE

PORT(number)

SSL(ATTLSAWARE)

HandShakeRole=servwithclientauth

ClientAuthType=FULL

Page 14: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• z/OS Connect is the provides a way to have RESTful

APIs with JSON payloads between CICS, mobile

devices, and cloud environments

• The performance of this feature within the CICS TS

V5.3 open beta has been improved.

• Also for CICS TS V5.2 via APAR PI32451

Liberty z/OS Connect feature in CICS

14 02/02/15

Page 15: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Metrics have been added to global CICS statistics, including

transaction CPU time measurements captured without needing

CICS monitoring to be active - allows greater insight into CPU

resource usage of CICS TS V5.3 open beta regions without the

overhead of collecting and processing SMF 110 monitoring

records.

• Transaction tracking identifies relationships between application

tasks as they flow across CICS systems, and has been extended

to transactions started by the CICS-WebSphere MQ bridge. This

expands the scope of transactions that can use transaction

tracking, to help with problem determination, reporting and

auditing.

Enhanced Metrics

15 02/02/15

Page 16: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Trace Facility

• Use of z9 hardware instructions, including store clock fast

• Monitoring Facility

• Excluding fields is now less efficient than collecting all of them

• Use of z9 hardware instructions, including store clock fast

• Some level 1 trace moved to level 2

• Reduced internal lock contention

• MRO connections with high session counts

• Improved the algorithm to make it more efficient

• Cache alignment of control blocks, the use of prefetch, and tuning

of other internal algorithms also contribute to general CPU usage

reductions.

Other Performance Enhancements

16 02/02/15

Page 17: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Some numbers from a CICS TS V5.3 open

beta development level region

17 02/02/15

Caution!

All numbers in this section have been created

using developmental code. Your experiences

using the CICS TS V5.3 open beta will vary.

Page 18: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

18

SSL

non-persistent

connections

TC

PIP

Sta

ck

TOR AOR

Web

Service

Pipeline

COBOL

Echo data

INTTR ON MNPER ON

80 Bytes * 100

MRO

The Workload Machine used was an EC12

Page 19: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

CPU per Transaction comparison - 11.6%

reduction in TOR

19

0.0

100.0

200.0

300.0

400.0

500.0

600.0

700.0

800.0

900.0

1,000.0

1,100.0

CTS5.2 CTS5.3 Open Beta

Mic

ro s

eco

nd

s o

f C

PU

TOR

INTTR ON

MNPER ON

Page 20: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

TCB and SRB CPU times – 5 minute interval

20

CICS TS

V5.2

CICS TS

V5.3

open beta

Transactions 600181 600243

TCB 299.97 260.42 -13%

SRB 13.32 12.16

QR TCB 58.99 47.55 -19%

SL TCB 21.28 20.25

SO TCB 46.30 22.45 -51%

S8 TCB 118.85 120.32 +1%

L8 TCB 54.50 49.80 -8%

I/O now done on S8, used to be on SO, eliminates change modes

Page 21: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Performance Improvements in CICS TS V5.2

and V5.1 you should know about

21 02/02/15

Page 22: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Threadsafe API and SPI

• (V5.1) EXEC CICS SET TASK

• (V5.1) INQUIRE and SET

TRACEDEST / TRACEFLAG /

TRACETYPE

• (V5.2) INVOKE APPLICATION

• (V5.2) VERIFY TOKEN

• Threadsafe TD (V5.1)

• TD GLUEs must be threadsafe

• Max tasks increase (V5.1)

• New default 500, min 10 and

max 2000

• NB: It is okay to hit max tasks!

Throughput Enhancements – V5.2 and V5.1

22 02/02/15

Page 23: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Multi-cast event emission

• Use an EP adapter set

• Allows more efficient event

handling

• Increase the potential of

program load capacity (V5.1)

• Reduced contention for the

single CICS RO TCB

• New statistics added

Throughput Enhancements – V5.2 and V5.1

23 02/02/15

Page 24: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Reduced 31bit memory usage for

Web services (V5.2)

• The SOAP node parsing is done

entirely in 64 bit storage

• 64 bit application storage (via

assembler) (V5.1)

• Non-LE ONLY

• EXEC CICS GETMAIN64 and

FREEMAIN64

• EXEC CICS PUT64 CONTAINER and

GET64 CONTAINER

Virtual Storage Constraint Relief – V5.2 and

V5.1

24 02/02/15

0.0

1.0

2.0

3.0

4.0

5.0

6.0

7.0

8.0

Meg

ab

yte

s o

f 31 b

it s

tora

ge

0

200

400

600

800

1000

1200

1400

Mic

ros

ec

on

ds

of

CP

U/T

ran

sa

cti

on

V5.1 V5.2

1 Megabyte Web service

Page 25: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Domains exploiting 64 bit

• (V5.1) Storage Manager, Loader,

Console Queue, new function

• (V5.2) Pipeline, new function

• 24 bit storage use significantly

reduced (V5.1)

• Supplied transactions now

TASKDATALOC(ANY)

• Internal control blocks moved

Virtual Storage Constraint Relief – V5.2 and

V5.1

25 02/02/15

Page 26: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Java Trace (V5.2)

• Content of default trace changed

• Better performance for JCICS

• Measurements in tables from pre-GA

code

• Java calls to DB2 reduced TCB

switching (V5.1)

• Requests stay on T8 TCBs

• Improved defaults for some system

configuration parameters

CPU Usage – V5.2 and V5.1

26 02/02/15

FTST - 120 JCICS file reads

0

1

2

3

4

5

Tra

nsacti

on

co

st

CP

U m

s

V5.2 notrace

Trace Before

Trace After

JHE2 - CICS-supplied HelloWorld

0

0.1

0.2

0.3

0.4

0.5

Tra

nsacti

on

co

st

CP

U m

s

V5.2 notrace

Trace Before

Trace After

Page 27: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• TCB Switches (V5.2)

• Remove 2 TCB switches per web

service request when invoking

transactions defined with

DYNAMIC(NO), by optimizing

when the routing program is called

• Also apply to other releases (All)

• RoCE (SMC-R) gives reduced

CPU and better scaling

• Use of Flash with CICS V5.2,

z/OS V2.1 and zEC12 gives

benefits when paging & when

taking system dumps

CPU Usage – V5.2 and V5.1

27 02/02/15

0

20

40

60

80

100

120

500 1000 1500 2000 2500 3000 3500

Trans/sec

CP

U %

of

1C

P

020406080100120140160180200220240260280300

res

p t

ime

(m

s)

OSA CPU Hiper CPU RoCE CPU OSA Resp Hiper Resp RoCE resp

SMC-R vs other connectivity options

Page 28: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Task association data parameter list improvements

• Better performance when looking at these fields

• Reinstate ability to control MAXxxxTCBS (with option for

system to set value)

• For very heavily loaded systems having very large

numbers of open TCBs can have detrimental impact on

performance

• CICS PA improved visualization and expertise

• Visualisation in the PA plugin allows easy comparison

between areas, e.g. storage use and transactions

• Better understanding of QR dispatch queue

• Additional dispatcher and transaction manager metrics

are collected to aid understanding of threadsafe

application usage

Other items in CICS TS V5.2

28 02/02/15

Page 29: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

What can you do to improve performance?

29 02/02/15

Page 30: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

• Upgrade machine

• Add accelerator cards

• Consolidate regions

• Change settings to be

appropriate for workload

• Use policies to protect regions

• Get help from IBM

• Analyse your systems

• Make appropriate programs

threadsafe

• Recompile with newer compiler

versions

• Exploit zIIP offload

• Education – Red Paper series

What can you do to improve performance?

30 02/02/15

Page 31: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

CICS Operational Insights open beta

• New Cloud based Service to identify opportunities to tune your CICS

• Understand your operational characteristics to target improvements

• Upload a snapshot of operational data and get a Threadsafe

Assessment (more insights to follow)

• Threadsafe can help you get more efficient and save money

Try it out at

https://cicsoi.mybluemix.net/

Have your say on new insights on

https://ibm.biz/cicsoi-forum

Page 32: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

z13 Feature Potential CICS benefit

SMT on zIIP

exploited by Java

CICS OSGi Java,

CICS Liberty JVM server,

CICS Mobile, CICS TG

CPACF and SIMD

exploited by Java 8

CICS TS Statement of Direction

for Java 8 support

Cryptographic improvements:

Crypto Express5S & CPACF

SSL processing:

CICS TS and CICS TG

Large Memory Storage-constrained workloads e.g.

using channels and containers,

shared data tables, Java heap

SIMD exploitation and other

improvements in COBOL

V5.2, PL/I V4.5, C/C++ V2.1.1

CICS applications recompiled for

z13

CICS and z13 IBM z13: built for the needs of digital business and designed for the mobile generation

Transaction Processing

Data Serving Mixed Workloads

Operational Efficiency

Trusted and Secure Computing

Reliable, Available, Resilient

Virtually Limitless Scale

Page 33: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Need expert help?

33

CICS Development Services, for worldwide services assistance

Bringing CICS development expertise directly to your doorstep

Email us [email protected]

Get a deep dive into your systems

with a CICS health check

Want to know more about CICS and

Java? We offer tailored Java

education

Move forward with mobile with our

customized mobile workshop

Soar into the cloud with our

tailored cloud workshop

Need to optimize your systems?

Then ask about a performance

optimization engagement

Get the low down on performance

with a CICS performance workshops

Need to modernise your workload in

CICS? Ask about a integration and

connectivity engagement

Need some help upgrading to the

latest release? Then ask about our

upgrade workshop

Need to reduce cost by optimizing

your systems? Then a performance

optimization engagement may be for

you

Need something different? Then we

can build a customized workshop,

just for you!

Availability a concern? Then try our

High Availability workshop

Visit ibm.com/cics

then click „Services‟

Page 34: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Register now at

ibm.biz/mmathrowdown and submit your app by April 12th

Mobilize your mainframe in our fun app-building contest for

z Systems clients & business partners!

The Mainframe Mobile App Throwdown is back for 2015!

Page 35: CICS TS V5 Performance Improvements that You Definitely ... · • z/OS Connect is the provides a way to have RESTful APIs with JSON payloads between CICS, mobile devices, and cloud

Questions

02/02/15

Thank You!