How does PR/SM implement logical partitions in IBM Z?
PR/SM (Processor Resource/System Manager) is the firmware hypervisor built into IBM Z that implements Logical Partitions (LPARs) directly in hardware-assisted microcode. Unlike typical software hypervisors, PR/SM is tightly integrated with the processor, memory, and I/O subsystemsβgiving it very low overhead and extremely strong isolation.
Hereβs how it works architecturally:
PR/SM is:
π It creates multiple independent virtual machines (LPARs) on one physical IBM Z system.
Each LPAR appears as a complete physical machine:
π OS (like z/OS, Linux, z/VM) runs unchanged, as if on bare metal.
PR/SM schedules logical processors onto physical cores:
π Overhead is extremely low because:
π Isolation is hardware-enforcedβno LPAR can access anotherβs memory.
This is where IBM Z is unique.
PR/SM works with the channel subsystem to virtualize I/O:
π Result:
π Provides flexibility + efficiency
PR/SM ensures strict isolation using:
π Prevents:
Each LPAR is assigned a weight:
π Enables:
PR/SM can host:
π This enables:
PR/SM provides:
π One reason IBM Z is used for:
βββββββββββββββββββββββββββββββ
β PR/SM β
ββββββββββββ¬βββββββββββ¬ββββββββ€
β LPAR 1 β LPAR 2 β LPAR 3β
β (z/OS) β (Linux) β (z/VM)β
ββββββββββββ΄βββββββββββ΄ββββββββ
β β β
CPU / Memory / I/O (Virtualized)
| Feature | PR/SM (IBM Z) | x86 Hypervisors |
|---|---|---|
| Implementation | Firmware | Software |
| Overhead | Extremely low | Higher |
| I/O virtualization | Hardware-integrated | Software-driven |
| Security | Hardware enforced | Software + hardware |
| Scalability | Massive (LPARs + VMs) | Moderate |
PR/SM implements LPARs by:
β Virtualizing CPU, memory, and I/O in firmware
β Integrating deeply with hardware (especially I/O channels)
β Enforcing strict isolation at hardware level
β Providing dynamic resource allocation
β Delivering near-native performance with minimal overhead