Example: bankruptcy

System Programmer's Guide to: Workload Manager

CoverSystem programmer s Guide to: Workload ManagerPierre CassierAnnamaria DefendiDagmar FischerJohn HutchinsonAlain ManevilleGianfranco MembriniCaleb OngAndrew RowleyWorkload Manager overview and functionalitiesHow to classify your workloads Best practices samplesInternational Technical Support OrganizationSystem programmer s Guide to: Workload ManagerMarch 2008SG24-6472-03 Copyright International Business Machines Corporation 2005, 2006, 2007. All rights to Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Edition (March 2008)This edition applies to Version 1, Release 8 of z/OS (product number 5694-A01).Note: Before using this information and the product it supports, read the information in Notices on page xi. Copyright IBM Corp. 2005, 2006, 2007. All rights .. xiTrademarks .. xiiPreface .. xiiiThe team that wrote this redbook.. xiiiBecome a published author.

International Technical Support Organization System Programmer’s Guide to: Workload Manager March 2008 SG24-6472-03

Tags:

  Guide, System, Programmer, Workload, System programmer s guide to

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of System Programmer's Guide to: Workload Manager

1 CoverSystem programmer s Guide to: Workload ManagerPierre CassierAnnamaria DefendiDagmar FischerJohn HutchinsonAlain ManevilleGianfranco MembriniCaleb OngAndrew RowleyWorkload Manager overview and functionalitiesHow to classify your workloads Best practices samplesInternational Technical Support OrganizationSystem programmer s Guide to: Workload ManagerMarch 2008SG24-6472-03 Copyright International Business Machines Corporation 2005, 2006, 2007. All rights to Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Edition (March 2008)This edition applies to Version 1, Release 8 of z/OS (product number 5694-A01).Note: Before using this information and the product it supports, read the information in Notices on page xi. Copyright IBM Corp. 2005, 2006, 2007. All rights .. xiTrademarks .. xiiPreface .. xiiiThe team that wrote this redbook.. xiiiBecome a published author.

2 XivComments welcome..xvChapter 1. Introduction.. Introduction to Workload management .. Basic concepts .. Service Level Agreement .. Workload Manager components .. Service definition and service policies .. Workload classification .. Service classes .. Importance of a goal .. Resource Group .. Application Environment .. Scheduling environment .. Sampling dispatchable unit states .. Performance management metrics .. 15 Average transaction response time .. 15 External throughput rate (ETR) .. 17 Resource utilization .. 18 Saturation design point (SDP) .. Processor performance metrics .. 20 CPU time .. 20 Cycle time .. 21 Millions of instructions per second (MIPS).. 21 MFLOPS .. 21 CPU Service Units: System Resource Manager (SRM) constant .. 22 Internal throughput rate (ITR) .. 22 Large Systems Performance Reference (LSPR) .. I/O performance and metrics.. 25 Chapter 2. How WLM works.

3 Workload management .. z/OS dispatchable units (DUs) .. 30 WLM Business Unit of Work .. 31 The idea of dispatchable units .. 32 Enclave .. Understanding the algorithms .. 35 Workload management .. Performance index .. 36 Sysplex PI and local PI .. 36 Performance index evaluation in a sysplex .. Policy adjustment function .. 40 Impact of the number of service class periods.. 42iv System programmer s Guide to: Workload ManagerDonor and receiver determination .. 43 Selecting a receiver candidate.. 45 Find a receiver bottleneck .. CPU management .. 46 Dispatching priorities assignment .. 47 Discretionary goals .. Swap control .. 51 Swap protect time .. Storage targets .. I/O management .. 52I/O queues .. 52 DASD I/O priority .. 53 TAPE I/O priority .. 53 Sysplex I/O priority management.. 53I/O priority management decisions .. 54 Channel subsystem I/O priority queuing (CSS IOPQ) .. 54 Dynamic Channel Path Management (DCM).

4 55 Parallel Access Volumes (PAV).. Transactions and management.. How WLM treats work in the System .. Enclave management .. 64 Classification .. 64 Application Environment enclave server .. 64 Application Environment enclave server topology .. Execution delay monitoring .. 65 Monitoring environment or performance block (PB) .. 66 Services .. 66 Server topology .. 67 Server management .. 71 Transaction phase .. 71 Summary .. 73 Chapter 3. WLM functions .. Protecting work .. Resource Groups .. 76 Types of Resource Groups .. 76 Defining Resource Groups.. 77 Resource Group maximum management .. 78 Service ramps up .. 80 RMF reporting .. 81 Resource Group usage examples .. CPU critical .. 85 CPU CRITICAL .. 86 CPU CRITICAL in action .. 86 Who should use CPU CRITICAL .. 87 Where to specify CPU CRITICAL .. Storage critical .. 88 Who should use STORAGE CRITICAL .. 88 Where to specify STORAGE CRITICAL .. Initiator dispatch priority.

5 90 Initiator behavior .. WLM CPU preemption .. ENQ management .. Server address space management .. Application Environment .. 92 Contents vApplication Environment queues .. 93 Transaction flow in an Application Environment .. 93 Application Environment and transaction flow example.. Workload routing support .. VTAM generic resources.. 95 VTAM exit customization .. Sysplex routing .. 97 Calculation of server weight.. 98 Sysplex routing user: z/OS Load Balancing Advisor .. 99 Sysplex routing user: DB2 Connect .. Soft capping .. Defined capacity .. Group capacity .. Intelligent Resource Director .. 102 Policy considerations for IRD.. 103 Importance and goal of a service class .. 103 Minimum number of logical processors .. Linux for System z LPAR management .. 103 Setting the cluster name .. 103 Setting the System name .. 103 Setting the goal .. Specialty processors .. Internal Coupling Facility Processor (ICF).

6 Integrated Facility for Linux Processor (IFL) .. zSeries Application Assist Processor (zAAP) .. 106zSeries Application Assist Processor and Java code flow.. zSeries Application Assist Processor positioning .. WLM zAAP DUs states .. z9 Integrated Information Processor (zIIP) .. 109z9 Integrated Information Processor and DB2 code flow.. z9 Integrated Information Processor positioning.. WLM zIIP DU states .. 110 Chapter 4. Implementation and Workload classifications.. Overview .. WLM implementation .. IEAOPTxx usage .. WLM ISPF application .. 119 Security access .. 119 Starting your WLM ISPF application .. WLM couple data set management .. 121 Allocating the WLM couple data set.. 121 Managing your WLM CDS .. Specifying your service definition .. Service policy definition .. Workload specification .. Resource Group specification .. Working with service classes .. Classification rules.

7 Service definition coefficient .. Report class .. Application Environment .. Scheduling environment .. Policy overrides.. 142vi System programmer s Guide to: Workload How to use policy overrides .. 143 Adding and removing a Resource Group.. 143 Overriding a Resource Group definition.. Evaluating your SMF records .. Installing and activating your service definition .. Current WLM users upgrading to a new OS .. WLM compatibility and coexistence .. WLM enhancements matrix .. WLM tools .. Service Definition Formatter .. WLM Work Queue Viewer.. WLM Service Definition Editor .. 154 Getting started .. 155 Chapter 5. Setting goals.. Using service classes .. Defining and maintaining service goals.. Using historical data to set goals .. Using response time goals .. Using response time goals for CICS and IMS.. Using execution velocity goals .. 176 Considerations for using velocity goals.

8 Using the SYSSTC service class .. Using service class periods.. Using importance levels .. Using discretionary goals .. 182 When discretionary work receives too little service .. 183 Capping overachieving work .. Using report classes .. Using Resource Groups .. Using CPU and storage critical .. Managing service definitions .. Revisiting service definitions .. Reevaluating service definition .. When things are not working .. 187 Chapter 6. Batch considerations.. General considerations .. WLM-managed initiators .. 192 How WLM batch initiator management works .. 192 JES2 service class management.. 194 Jobs with System affinity .. 195 Considerations for multiple JES2 MAS complexes in a sysplex .. 195 Operational changes .. Scheduling environment .. TWS integration with WLM .. 197 Implementation tasks .. Types of goals .. Response time goal .. 203 Good candidates for this type of goal.

9 Velocity goal .. 204 Good candidates for this type of goal .. Classification rules .. 204 Classification .. 205 Contents Best practices .. WLM-managed initiators .. 206 Fragmentation .. 206 Balancing .. 207 JES2 parameter .. Quiescing a batch job .. Choosing the right velocity .. 208 Test case .. Usage and number of periods.. Resource Group usage .. First test case .. Second test case .. Impact of the number of engines on velocity.. First case results .. Second case results .. 213 Chapter 7. TSO, STC, and APPC workloads.. General considerations for TSO .. Types of goals for TSO .. Best practices for TSO .. Classification rules for TSO.. Reporting for TSO .. General considerations for STC .. 224 System service class.. 224 SYSSTC service class .. Classification rules for STC .. Types of goals for STC .. Best practices for STC .. Reporting for STC .. General considerations for APPC.

10 Classification rules for APPC .. Types of goals for APPC .. Best practices for APPC .. Reporting for APPC.. 231 Chapter 8. DB2 Workload considerations.. General considerations .. DB2 address spaces .. DB2 address space velocity goals .. WLM bufferpool management.. How DB2 assigns I/O priorities .. DB2 distributed environment .. Thread and enclave relationship .. Duration of an enclave .. DDF enclave creation .. Classification rules for a distributed environment .. 238 Considerations for JDBC requests.. Types of goal .. Best practices .. Enclave reporting .. DB2 Stored Procedures .. What are stored procedures .. WLM considerations for DB2 Stored Procedures .. 245 Considerations for enforcing WLM goals .. 246viii System programmer s Guide to: Workload WLM definition for DB2 Stored Procedures .. 246 Using WLM-established address spaces.. 246 Define your classification rules.


Related search queries