What is the difference between LPAR and z/VM virtualization?

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.


πŸ”· 1. Big Picture

  • LPARs β†’ Hardware/firmware-level partitions
  • z/VM β†’ Software hypervisor running inside an LPAR

πŸ‘‰ Think of it as:

Hardware β†’ PR/SM β†’ LPAR β†’ z/VM β†’ Virtual Machines

πŸ”· 2. LPAR (PR/SM Virtualization)

πŸ”Ή What it is

  • Created by PR/SM (firmware hypervisor)
  • Each LPAR behaves like a separate physical server

πŸ”Ή Characteristics

  • Very low overhead
  • Strong hardware isolation
  • Limited number (tens of LPARs typically)

πŸ”Ή Resource Model

  • CPU: Dedicated or shared
  • Memory: Fixed or dynamically adjusted
  • I/O: Direct hardware access via channel subsystem

πŸ‘‰ OS runs directly:

  • z/OS
  • Linux on Z
  • z/VM

πŸ”· 3. z/VM (Software Virtualization)

πŸ”Ή What it is

  • A full operating system + hypervisor
  • Runs inside an LPAR

πŸ”Ή What it does

  • Creates hundreds to thousands of virtual machines
  • Each VM runs its own OS (usually Linux)

πŸ”Ή Characteristics

  • Slightly higher overhead than LPAR
  • Extremely flexible and scalable

πŸ”· 4. Key Architectural Differences

FeatureLPAR (PR/SM)z/VM
LayerFirmware (hardware-level)Software (OS-level hypervisor)
IsolationVery strong (hardware enforced)Strong (software enforced)
ScaleTens of partitionsThousands of VMs
OverheadMinimalLow–moderate
Resource controlStatic / semi-dynamicHighly dynamic
Use caseMission-critical workloadsCloud / consolidation

πŸ”· 5. CPU & Memory Handling

πŸ”Ή LPAR

  • Allocates real hardware resources
  • Near-native performance

πŸ”Ή z/VM

  • Overcommits resources:
    • CPU sharing across many VMs
    • Memory overcommit + paging

πŸ‘‰ Enables massive consolidation


πŸ”· 6. I/O Virtualization

πŸ”Ή LPAR

  • Direct I/O via channel subsystem
  • Near-native speed

πŸ”Ή z/VM

  • Uses:
    • Virtual devices
    • Minidisks
    • Virtual networking

πŸ‘‰ Slight overhead but highly flexible


πŸ”· 7. Typical Deployment Pattern

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:

  • Stability (LPARs)
  • Scalability (z/VM)

πŸ”· 8. Use Case Differences

πŸ”Ή LPAR is used for:

  • Core banking systems
  • DB2 / transaction processing
  • High-security workloads

πŸ”Ή z/VM is used for:

  • Linux server consolidation
  • Private cloud environments
  • Dev/test environments

πŸ”· 9. Performance Perspective

  • LPAR β†’ Best performance, lowest latency
  • z/VM β†’ Slight overhead but massive density

πŸ‘‰ Trade-off:

  • Performance vs scalability

πŸ”· πŸ”₯ Simple Analogy

Think of a building:

  • LPAR = Separate apartments (solid walls, fully isolated)
  • z/VM = Rooms inside one apartment (flexible, many occupants)

πŸ”· πŸš€ Bottom Line

βœ” LPAR (PR/SM)

  • Hardware-level virtualization
  • Maximum performance and isolation

βœ” z/VM

  • Software-level virtualization
  • Massive scalability and flexibility

βœ” Together

  • Form a layered virtualization model unique to IBM Z 
Looking for servers Rental ?

Call Our Expert :


  • (call for rental enquiries)

Email us :