What is dispatching priority in mainframe systems?

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.”


πŸ”· 1. What β€œDispatching” Means

  • The OS scheduler selects a task from a queue
  • Assigns it to a CPU (dispatches it)
  • Runs it for a time slice

πŸ‘‰ Dispatching priority controls the order of selection


πŸ”· 2. Dispatching Priority vs Importance

These are related but different:

  • Importance (WLM) β†’ Business priority (e.g., banking > batch)
  • Dispatching Priority β†’ Technical execution priority

πŸ‘‰ IBM Workload Manager converts business goals into dispatching priorities.


πŸ”· 3. How It Works in z/OS

Each unit of work gets a dynamic dispatching priority value.

Higher priority:

  • Gets CPU sooner
  • Runs more frequently

Lower priority:

  • Waits longer
  • Gets CPU less often

πŸ”· 4. Dynamic Adjustment (Key Feature)

Dispatching priority is not fixed.

WLM continuously adjusts it based on:

  • Response time goals
  • CPU usage
  • Queue delays
  • Workload importance

πŸ‘‰ Example:

  • If a critical transaction is slow β†’ priority increases
  • If a batch job is ahead β†’ priority decreases

πŸ”· 5. Priority Queues

The system maintains multiple queues:

  • High-priority queue
  • Medium-priority queue
  • Low-priority queue

Dispatcher always picks from:
πŸ‘‰ Highest non-empty queue


πŸ”· 6. Time Slicing and Fairness

Even high-priority tasks:

  • Run for a limited time slice
  • Then yield CPU

πŸ‘‰ Prevents:

  • Starvation of lower-priority work
  • System imbalance

πŸ”· 7. Integration with CPU Scheduling

Dispatching priority influences:

  • Which logical processor runs the task
  • How often it gets CPU
  • How long it stays runnable

πŸ‘‰ Works with PR/SM and hardware scheduling


πŸ”· 8. Special Cases

πŸ”Ή Real-Time / Critical Work

  • Very high dispatching priority
  • Near-immediate CPU access

πŸ”Ή Background Jobs

  • Lower priority
  • Run when system is less busy

πŸ”· 9. Sysplex-Level Impact

In IBM Parallel Sysplex:

  • Dispatching priority works with:
    • Workload routing
    • System balancing

πŸ‘‰ Ensures:

  • Best system handles the work

πŸ”· πŸ”₯ Simple Example

Imagine 3 tasks:

TaskTypePriority
AOnline bankingHigh
BReportingMedium
CBatch jobLow

CPU will run:
πŸ‘‰ A β†’ A β†’ B β†’ A β†’ C (depending on system state)


πŸ”· πŸ”₯ Analogy

Think of a hospital:

  • Emergency patients β†’ immediate treatment (high priority)
  • Regular patients β†’ wait their turn
  • Routine checkups β†’ lowest priority

πŸ‘‰ Dispatching priority ensures critical cases are handled first


πŸ”· πŸš€ Bottom Line

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

Looking for servers Rental ?

Call Our Expert :


  • (call for rental enquiries)

Email us :