官术网_书友最值得收藏!

Virtualization options in Proxmox VE

There are two types of virtualizations available in Proxmox: OpenVZ and KVM. What are the differences between them?

OpenVZ is an operating-system-level virtualization based on the GNU/Linux kernel and the host operation system. Theoretically, OpenVZ is not a type of virtualization but more like the jail concept in Linux. Since a patched Linux kernel is needed, only Linux guests can be created. All guests are called containers that share the same kernel and architecture as long as the host OS, while each container reserves a separate user space.

There is no overhead for OpenVZ as containers can call hardware resources directly. However, since all containers share the system kernel of the host OS, a system-related problem might appear during the host OS kernel upgrade. Besides, OpenVZ stores container files as normal files in the host OS, so it is not recommended to use OpenVZ if there are confidential files stored in the virtual machine. Kernel-based Virtual Machine (KVM) is basically a hardware-assisted virtualization with the modified Linux kernel built with the KVM module. KVM itself does not perform any emulation or virtualization. Instead, it simply exposes the /dev/kvm interface. QEMU is chosen as a software-based emulator to simulate hardware for the virtualized environment. The structure of KVM is shown as follows:

As we can see, overheads on frequent requests appear in QEMU-emulated devices. Thus, an improved version for KVM is published with VirtIO drivers. VirtIO creates a buffer for both the guest system and QEMU, which speeds up the I/O performance and reduces the overhead. To enjoy the performance burst, a VirtIO driver must be installed separately on each emulated hardware device. In the following diagram, we have demonstrated the new structure of the KVM machines with the VirtIO drivers installed:

The following table shows the supported operating systems provided by OpenVZ and KVM:

主站蜘蛛池模板: 郯城县| 内乡县| 响水县| 简阳市| 招远市| 梨树县| 改则县| 凌云县| 武强县| 南江县| 靖远县| 吴川市| 海兴县| 上思县| 墨竹工卡县| 泸定县| 芜湖县| 沾化县| 华亭县| 三原县| 麦盖提县| 甘南县| 中方县| 砚山县| 剑川县| 义乌市| 舞钢市| 泸水县| 县级市| 八宿县| 福贡县| 富宁县| 南丹县| 盐源县| 正阳县| 昭觉县| 乐平市| 福鼎市| 彰武县| 巴彦县| 封开县|