What is dispatching priority in mainframe systems?
Dispatching priority in mainframe systems (like IBM Z) is the ranking assigned to a unit of work (task, thread, or address space) that determines when and how often it gets CPU time.
π In simple terms:
It decides βwho runs next on the CPUβand for how long.β
π Dispatching priority controls the order of selection
These are related but different:
π IBM Workload Manager converts business goals into dispatching priorities.
Each unit of work gets a dynamic dispatching priority value.
Dispatching priority is not fixed.
WLM continuously adjusts it based on:
π Example:
The system maintains multiple queues:
Dispatcher always picks from:
π Highest non-empty queue
Even high-priority tasks:
π Prevents:
Dispatching priority influences:
π Works with PR/SM and hardware scheduling
In IBM Parallel Sysplex:
π Ensures:
Imagine 3 tasks:
| Task | Type | Priority |
|---|---|---|
| A | Online banking | High |
| B | Reporting | Medium |
| C | Batch job | Low |
CPU will run:
π A β A β B β A β C (depending on system state)
Think of a hospital:
π Dispatching priority ensures critical cases are handled first
Dispatching priority:
β Determines which task gets CPU time first
β Is dynamically adjusted by WLM
β Aligns system behavior with business goals
β Ensures critical workloads meet performance targets
β Maintains fairness and system stability