0

So, changing Vcpus and RAM is easy enough. How can I change the number of threads and cores per vcpu in KVM? I need 1 Vcpu, four cores, and two threads per core. Barring that, four cpus with two threads each.

That being said, is there any real difference between configuring it this way and just provisioning 8 vcpus?

Host and guest are both Ubuntu 16.04. Host is running KVM.

1

Ok, I found the information I was looking for on this guide.

Effectively, you just need to

virsh edit [domain]

And edit your <cpu> topology to match whatever you need and change your vcpu allocation to match.

I.E: <topology sockets=’1’ cores=’4’ threads=’2’/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.