MAINVIEW Batch Optimizer. Data Accelerator Andy Andrews

Similar documents
Improving VSAM Application Performance with IAM

Further Improve VSAM Application Performance

Automation for IMS: Why It s Needed, Who Benefits, and What Is the Impact?

VSAM Overview. Michael E. Friske Fidelity Investments. Session 11681

VSAM Management. Overview. z/os. CSI International 8120 State Route 138 Williamsport, OH

BMC Subsystem Optimizer for zenterprise Reducing Monthly License Charges

Optimising Insert Performance. John Campbell Distinguished Engineer IBM DB2 for z/os Development

z/os CSI International 8120 State Route 138 Williamsport, OH

DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in

VSAM Management. Overview. CSI International 8120 State Route 138 Williamsport, OH

CA Hyper-Buf VSAM Buffer Optimizer

VSAM Access Method or DBMS?

Configuring and Using SMF Logstreams with zedc Compression

Chapter 2 ACCESS METHOD SERVICES. SYS-ED/ Computer Education Techniques, Inc.

IBM 3850-Mass storage system

DB2 Data Sharing Then and Now

OPS-23: OpenEdge Performance Basics

DB2 Analytics Accelerator Loader for z/os

Perf-Method-06.PRZ The Swami's Performance Methodology Ideas Dan Janda The Swami of VSAM The Swami of VSE/VSAM Dan Janda VSE, VSAM and CICS Performanc

z/os and DB2 Basics for DB2 for z/os DBA Beginners

Coordinated IMS and DB2 Disaster Recovery Session Number #10806

An A-Z of System Performance for DB2 for z/os

Paradigm Shifts in How Tape is Viewed and Being Used on the Mainframe

L9: Storage Manager Physical Data Organization

IMS Evolution. IMS database

STORING DATA: DISK AND FILES

DB2 for z/os and OS/390 Performance Update - Part 1

Introduction to VSAM. Session Presented by Michael E. Friske

!! What is virtual memory and when is it useful? !! What is demand paging? !! When should pages in memory be replaced?

IMPROVING THE PERFORMANCE, INTEGRITY, AND MANAGEABILITY OF PHYSICAL STORAGE IN DB2 DATABASES

Concurrent VSAM access for batch and CICS

WebSphere MQ V Intro to SMF115 Lab

. more flexibility... more capability... more features.

Outlines. Chapter 2 Storage Structure. Structure of a DBMS (with some simplification) Structure of a DBMS (with some simplification)

Version Overview. Business value

Why did my job run so long?

Exadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant

Maximizing IMS Database Availability

PowerCenter 7 Architecture and Performance Tuning

Focus on zedc SHARE 123, Pittsburgh

Announcements. Reading. Project #1 due in 1 week at 5:00 pm Scheduling Chapter 6 (6 th ed) or Chapter 5 (8 th ed) CMSC 412 S14 (lect 5)

Introduction. JES Basics

Batch Jobs Performance Testing

z/os Data Set Encryption In the context of pervasive encryption IBM z systems IBM Corporation

Memory Management Virtual Memory

Using Transparent Compression to Improve SSD-based I/O Caches

Creating Enterprise and WorkGroup Applications with 4D ODBC

Table Compression in Oracle9i Release2. An Oracle White Paper May 2002

ZBD: Using Transparent Compression at the Block Level to Increase Storage Space Efficiency

IBM. User s Guide. NetView File Transfer Program Version 2 for MVS. Release 2.1 SH

SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (File-AID ) IDX: Page 1

Db2 12 for z/os. Data Sharing: Planning and Administration IBM SC

Micro Focus Studio Enterprise Edition Test Server

All Paging Schemes Depend on Locality. VM Page Replacement. Paging. Demand Paging

Performance Monitoring

Managing Storage: Above the Hardware

INTRODUCTION. José Luis Calva 1. José Luis Calva Martínez

IBM Education Assistance for z/os V2R2

IBM PDTools for z/os. Update. Hans Emrich. Senior Client IT Professional PD Tools + Rational on System z Technical Sales and Solutions IBM Systems

TUNING CUDA APPLICATIONS FOR MAXWELL

z990 Performance and Capacity Planning Issues

Storwize/IBM Technical Validation Report Performance Verification

Lecture 2: Memory Systems

NVMFS: A New File System Designed Specifically to Take Advantage of Nonvolatile Memory

z/os Db2 Batch Design for High Performance

Why is the CPU Time For a Job so Variable?

LECTURE 10: Improving Memory Access: Direct and Spatial caches

Simple And Reliable End-To-End DR Testing With Virtual Tape

Roll Up for the Magical Mystery Tour of Software Costs 16962

for Mainstar MXI G2 Session 8962 Speaker: Shari Killion

IBM. DFSMStvs Planning and Operating Guide. z/os. Version 2 Release 3 SC

Chapter 1: Introduction

Cheat sheet: Data Processing Optimization - for Pharma Analysts & Statisticians

Managing the Database

IBM Application Performance Analyzer for z/os Version IBM Corporation

Unit 2 Buffer Pool Management

Reminder: Mechanics of address translation. Paged virtual memory. Reminder: Page Table Entries (PTEs) Demand paging. Page faults

Operating System Review Part

Choosing the level that works for you!

Version 9 Release 1. IBM InfoSphere Guardium S-TAP for IMS on z/os V9.1 User's Guide IBM

Technology Insight Series

Frequently Asked Questions about RTD

Session: K13 IMS Backup & Recovery - Just Make it Efficient! Bob Magid IBM IMS Tools

Sandor Heman, Niels Nes, Peter Boncz. Dynamic Bandwidth Sharing. Cooperative Scans: Marcin Zukowski. CWI, Amsterdam VLDB 2007.

TUNING CUDA APPLICATIONS FOR MAXWELL

Concurrent VSAM access for batch and CICS: A white paper series

Technical Paper. Performance and Tuning Considerations for SAS on Dell EMC VMAX 250 All-Flash Array

The SMF recovery analysis report (SRSSMF) formats SMF records produced by SRS and provides totals for the successful and unsuccessful recoveries

10 Things to expect from a DB2 Cloning Tool

2010/04/19 11:38. Describing a unique product that shows the mainframe in a completely different way.

Data Storage and Query Answering. Data Storage and Disk Structure (2)

FuxiSort. Jiamang Wang, Yongjun Wu, Hua Cai, Zhipeng Tang, Zhiqiang Lv, Bin Lu, Yangyu Tao, Chao Li, Jingren Zhou, Hong Tang Alibaba Group Inc

IBM Tivoli OMEGAMON XE for Storage on z/os Version Tuning Guide SC

Disks & Files. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke

PAGE REPLACEMENT. Operating Systems 2015 Spring by Euiseong Seo

Protect enterprise data, achieve long-term data retention

OS and Hardware Tuning

IMS K Transactions Per Second (TPS) Benchmark Roadblocks, Limitations, and Solutions

Roadmap. Handling large amount of data efficiently. Stable storage. Parallel dataflow. External memory algorithms and data structures

APIs Economy for Mainframe Customers: A new approach for modernizing and reusing mainframe assets

Transcription:

MAINVIEW Batch Optimizer Data Accelerator Andy Andrews

Can I push more workload through my existing hardware configuration? Batch window problems can often be reduced down to two basic problems:! Increasing Business Volume! Less time to process because of online commitments

What Are Your Options?

Reduce/Remove wait time Increase efficiency Reduce overhead How do you increase throughput?

MAINVIEW Batch Optimizer: the Easy Alternative Reduces batch run times (elapsed time) No application changes No JCL changes Based on proven technology

Batch Optimizer What does it do? Removes embedded wait times from batch jobs I/O wait Serialization wait

Batch Optimizer- How does it do it? Shrinks Batch Window processing with high performance and predictability Enhanced I/O performance Parallelize batch processes

MVBO Data Optimization I/O Wait For Both VSAM and non-vsam processing Exploits RMODE(31) buffering Dynamically selects optimum buffer values and processing techniques based on current system resource availability Paging rate, CPU rate, below-the-line storage, etc. Dynamically adjusts user region values to make any required additions to below-the-line storage transparent to the application

MVBO Data Optimization (I/O Wait) Flat Files - (QSAM/BSAM) Moves data buffers above the line Replaces low-level I/O processing providing complete control of buffer management and physical I/O requests All I/O requests satisfied by MVBO s internal buffer manager For sequential processing reads large amount of data and overlaps I/Os to maximize performance regardless of blocking characteristics

MVBO Data Optimization (I/O Wait) VSAM Processing Optimizes buffer values Activates VSAM options such as deferred write which increases optimization For random access builds LSR buffer pools and dynamically switches to LSR processing When LSR processing with sequential accesses performs readahead for greater performance benefit For NSR and LSR processing moves buffers and control blocks above the line to aid virtual storage control relief

MVBO Data Optimization (I/O Wait) Centrally managed through internal tables called Policies No JCL changes No application changes

MVBO Job Optimization (Serialization Wait) Parallel Execution of Job Steps Splits job steps for piping and concurrent execution based on history and policy definitions Steps with no data dependencies Dependent steps where a data pipe can be established, e.g., reader/writer pair Data is passed to split steps via Pipe Essentially a data buffer shared by two programs

MVBO Job Optimization (Serialization Wait) Step to Step Piping 2 data-dependent steps executing in parallel Data pipe forms between reader step and a writer step: reader can access record as soon as it is written Step-to-step piping passes data directly into the reading program

Typical Batch Job Step 1 Write Data Step 2 Read Data OS/390 Image A Step 1 Write Step 2 Read Temp DSN1 OS/390 Image B Coupling Facility OS/390 Image C Step 6 Read Time Step 3 Update VSAM #1 Step 4 Read updated VSAM #1, update Step 5 Reads VSAM #2 Write to File2 Step 6 Final Step Temp DSN1 VSAM KSDS #1 VSAM #2 VSAM KSDS #2 Temp DSN2 Step 3 Update Step 5 Read / Write VSAM KSDS #1 VSAM KSDS #2 Temp DSN2 Step 4 Read Database / Update VSAM

Without Job Optimization With Job Optimization MVBO Job Optimization Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 1 Step 2 Step 3 I/O Savings Step 4 Step 5 Step 6 Total Elapsed Time Saved 0 30 60 90 120 150 180 Time (in minutes)

MVBO Piping (Serialization Wait) Passing data to another job 2 data-dependent jobs executing in parallel Data pipe forms between writer step in one job and reader step in another job Direct communication with CONTROL-M

Without MVBO Piping (Serialization Wait) Jobs run serially DB2 Extract QSAM IMS RPT1 RPT2 RPT3

MVBO Piping (Serialization Wait) Run them all together DB2 Extract IMS QSAM RPT1 RPT2 RPT3

MVBO Candidate Utility How much improvement can I expect? Predicted savings

We got a pretty good bang for our buck with this one

Data Accelerator Compression

How Can Software Based Compression Help? Major Benefits Footprint reduction of data Performance advantages of compressed data Hardware based compression only reduces the Footprint of the data It does nothing for performance

DATA ACCELERATOR Compression (DAC) Data Accelerator has a very good compression engine The worst compression percentage I have seen is 57% on IMS LOG data Typical compression savings are greater than 66% I had one absurd example where I got 97% compression on some of my generated test data A 800 cylinder dataset was reduced to 15 cylinders!!

Supported Data Set Types Non-VSAM BSAM, QSAM, BPAM VSAM KSDS, ESDS, VRRDS

DATA ACCELERATOR Compression Centrally administered Candidate DSN patterns added via ISPF Interface Ex. Datasets that begin with CWA.DAC.** Compression is automatic with the next load of the file Can be administered via SMS Class Requires no JCL changes Requires no application changes

DATA ACCELERATOR Compression Compression (Host vs. DASD) Benchmark Comparison 120 100 80 Percentage 60 40 20 0 Load Clock Load CPU Process Clock Process CPU Total Clock Total PU Data Types DAC RVA

Now that we have compression Remember that I said to pay attention to the word Accelerator in the product title? Let s talk about performance

Seeing is believing Let s take a look at compression in action DAC

How does software compression help? If you compress a file, it takes fewer resources to process the file Data remains compressed as it crosses the I/O channels Data remains compressed as it resides in the I/O buffers Physical I/O is much more efficient using compressed data The path length of one EXCP is between 25k 50k assembler instructions!! In addition, your program has to wait for the physical data transfer!!

Where does it help? Most batch processing is sequential in nature Anything that makes a sequential pass of a compressed file will benefit Backups Application sweep programs SORT processing Best candidates are datasets that are re-read often VSAM files Master files Extract files Archives

What kind of benefit are we talking about? VSAM file 8,000,000 fixed length records Compression % = 81% Compressed Uncompressed Elapsed 2.22 minutes / CPU 30.58 sec Elapsed 6.65 minutes / CPU 30.03 sec 2.18 minutes / CPU 30.71 sec 5.33 minutes / CPU 29.93 sec

Even better if we avoid expansion overhead DFDSS backup without expansion overhead 75% improvement 11,000 cylinders of IMS log data average 62% compression VSAM Backups benefit as well

What are the trade-offs? Software compression does cost CPU time More expensive to compress data Less expensive to expand data Some CPU is offset by more efficient I/O to write the compressed blocks Elapsed time is the big savings You can always add more MIPS to your environment but you can t add more time to the day.

Let s bring it all together What happens when you blend MVBO with DAC? 8,000,000 VSAM records Batch process updated 800,000 records (10% of the file) Native processing time 43 minutes elapsed CPU (1.30.59 minutes) Batch Optimizer only 13 minutes elapsed CPU (43.30 seconds) MVBO & DAC 4 minutes elapsed CPU (30.01 seconds) 81% compression achieved

What is a good strategy? Sequential processes yield the best benefit Look for files with favorable Read/Write ratio 2:1 or greater is best Avoid temporary files - && type datasets VSAM files tend to be good candidates Might need to embed some freespace if records grow after an update Extract files Historical data Combination of VSAM random processing and LSR buffering Compression enhances the effect of buffering Increases probability of buffer hit & reduces physical I/O

What about IMS and DB2 jobs? Most DBMS s require checkpoint/commit processing Required but a necessary evil Extremely expensive 100% overhead Removing excessive checkpoint activity can provide significant run time improvements

AR/CTL CAN HELP MANAGE YOUR BATCH AR/CTL is part of a family of products by BMC Software that addresses the needs of batch DB2, IMS, and VSAM applications AR/CTL is designed to provide a checkpoint restart capability for many environments that do not currently have this ability.

Let s take out some of the overhead IMS DB2 PACING ROUTINES Application Program Restart is from Actual CHKP

What is the benefit of checkpoint filtering? CPU Reduction Checkpoints consume a large amount of CPU Elapsed time Reduction Checkpoint/Commit activity increases throughput by reducing run time

Three Technologies One Focus Throughput MAINVIEW Batch Optimizer Significantly reduces the elapsed time for batch cycles Data Accelerator Compression Software based compression makes I/O more efficient Application Restart Control Removes excessive checkpoint activity