Virtual Machine vCPUs vs cores vs threads

revengineer

Contributor
Joined
Oct 27, 2019
Messages
193
Today I updated my FreeNAS 11.3-U5 to TrueNAS 12.0-U3.1, and now I have an issue with getting the right number of processors to show in virtual machines. In FreeNAS 11.3, I used to set the following tunables for my Intel(R) Xeon(R) CPU E5-2630L v2 CPU:
Code:
hw.vmm.topology.cores_per_package = 6
hw.vmm.topology.threads_per_core = 2

Then I selected the number of Virtual CPUs for the virtual machine. This no longer seems to work for TrueNAS 12.0. Can someone direct me know to get this working again?

Thank you!
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
You can now set the precise topology per VM in the UI.
 

revengineer

Contributor
Joined
Oct 27, 2019
Messages
193
Thank you for the pointer. This seems to work, although there seem to be multiple combinations of vCPU, cores, and threads that seems to yield the same result. E.g., 2 vCPUs with 2 cores each seems to yield the same as 1 vCPU with 4 cores. Is that correct or am I missing something?
 
Top