vCPU - Cores vs threads in INTEL CPU

zeuxprox

Renowned Member
Dec 10, 2014
92
5
73
Hi to everybody,

first of all I'm sorry for my English...

My question is simple: if I give "n" cores to a VM in a server with Intel CPU (HT enabled), the "n" cores are REAL "n" cores or they are only "n/2" real cores (=n threads) ?

For example: I create a new VM with 1 socket and 4 cores. These cores are REAL 4 cores or they are only 2 real cores (=4 threads)?

Thanks a lot
 
a KVM core is like a thread so if you have 4/8 cores/HT you can make one machine with 8 vcpus.

if you have more vcpus per machine then HT cores Qemu start to emulate cores an your vms get very slow.

if you want real cores you must pin the vcpus to the cpus.
 
a KVM core is like a thread so if you have 4/8 cores/HT you can make one machine with 8 vcpus.

if you have more vcpus per machine then HT cores Qemu start to emulate cores an your vms get very slow.

if you want real cores you must pin the vcpus to the cpus.

OK, but how can I pin vCPU to real cores?

Thank you
 

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!