Here are some benchmark results with latest Proxmox VE 1.9.
Hardware: Intel Modular Server, 2 x Intel Xeon E5540 @ 2.53GHz (HT disabled in bios)
OS: Debian Squeeze in container and KVM (Lenny on host)
Benchmark: Phoronix-test-suite (build-linux-kernel) V 3.4.0
Proxmox VE Kernel: pve-kernel-2.6.32-6-pve: 2.6.32-47
> phoronix-test-suite benchmark build-linux-kernel
Results (lower is better):
[TABLE="class: grid"]
[TR]
[TD]Proxmox VE Host (2 Sockets, 4 Cores = 8 CPU´s):[/TD]
[TD]244 Seconds[/TD]
[/TR]
[TR]
[TD]KVM Guest (2 Sockets, 4 Cores = 8 CPU´s)[/TD]
[TD]270 Seconds[/TD]
[/TR]
[TR]
[TD]OpenVZ Container (CPU=8)[/TD]
[TD]277 Seconds[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]KVM Guest (1 Sockets, 1 Cores = 1 CPU)[/TD]
[TD]1901 Seconds[/TD]
[/TR]
[TR]
[TD]OpenVZ Container (CPU=1)[/TD]
[TD]2024 Seconds[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
Conclusion:
Both virtualization technologies performs great and quite similar concerning this cpu intense task. Also the assignment of CPU works well on OpenVZ and KVM, as expected. But yes, KVM is a bit faster, but this in not really significant.
Martin
Hardware: Intel Modular Server, 2 x Intel Xeon E5540 @ 2.53GHz (HT disabled in bios)
OS: Debian Squeeze in container and KVM (Lenny on host)
Benchmark: Phoronix-test-suite (build-linux-kernel) V 3.4.0
Proxmox VE Kernel: pve-kernel-2.6.32-6-pve: 2.6.32-47
> phoronix-test-suite benchmark build-linux-kernel
Results (lower is better):
[TABLE="class: grid"]
[TR]
[TD]Proxmox VE Host (2 Sockets, 4 Cores = 8 CPU´s):[/TD]
[TD]244 Seconds[/TD]
[/TR]
[TR]
[TD]KVM Guest (2 Sockets, 4 Cores = 8 CPU´s)[/TD]
[TD]270 Seconds[/TD]
[/TR]
[TR]
[TD]OpenVZ Container (CPU=8)[/TD]
[TD]277 Seconds[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]KVM Guest (1 Sockets, 1 Cores = 1 CPU)[/TD]
[TD]1901 Seconds[/TD]
[/TR]
[TR]
[TD]OpenVZ Container (CPU=1)[/TD]
[TD]2024 Seconds[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
Conclusion:
Both virtualization technologies performs great and quite similar concerning this cpu intense task. Also the assignment of CPU works well on OpenVZ and KVM, as expected. But yes, KVM is a bit faster, but this in not really significant.
Martin