OpenVZ
Linux Containers
Kir Kolyshkin
<kir@openvz.org>
OpenStack Design Summit
16 April 2012, San Francisco
Agenda
● Virtualization approaches
● Containers versus hypervisors:
● OpenVZ internals
● New features
3
What is virtualization?
Virtualization is a technique for deploying technologies. Virtualization
creates a level of indirection or an abstraction layer between a
physical object and the managing or using application.
http://www.aarohi.net/info/glossary.html
Virtualization is a framework or methodology of dividing the
resources of a computer into multiple execution environments...
http://www.kernelthread.com/publications/virtualization/
A key benefit of the virtualization is the ability to run multiple
operating systems on a single physical server and share the
underlying hardware resources – known as partitioning.
http://www.vmware.com/pdf/virtualization.pdf
4
Ways to Virtualize
● Hardware Emulation
● Para-Virtualization
● Containers-type Virtualization
(a.k.a. OS-level Virtualization)
● Multi-server virtualization
5
Emulation/Paravirtualization
● VMware
● Parallels
● QEmu
● Bochs
● Xen
● KVM
6
Containers
● OpenVZ / Parallels Containers
● LXC
● FreeBSD jails
● Solaris Containers/Zones
● IBM AIX6 WPARs (Workload Partitions)
Comparison
Hypervisor (VM)
 One real HW, many virtual
HWs, many OSs
 High versatility – can run
different OSs
 Lower density,
performance, scalability
 «Lowers» are mitigated by
new hardware features
(such as VT-D)
Containers (CT)
 One real HW (no virtual
HW), one kernel, many
userspace instances
 Higher density,
natural page sharing
 Dynamic resource
allocation
 Native performance:
[almost] no overhead
Containers are thinner and more
performant than hypervisors
● Containers
– Share host OS and Drivers
– Have small virtualization layer
– Naturally share pages
● Hypervisors
– Have separate OS plus virtual Hardware
– Hardware emulation requires VMM state
– Have trouble sharing Guest OS pages
● Containers are more elastic than hypervisors
● Container slicing of the OS is ideally suited to cloud slicing
● Hypervisors’ only advantage in IaaS is support for different OS
families on one server
Density
Hypervisor
41 VMs
Containers with page sharing
112 CTs
Containers without page sharing
57 CTs
Admin CP time > 4 sec
Perf: LAMP throughput
Perf: LAMP response time
Performance: vConsolidate
OpenVZ vs. Xen from HP labs
● For all the configuration and workloads we
have tested, Xen incurs higher virtualization
overhead than OpenVZ does
● For all the cases tested, the virtualization
overhead observed in OpenVZ is limited, and
can be neglected in many scenarios
● Xen systems becomes overloaded when
hosting four instances of RUBiS, while the
OpenVZ system should be able to host at
least six without being overloaded
14
Evolution of Operating Systems
● Multitask
many processes
● Multiuser
many users
● Multicontainer
many containers (CTs, VEs, VPSs, guests, partitions...)
15
OpenVZ: components
 Kernel
– Namespaces: virtualization and Isolation
– CGroups: Resource Management
– Checkpoint/restart (live migration)
 Tools
– vzctl: containers control utility
 Templates
– precreated images for fast container creation
16
Kernel: Virtualization & Isolation
Each container has its own
● Files: chroot()
System libraries, applications, virtualized /proc and /sys, virtualized locks etc.
● Process tree (PID namespace)
Featuring virtualized PIDs, so that the init PID is 1
● Network (net namespace)
Virtual network device, its own IP addresses, set of netfilter and routing rules
● Devices
Plus if needed, any VE can be granted access to real devices like network
interfaces, serial ports, disk partitions, etc.
● IPC objects (IPC namespace)
shared memory, semaphores, messages
●
…
17
Kernel: Resource Management
Managed resource sharing and limiting.
● User Beancounters per-CT resource
counters, limits, and guarantees
(kernel memory, network buffers, phys pages, etc.)
●
Fair CPU scheduler (with shares and hard limits)
●
Two-level disk quota (first-level: per-CT quota;
second-level: ordinary user/group quota inside a CT)
● Disk I/O priority (also per-CT)
Kernel: Checkpointing/Migration
● Complete CT state can be saved in a file
– running processes
– opened files
– network connections, buffers, backlogs, etc.
– memory segments
● CT state can be restored later
● CT can be restored on a different server
19
Tools: CT control
# vzctl create 101 --ostemplate fedora-15
# vzctl set 101 --ipadd 20.21.22.23/24 --save
# vzctl start 101
# vzctl exec 101 ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init
11830 ? Ss 0:00 syslogd -m 0
11897 ? Ss 0:00 /usr/sbin/sshd
11943 ? Ss 0:00 xinetd -stayalive -pidfile ...
12218 ? Ss 0:00 sendmail: accepting connections
12265 ? Ss 0:00 sendmail: Queue runner@01:00:00
13362 ? Ss 0:00 /usr/sbin/httpd
13363 ? S 0:00 _ /usr/sbin/httpd
..............................................
13373 ? S 0:00 _ /usr/sbin/httpd
6416 ? Rs 0:00 ps axf
# vzctl enter 101
bash# logout
# vzctl stop 101
# vzctl destroy 101
Feature: VSwap
● A new approach to memory management,
only two parameters to configure: RAM, swap
● Appeared in RHEL6-based OpenVZ kernel
● Swap is virtual, no actual I/O is performed
● Slow down to emulate real swap
● Only when actual global RAM shortage occurs,
virtual swap goes into the real swap
Feature: ploop
● Reimplementation of Linux loop device
● Modular architecture
● Support for different file formats (“plain”,
QCOW2, etc)
● Network storage is supported (NFS)
● Snapshots and fast provisioning
via stacked images
● Write tracker for faster live migration
Feature: CRIU
● Checkpoint/Restore (mostly) In Userspace
● Kernel manage processes, knows everything
● All efforts to merge CPT to Linux kernel failed
● Solution: let's do it in userpace!
● Minimal kernel intervention
● First set of patches was recently accepted
● See http://criu.org/
CRIU merge comment from akpm
Checkpoint/restart feature work.
A note on this: this is a project by various mad Russians to
perform c/r mainly from userspace, with various oddball
helper code added into the kernel where the need is
demonstrated.
So rather than some large central lump of code, what we
have is little bits and pieces popping up in various places
which either expose something new or which permit
something which is normally kernel-private to be modified.
The overall project is an ongoing thing. I've judged that the
size and scope of the thing means that we're more likely to be
successful with it if we integrate the support into mainline
piecemeal rather than allowing it all to develop out-of-tree.
Development
● Most of the magic is in the kernel
● Use RHEL kernels as a base
● Support it for many years
(RHEL4 kernels from 2006 are still supported)
● Merge bits and pieces upstream, then reuse
● Plans to include most of the kernel stuff till
RHEL7
LXC vs OpenVZ
● OpenVZ was off-the-mainline historically
– developing since 2000
● We are working on merging bits and pieces,
with more than 1500 patches in mainline
● Code in mainline is used by OpenVZ
● OpenVZ is production ready and stable
● LXC is a work-in-progress
– not a ready replacement for OpenVZ
● We will keep maintaining OpenVZ for a while
To mainline we go
● II Parallels is the driving force behind Linux
containers
● Collaborating with the Linux community to
move OpenVZ upstream into the Linux kernel
● Ensures that Linux delivers a single consistent
container technology
● vzctl will support mainline containers
● No rerun of Xen/KVM wars!
To sum it up
● Platform-independent
– as long as Linux supports it, we support it
● No problems with scalability or disk I/O
– lots of memory, lots of CPUs no prob
– native I/O speed
● Unbeatable density and performance
● Reliable, supported, free
● Plays well with others
Thank you!
http://openvz.org/
http://criu.org/
kir@openvz.org

More Related Content

PDF
OpenVZ Linux Containers
KEY
Openvz - a quick introduction
PPT
Linux Virtualization
PPT
Seven problems of Linux Containers
PDF
Kонтейнерная виртуализация в продуктах parallels прошлое, настоящее и будущее.
PDF
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
PDF
GlusterFS Update and OpenStack Integration
PDF
Kubernetes networking
OpenVZ Linux Containers
Openvz - a quick introduction
Linux Virtualization
Seven problems of Linux Containers
Kонтейнерная виртуализация в продуктах parallels прошлое, настоящее и будущее.
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
GlusterFS Update and OpenStack Integration
Kubernetes networking

What's hot (20)

PDF
SUSE Expert Days Paris 2018 - SUSE HA Cluster Multi-Device
PPTX
Containers are the future of the Cloud
PDF
Keeping OpenStack storage trendy with Ceph and containers
PDF
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
PPTX
Containers - Cloud Phoenix March Meetup
PPTX
PDF
Inside Docker for Fedora20/RHEL7
PDF
Ceph and Mirantis OpenStack
PPTX
Containers Sandboxing (KubeCon 2018)
PDF
Container-relevant Upstream Kernel Developments
ODP
Block Storage For VMs With Ceph
PDF
libreCMC : The Libre Embedded GNU/Linux Distro
PDF
A Performance Comparison of Container-based Virtualization Systems for MapRed...
PDF
[KubeCon NA 2020] containerd: Rootless Containers 2020
PDF
High Availability Storage (susecon2016)
PDF
Hands On Gluster with Jeff Darcy
PDF
Ceph, Now and Later: Our Plan for Open Unified Cloud Storage
PDF
Fundamental Virtualisasi di openSUSE
PDF
Disaster recovery of OpenStack Cinder using DRBD
PDF
Docker Container: isolation and security
SUSE Expert Days Paris 2018 - SUSE HA Cluster Multi-Device
Containers are the future of the Cloud
Keeping OpenStack storage trendy with Ceph and containers
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
Containers - Cloud Phoenix March Meetup
Inside Docker for Fedora20/RHEL7
Ceph and Mirantis OpenStack
Containers Sandboxing (KubeCon 2018)
Container-relevant Upstream Kernel Developments
Block Storage For VMs With Ceph
libreCMC : The Libre Embedded GNU/Linux Distro
A Performance Comparison of Container-based Virtualization Systems for MapRed...
[KubeCon NA 2020] containerd: Rootless Containers 2020
High Availability Storage (susecon2016)
Hands On Gluster with Jeff Darcy
Ceph, Now and Later: Our Plan for Open Unified Cloud Storage
Fundamental Virtualisasi di openSUSE
Disaster recovery of OpenStack Cinder using DRBD
Docker Container: isolation and security
Ad

Similar to OpenVZ Linux containers (20)

PPT
An overview of OpenVZ virtualization technology
PPT
An overview of OpenVZ virtualization technology
ODP
OpenVZ, Virtuozzo and Docker
ODP
Not so brief history of Linux Containers
ODP
Not so brief history of Linux Containers - Kir Kolyshkin
ODP
Openvz booth
PDF
Containers and Namespaces in the Linux Kernel
ODP
Fedora Virtualization Day: Linux Containers & CRIU
PDF
2. Vagin. Linux containers. June 01, 2013
PPTX
N problems of Linux containers
ODP
N problems of Linux Containers
PDF
How Docker didn't invent containers (Docker Meetup Brno #1)
PDF
ContainerDays Boston 2015: "A Brief History of Containers" (Jeff Victor & Kir...
ODP
Comparison of Open Source Virtualization Technology
PPT
Seven problems of Linux containers
ODP
A brief history of Linux Containers
PPTX
Brief history of Linux containers
PDF
Low fat virtualization for embedded systems
PDF
OpenVZ VPS | Managed VPS | Linux Netherlands VPS
PDF
Docker from basics to orchestration (PHPConfBr2015)
An overview of OpenVZ virtualization technology
An overview of OpenVZ virtualization technology
OpenVZ, Virtuozzo and Docker
Not so brief history of Linux Containers
Not so brief history of Linux Containers - Kir Kolyshkin
Openvz booth
Containers and Namespaces in the Linux Kernel
Fedora Virtualization Day: Linux Containers & CRIU
2. Vagin. Linux containers. June 01, 2013
N problems of Linux containers
N problems of Linux Containers
How Docker didn't invent containers (Docker Meetup Brno #1)
ContainerDays Boston 2015: "A Brief History of Containers" (Jeff Victor & Kir...
Comparison of Open Source Virtualization Technology
Seven problems of Linux containers
A brief history of Linux Containers
Brief history of Linux containers
Low fat virtualization for embedded systems
OpenVZ VPS | Managed VPS | Linux Netherlands VPS
Docker from basics to orchestration (PHPConfBr2015)
Ad

More from OpenVZ (20)

PDF
PFcache - LinuxCon 2015
ODP
Speeding up ps and top
PDF
Live migration: pros, cons and gotchas -- Pavel Emelyanov
PDF
Live migrating a container: pros, cons and gotchas -- Pavel Emelyanov
PDF
CRIU: time and space travel for Linux containers -- Kir Kolyshkin
PDF
Тестирование ПО, основанного на сторонних компонентах - Денис Силаков, SECR 2015
ODP
Живая миграция: плюсы, минусы и подводные камни - Павел Емельянов
PDF
What's missing from upstream kernel containers? - Sergey Bronnikov
PDF
Проблема фрагментации виртуальных дисков и способы её решения -- Дмитрий Монахов
PDF
Развёртывание приложений Docker в контейнерах Virtuozzo -- Павел Тихомиров
PDF
CRIU: ускорение запуска PHP в CloudLinux OS -- Руслан Купреев
PDF
LibCT и контейнеры на уровне приложений -- Александр Бурлука
PDF
Управление памятью контейнеров в проекте OpenVZ -- Владимир Давыдов
PDF
Живая миграция контейнеров: плюсы, минусы, подводные камни -- Павел Емельянов
PDF
LibCT: one lib to rule them all -- Andrey Vagin
ODP
Denser containers with PF cache - Pavel Emelyanov
ODP
CGroups kernel memory controller -- Pavel Emelyanov
ODP
What's missing from upstream kernel containers? - Kir Kolyshkin, Sergey Bronn...
PDF
Управление ресурсами в Linux и OpenVZ
PDF
Containers in a file
PFcache - LinuxCon 2015
Speeding up ps and top
Live migration: pros, cons and gotchas -- Pavel Emelyanov
Live migrating a container: pros, cons and gotchas -- Pavel Emelyanov
CRIU: time and space travel for Linux containers -- Kir Kolyshkin
Тестирование ПО, основанного на сторонних компонентах - Денис Силаков, SECR 2015
Живая миграция: плюсы, минусы и подводные камни - Павел Емельянов
What's missing from upstream kernel containers? - Sergey Bronnikov
Проблема фрагментации виртуальных дисков и способы её решения -- Дмитрий Монахов
Развёртывание приложений Docker в контейнерах Virtuozzo -- Павел Тихомиров
CRIU: ускорение запуска PHP в CloudLinux OS -- Руслан Купреев
LibCT и контейнеры на уровне приложений -- Александр Бурлука
Управление памятью контейнеров в проекте OpenVZ -- Владимир Давыдов
Живая миграция контейнеров: плюсы, минусы, подводные камни -- Павел Емельянов
LibCT: one lib to rule them all -- Andrey Vagin
Denser containers with PF cache - Pavel Emelyanov
CGroups kernel memory controller -- Pavel Emelyanov
What's missing from upstream kernel containers? - Kir Kolyshkin, Sergey Bronn...
Управление ресурсами в Linux и OpenVZ
Containers in a file

Recently uploaded (20)

PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PPTX
CNN LeNet5 Architecture: Neural Networks
PPTX
Full-Stack Developer Courses That Actually Land You Jobs
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
MCP Security Tutorial - Beginner to Advanced
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PPTX
Download Adobe Photoshop Crack 2025 Free
PDF
DNT Brochure 2025 – ISV Solutions @ D365
PPTX
Cybersecurity: Protecting the Digital World
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
AI-Powered Fuzz Testing: The Future of QA
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
PPTX
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
PDF
E-Commerce Website Development Companyin india
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
CNN LeNet5 Architecture: Neural Networks
Full-Stack Developer Courses That Actually Land You Jobs
How to Use SharePoint as an ISO-Compliant Document Management System
MCP Security Tutorial - Beginner to Advanced
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Download Adobe Photoshop Crack 2025 Free
DNT Brochure 2025 – ISV Solutions @ D365
Cybersecurity: Protecting the Digital World
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
AI-Powered Fuzz Testing: The Future of QA
Topaz Photo AI Crack New Download (Latest 2025)
Practical Indispensable Project Management Tips for Delivering Successful Exp...
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
Wondershare Recoverit Full Crack New Version (Latest 2025)
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
E-Commerce Website Development Companyin india
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)

OpenVZ Linux containers

  • 1. OpenVZ Linux Containers Kir Kolyshkin <[email protected]> OpenStack Design Summit 16 April 2012, San Francisco
  • 2. Agenda ● Virtualization approaches ● Containers versus hypervisors: ● OpenVZ internals ● New features
  • 3. 3 What is virtualization? Virtualization is a technique for deploying technologies. Virtualization creates a level of indirection or an abstraction layer between a physical object and the managing or using application. http://www.aarohi.net/info/glossary.html Virtualization is a framework or methodology of dividing the resources of a computer into multiple execution environments... http://www.kernelthread.com/publications/virtualization/ A key benefit of the virtualization is the ability to run multiple operating systems on a single physical server and share the underlying hardware resources – known as partitioning. http://www.vmware.com/pdf/virtualization.pdf
  • 4. 4 Ways to Virtualize ● Hardware Emulation ● Para-Virtualization ● Containers-type Virtualization (a.k.a. OS-level Virtualization) ● Multi-server virtualization
  • 6. 6 Containers ● OpenVZ / Parallels Containers ● LXC ● FreeBSD jails ● Solaris Containers/Zones ● IBM AIX6 WPARs (Workload Partitions)
  • 7. Comparison Hypervisor (VM)  One real HW, many virtual HWs, many OSs  High versatility – can run different OSs  Lower density, performance, scalability  «Lowers» are mitigated by new hardware features (such as VT-D) Containers (CT)  One real HW (no virtual HW), one kernel, many userspace instances  Higher density, natural page sharing  Dynamic resource allocation  Native performance: [almost] no overhead
  • 8. Containers are thinner and more performant than hypervisors ● Containers – Share host OS and Drivers – Have small virtualization layer – Naturally share pages ● Hypervisors – Have separate OS plus virtual Hardware – Hardware emulation requires VMM state – Have trouble sharing Guest OS pages ● Containers are more elastic than hypervisors ● Container slicing of the OS is ideally suited to cloud slicing ● Hypervisors’ only advantage in IaaS is support for different OS families on one server
  • 9. Density Hypervisor 41 VMs Containers with page sharing 112 CTs Containers without page sharing 57 CTs Admin CP time > 4 sec
  • 13. OpenVZ vs. Xen from HP labs ● For all the configuration and workloads we have tested, Xen incurs higher virtualization overhead than OpenVZ does ● For all the cases tested, the virtualization overhead observed in OpenVZ is limited, and can be neglected in many scenarios ● Xen systems becomes overloaded when hosting four instances of RUBiS, while the OpenVZ system should be able to host at least six without being overloaded
  • 14. 14 Evolution of Operating Systems ● Multitask many processes ● Multiuser many users ● Multicontainer many containers (CTs, VEs, VPSs, guests, partitions...)
  • 15. 15 OpenVZ: components  Kernel – Namespaces: virtualization and Isolation – CGroups: Resource Management – Checkpoint/restart (live migration)  Tools – vzctl: containers control utility  Templates – precreated images for fast container creation
  • 16. 16 Kernel: Virtualization & Isolation Each container has its own ● Files: chroot() System libraries, applications, virtualized /proc and /sys, virtualized locks etc. ● Process tree (PID namespace) Featuring virtualized PIDs, so that the init PID is 1 ● Network (net namespace) Virtual network device, its own IP addresses, set of netfilter and routing rules ● Devices Plus if needed, any VE can be granted access to real devices like network interfaces, serial ports, disk partitions, etc. ● IPC objects (IPC namespace) shared memory, semaphores, messages ● …
  • 17. 17 Kernel: Resource Management Managed resource sharing and limiting. ● User Beancounters per-CT resource counters, limits, and guarantees (kernel memory, network buffers, phys pages, etc.) ● Fair CPU scheduler (with shares and hard limits) ● Two-level disk quota (first-level: per-CT quota; second-level: ordinary user/group quota inside a CT) ● Disk I/O priority (also per-CT)
  • 18. Kernel: Checkpointing/Migration ● Complete CT state can be saved in a file – running processes – opened files – network connections, buffers, backlogs, etc. – memory segments ● CT state can be restored later ● CT can be restored on a different server
  • 19. 19 Tools: CT control # vzctl create 101 --ostemplate fedora-15 # vzctl set 101 --ipadd 20.21.22.23/24 --save # vzctl start 101 # vzctl exec 101 ps ax PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init 11830 ? Ss 0:00 syslogd -m 0 11897 ? Ss 0:00 /usr/sbin/sshd 11943 ? Ss 0:00 xinetd -stayalive -pidfile ... 12218 ? Ss 0:00 sendmail: accepting connections 12265 ? Ss 0:00 sendmail: Queue runner@01:00:00 13362 ? Ss 0:00 /usr/sbin/httpd 13363 ? S 0:00 _ /usr/sbin/httpd .............................................. 13373 ? S 0:00 _ /usr/sbin/httpd 6416 ? Rs 0:00 ps axf # vzctl enter 101 bash# logout # vzctl stop 101 # vzctl destroy 101
  • 20. Feature: VSwap ● A new approach to memory management, only two parameters to configure: RAM, swap ● Appeared in RHEL6-based OpenVZ kernel ● Swap is virtual, no actual I/O is performed ● Slow down to emulate real swap ● Only when actual global RAM shortage occurs, virtual swap goes into the real swap
  • 21. Feature: ploop ● Reimplementation of Linux loop device ● Modular architecture ● Support for different file formats (“plain”, QCOW2, etc) ● Network storage is supported (NFS) ● Snapshots and fast provisioning via stacked images ● Write tracker for faster live migration
  • 22. Feature: CRIU ● Checkpoint/Restore (mostly) In Userspace ● Kernel manage processes, knows everything ● All efforts to merge CPT to Linux kernel failed ● Solution: let's do it in userpace! ● Minimal kernel intervention ● First set of patches was recently accepted ● See http://criu.org/
  • 23. CRIU merge comment from akpm Checkpoint/restart feature work. A note on this: this is a project by various mad Russians to perform c/r mainly from userspace, with various oddball helper code added into the kernel where the need is demonstrated. So rather than some large central lump of code, what we have is little bits and pieces popping up in various places which either expose something new or which permit something which is normally kernel-private to be modified. The overall project is an ongoing thing. I've judged that the size and scope of the thing means that we're more likely to be successful with it if we integrate the support into mainline piecemeal rather than allowing it all to develop out-of-tree.
  • 24. Development ● Most of the magic is in the kernel ● Use RHEL kernels as a base ● Support it for many years (RHEL4 kernels from 2006 are still supported) ● Merge bits and pieces upstream, then reuse ● Plans to include most of the kernel stuff till RHEL7
  • 25. LXC vs OpenVZ ● OpenVZ was off-the-mainline historically – developing since 2000 ● We are working on merging bits and pieces, with more than 1500 patches in mainline ● Code in mainline is used by OpenVZ ● OpenVZ is production ready and stable ● LXC is a work-in-progress – not a ready replacement for OpenVZ ● We will keep maintaining OpenVZ for a while
  • 26. To mainline we go ● II Parallels is the driving force behind Linux containers ● Collaborating with the Linux community to move OpenVZ upstream into the Linux kernel ● Ensures that Linux delivers a single consistent container technology ● vzctl will support mainline containers ● No rerun of Xen/KVM wars!
  • 27. To sum it up ● Platform-independent – as long as Linux supports it, we support it ● No problems with scalability or disk I/O – lots of memory, lots of CPUs no prob – native I/O speed ● Unbeatable density and performance ● Reliable, supported, free ● Plays well with others