SOLVED Problem with CPU/Core on Windows 10 VM

Status
Not open for further replies.

ikorbln

Dabbler
Joined
Apr 13, 2017
Messages
19
Hello,

I setup an VM with Windows 10 Pro without problems, all works fine.
I setup 3 CPU´s in the VM-config.

When i look in Windows in the taskmanager, i see now 2 Sockets with 2 virtual-CPU´s.
So i think this is wrong, it should be 1 Socket with 3 CPU´s.

I cant use the 3rd core from the Host so the vm use only 2.

Any idea?

PS: Oh, i found this thread.....so i will follow...
https://forums.freenas.org/index.php?threads/bhyve-sockets-cores-and-thread-counts.55269/
 
Last edited:

ikorbln

Dabbler
Joined
Apr 13, 2017
Messages
19
And here comes the soloution.

I set up two tunables
hw.vmm.topology.cores_per_package 1 as loader
hw.vmm.topology.threads_per_core 4 as loader

I set my VM to 3 CPU and now i have on Windows 10 one Socket with 3 virtual-CPU´s.
Problem solved :smile:
 

cherup

Dabbler
Joined
Nov 21, 2015
Messages
20
I do have a i5-3570T CPU (4 cores) - and have configured 3 cores to the VM - but in Windows only 2 cores are shown.
I have added two lines in /boot/loader.conf


hw.vmm.topology.cores_per_package=1
hw.vmm.topology.threads_per_core=4

but it seems that it has no effect.
Any ideas ?
 

ikorbln

Dabbler
Joined
Apr 13, 2017
Messages
19
hmm, i dont edit the loader.conf, i put the parameters in the tunables in the gui.
After that you have to reboot the whole freenas system.
 

cherup

Dabbler
Joined
Nov 21, 2015
Messages
20
You are right - now it can also use 3 cores - maybe I have not looked carefully the first time - but config via tunables is the better option.
 
Status
Not open for further replies.
Top