CPU Cores have no performance effect?

Raymond Burns

Member
Apr 2, 2013
333
1
18
Houston, Texas, United States
I was under the impression, through several forum posts, that assigning Virtual Cores to KVM guests have zero (0) impact on KVM performance.
However, after a quick test, I show that there is a big difference when assigning the proper cores.
What is the general rule of thumb when assigning cores?

Below is the test:
Host is (16 x Intel Xeon CPU E5620 @ 2.40GHz (2 Sockets))
Centos 6.6_x64 KVM using the KVM64 chip
Zoneminder server with 8GB of memory and 45 cameras configured

Test one is using a single socket and single core (Machine was very laggy):
single_core.PNG


Test two is using a single socket and 8 cores (Machine load and host load was considerably lower):
octa_core.PNG

Host load:
Test 1 = 1.6
Test 2 = .92
 
http://forum.proxmox.com/threads/4661-CPU-Sockets-VS-Cores-Socket
http://forum.proxmox.com/threads/8053-CPU-Sockets-vs-CPU-cores?p=45836#post45836

Threads by developers themselves say otherwise.
That's two different Proxmox developers saying that virtual cores assigned to KVM makes no difference. Only for licensing

Those are only referring to sockets vs cores. For example 2 sockets and 1 core is the same as 1 socket and 2 cores. Giving the VM more cores definitely increases cpu performance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!