Modernization Hub

WLM - Workload Manager

Enhanced Definition

Workload Manager (WLM) is a core component of IBM z/OS that dynamically manages system resources to achieve predefined business goals and service levels. It prioritizes workloads based on their importance, ensuring that critical applications receive the necessary resources to meet their performance objectives, even under contention.

Key Characteristics

    • Goal-Oriented Management: WLM operates on a goal-oriented paradigm, where system programmers define service goals (e.g., response time, velocity) for different workloads rather than specifying explicit resource percentages.
    • Dynamic Resource Allocation: It continuously monitors system performance and dynamically adjusts the allocation of CPU, I/O, memory, and other resources in real-time to meet the defined service goals.
    • Policy-Driven: WLM's behavior is governed by a *WLM policy*, which is a set of rules and definitions (service classes, report classes, workload groups) created and activated by system administrators.
    • Workload Classification: Work is classified into *service classes* based on criteria such as job name, program name, transaction ID, user ID, or subsystem type, allowing for granular management.
    • Importance Levels: Service classes are assigned *importance levels* (1-5, 1 being most important), which WLM uses to prioritize resource distribution during periods of resource contention.
    • Subsystem Integration: WLM integrates deeply with major z/OS subsystems like CICS, DB2, IMS, MQ, and JES, allowing it to manage work within these environments effectively.

Use Cases

    • Prioritizing Critical Online Transactions: Ensuring that high-priority CICS or IMS transactions consistently meet their response time objectives, even during peak loads.
    • Managing Batch Processing: Allowing less critical batch jobs to run with lower priority, utilizing available system capacity without impacting critical online systems.
    • Enforcing Service Level Agreements (SLAs): Translating business-critical application performance requirements into WLM service goals to guarantee adherence to SLAs.
    • Balancing Mixed Workloads: Optimizing resource distribution across diverse workloads (e.g., online, batch, TSO, UNIX System Services) running concurrently on a single LPAR or across a sysplex.
    • Controlling Development/Test Environments: Limiting the resource consumption of non-production workloads to prevent them from interfering with production systems.

Related Concepts

WLM is central to z/OS resource management, working in conjunction with other components. It translates business goals into system actions, coordinating with *PR/SM* (Processor Resource/Systems Manager) at the LPAR level and *SRM* (System Resource Manager) within an LPAR. In a *sysplex*, WLM coordinates resource management across multiple LPARs to achieve sysplex-wide goals. It also interfaces directly with *CICS*, *DB2*, *IMS*, and *JES* to manage their specific work queues and resources.

Best Practices:
  • Define Clear Service Goals: Translate business requirements into specific, measurable WLM service goals (e.g., "average response time < 0.5s" for critical CICS transactions).
  • Granular Workload Classification: Classify workloads precisely using appropriate rules (e.g., specific transaction IDs for critical CICS work) to ensure accurate and effective management.
  • Monitor and Tune Regularly: Continuously monitor WLM's performance using tools like RMF (Resource Measurement Facility) and SMF (System Management Facilities) reports, and adjust the WLM policy as workload characteristics or business priorities evolve.
  • Utilize Report Classes: Define *report classes* for all significant workloads, even those without explicit service goals, to gather comprehensive performance data for analysis and capacity planning.
  • Test Policy Changes: Implement and thoroughly test WLM policy changes in a controlled, non-production environment before deploying them to production systems to avoid unintended performance impacts.
  • Educate Stakeholders: Ensure application owners and business users understand how WLM impacts their applications' performance and how to effectively communicate their requirements for service goal definition.

Related Vendors

ASE

3 products

IBM

646 products

UNICOM Systems

35 products

Candle Corporation

16 products

Applied Software

7 products

Related Categories

Performance

171 products

Tools and Utilities

519 products

Administration

395 products

Security

144 products

Operating System

154 products

CASE/Code Generation

19 products