1. Goal Definition & Performance Index (PI)
- Are very sensitive to configuration changes
– Check velocities of SYSTEM and SYSSTC to determine highest achievable velocities
– Smaller n-way partitions will necessitate lower velocity goals
- Especially execution velocity goals can’t be defined without knowing the data
- Use periods of high utilization or contention as a base
- Define a tight goal:
- 0.9 < PI < 1.2
- A little bit high temperature isn’t a bad thing
- Only if that doesn’t really help use CPU or Storage Critical
- Can be avoided in many cases
- 0.9 < Performance Index < 1.2
- Ensures that a high important service class does not become donor
- But also requires a “constant” flow of work
- For 1 or 2 service classes
- At best only for importance 1
- Suited is work which doesn’t consume much CPU, which doesn’t show high consuming CPU spikes, and which needs fast access to CPU
- Examples:
- Critical server address spaces
- To SYSSTC
- Less than 20% of 1 logical processor
- No high consuming CPU spikes
- CPU Critical
- Less than 5 to 10% of total system consumption (depending on size of system)
- No high consuming CPU spikes
◦ Velocity goal of 30 or less or response time goal > 1 minute
◦ PI <= 0.81
◦ Not part of a resource group
- Define a resource group without minimum and maximum
- Put service class with a goal eligible for capping into this resource group
- Capping will not take place !!
- Don’t define anything with less than 2% of CPU resource consumption
- BUT: classify distinct work to distinct service classes, for example:
- Don’t classify short living enclaves and STCs together
- Never classify CICS/IMS transactions together with anything else
- If you use multiple periods
- Make sure that some substantial amount of work is really ending in those periods
- More than 3 are very often counter productive
Use of minimum
- For medium and lower important work which need to make some progress
- But be very careful
- A resource group minimum supersedes all goals and all importance
- That means the resource group minimum comes first
Associate the service class with a Resource Group and specify a maximum service unit capacity of 1. “Quiescing a batch job” on page 208 of “System Programmers Guide to Workload Manager” manual shows you how to use this Resource Group setting for batch and you can use this example in other cases.
– Started Tasks default to SYSSTC
– All other work defaults to SYSOTHER
– DB2IRLM and IMS IRLM – Lock manager needs high dispatching priority in order to let work flow properly through the system
– “Emergency” TSO ID – Only one TSO ID should be defined to SYSSTC
• All other TSO IDs should be grouped together, no special high priority service class for system programmers or management
Which is the better way to manage online work?
Remember, WLM will set dispatching priority for the region
– Need to have the CICS and IMS Regions dispatched properly
– CICS and IMS have their own internal routines to decide which to run within their regions
– If transactions 0101 and PRD1 both run in AOR1, CICS will decide which to dispatch, NOT Workload Manager
Velocity goals are acceptable for environments with only one partition, or sysplexes with similar sized partitions
– A sysplex with a 4-way and a 20-way may not be a good candidate
– Vastly different types of transactions would skew response time distribution data
– Two transactions service classes in same region will get same dispatching priority
– Processor upgrades, LPAR definition changes, etc.
3 major advantages of response time goals
– Easier to understand and can be set to a business SLA
– Normally no need to change when environment is changed
– Can use same goal across entire parallel sysplex, regardless of individual partition size/speed
You may want to exclude test work from being managed towards response time goals
à Too few transactions, no constant utilization and/or no need to manage it in a sophisticated way
Make sense for test environments
à Without a constant flow of transactions
à If test and production runs on the same system or sysplex
à Use response time goals for production
à Use execution velocity goals for test
à Exempt test regions from response time management (Option: REGION)
à CICS TOR need fast access to CPU to get work in and out of the system
à CICS TOR have to wait behind AORs
à Same dispatch priorities
à De-couple TORs from response time management but ensure that response time management remains in tact
à Option BOTH
à What to do
à Separate CICS TORs and AORs to different service classes
à TOR service class
à Set to importance 1, define a “high” execution velocity goal, CPU Critical may be an option too
à Exempt the TORs from being managed towards response time goals by using option BOTH
à This ensures that the end-to-end context for CICS transactions remains in tact
à This ensures that CICS transactions (and the AORs) are still managed towards response time goals
à This maintains all reporting features for CICS
à Typically TORs (as well as IMS CTL) only consumes 5 to 10% of the CPU of all CICS/IMS work
You always need to classify the address spaces through the STC or JES subsystem classification rules. You only use the assigned service class goal during initialization and termination of the address space. The assigned service class goal is also used when there is no transaction during one minute.
Workload Manager makes better decisions when there are more samples per service class period
Review RMF Workload Activity Report for service class utilization by period
– SCLAS Period 1 – APPL% = 71.1
– SCLAS Period 2 – APPL% = 0.37
– SCLAS Period 3 – APPL% = 138.0