What is the difference between LPAR and z/VM virtualization?
The difference between LPAR (PR/SM-based virtualization) and z/VM virtualization on IBM Z comes down to where virtualization happens and how deep it goes. They are actually complementary layers, not competitors.
π Think of it as:
Hardware β PR/SM β LPAR β z/VM β Virtual Machines
π OS runs directly:
| Feature | LPAR (PR/SM) | z/VM |
|---|---|---|
| Layer | Firmware (hardware-level) | Software (OS-level hypervisor) |
| Isolation | Very strong (hardware enforced) | Strong (software enforced) |
| Scale | Tens of partitions | Thousands of VMs |
| Overhead | Minimal | Lowβmoderate |
| Resource control | Static / semi-dynamic | Highly dynamic |
| Use case | Mission-critical workloads | Cloud / consolidation |
π Enables massive consolidation
π Slight overhead but highly flexible
Most real systems use both together:
IBM Z Hardware
β
PR/SM β LPAR 1 (z/OS)
β LPAR 2 (z/OS)
β LPAR 3 (z/VM)
β
1000+ Linux VMs
π This gives:
π Trade-off:
Think of a building:
β LPAR (PR/SM)
β z/VM
β Together