How does shared processor pool scheduling work?

How does shared processor pool scheduling work?

In IBM PowerVM on systems built with the IBM POWER architecture, shared processor pool (SPP) scheduling is how the hypervisor (PHYP) distributes CPU time among micro-partitioned LPARs that share a defined set of physical cores.

It’s a fair-share, priority-aware, time-sliced scheduling system with dynamic borrowing.


πŸ”Ή 1. What a Shared Processor Pool Is

A Shared Processor Pool (SPP) is:

  • A group of physical CPU cores
  • Shared by multiple LPARs

Each LPAR in the pool has:

  • Entitled capacity (guaranteed CPU)
  • Optional ability to use more (uncapped mode)

πŸ”Ή 2. Core Scheduling Concepts

🧠 a) Entitled Capacity (EC)

  • Minimum guaranteed CPU for an LPAR
  • Example:
    • 0.5 cores guaranteed

βš–οΈ b) Virtual Processors (VPs)

  • Logical CPUs presented to the LPAR
  • Determines how much parallel work it can run

🚦 c) Capped vs Uncapped

  • Capped β†’ cannot exceed entitlement
  • Uncapped β†’ can use extra CPU if available

🧩 d) Weight (Priority)

  • Used in uncapped mode
  • Determines how extra CPU is shared

πŸ”Ή 3. How Scheduling Works (Step-by-Step)

🟒 Step 1: Guarantee Phase

  • PHYP first ensures all LPARs get their entitled capacity

πŸ‘‰ This is strict and guaranteed


🟑 Step 2: Surplus Distribution

  • If unused CPU exists:
    • Distributed among uncapped LPARs

πŸ‘‰ Based on:

  • Weight
  • Demand

πŸ”΄ Step 3: Time-Slice Scheduling

  • CPU time divided into small time slices
  • PHYP rotates execution across LPARs

πŸ‘‰ Very fast switching (microseconds level)


πŸ”Ή 4. Example Scenario

Pool: 4 physical cores

LPAREntitlementModeWeight
A1.0Uncapped200
B1.0Uncapped100
C0.5Cappedβ€”

Allocation:

  1. Guaranteed:
    • A = 1 core
    • B = 1 core
    • C = 0.5 core

πŸ‘‰ Total = 2.5 cores used


  1. Remaining = 1.5 cores
  • Shared between A and B based on weight:

πŸ‘‰ A gets ~2/3
πŸ‘‰ B gets ~1/3


πŸ”Ή 5. Hardware Support

On processors like the IBM POWER10 processor:

  • SMT threads allow fine-grained sharing
  • Fast context switching reduces overhead
  • Hardware counters help scheduler decisions

πŸ”Ή 6. Performance Characteristics

βœ… High Utilization

  • Idle CPU is never wasted

⚑ Fast Response

  • Microsecond-level scheduling

βš–οΈ Fairness

  • Guaranteed minimum + weighted sharing

πŸ”„ Dynamic Adaptation

  • Adjusts in real time based on workload demand

πŸ”Ή 7. Potential Trade-offs

❌ Latency variability

  • Shared environment β†’ contention possible

❌ Overcommit risk

  • Too many LPARs β†’ CPU contention

❌ Tuning complexity

  • Requires correct:
    • Entitlement
    • Weight
    • VP sizing

πŸ”Ή 8. Best Practices

βœ” Match virtual processors to workload parallelism
βœ” Avoid excessive overcommit
βœ” Use uncapped mode for bursty workloads
βœ” Monitor CPU wait time


πŸ”Ή 9. Key Insight

Shared processor pool scheduling ensures guaranteed performance first, then maximizes utilization through intelligent sharing.


πŸ”‘ Summary

FeatureFunction
EntitlementGuaranteed CPU
Uncapped modeBurst usage
WeightPriority in sharing
Time slicingFair scheduling

🧠 Bottom Line

In IBM PowerVM:

  • Shared processor pools use fair-share scheduling with guarantees
  • Combine:
    • Deterministic performance
    • High efficiency

πŸ‘‰ This allows POWER systems to achieve very high consolidation ratios without sacrificing critical workload performance.

Looking for servers Rental ?

Call Our Expert :


  • (call for rental enquiries)

Email us :