Hello!
Can someone explain how it works?
I mean the following kernel options with optimal configuration.
I've got 2 physical CPU with 10 cores with HT.
So the FreeBSD shows 40 - CPU0-CPU39.
Actually I use FreeBSD OS as VM but I have one Windows 10 VM as well.
What are differences between the following configurations?
A
B
C
D
E
Is it correct?
C: FreeBSD = vCPU: 1, cores: 1, threads: 2, logical: 2; Windows = vCPU: 1, threads: 1, logical: 1
D: FreeBSD = vCPU: 2, cores: 4, threads: 2, logical: 8; Windows = vCPU: 2, threads: 2, logical: 4
Can someone explain how it works?
I mean the following kernel options with optimal configuration.
hw.vmm.topology.cores_per_package
hw.vmm.topology.threads_per_core
I've got 2 physical CPU with 10 cores with HT.
So the FreeBSD shows 40 - CPU0-CPU39.
Actually I use FreeBSD OS as VM but I have one Windows 10 VM as well.
What are differences between the following configurations?
A
hw.vmm.topology.cores_per_package: 1
hw.vmm.topology.threads_per_core: 1
B
hw.vmm.topology.cores_per_package: 2
hw.vmm.topology.threads_per_core: 1
C
hw.vmm.topology.cores_per_package: 1
hw.vmm.topology.threads_per_core: 2
D
hw.vmm.topology.cores_per_package: 2
hw.vmm.topology.threads_per_core: 2
E
hw.vmm.topology.cores_per_package: 4
hw.vmm.topology.threads_per_core: 8
Is it correct?
C: FreeBSD = vCPU: 1, cores: 1, threads: 2, logical: 2; Windows = vCPU: 1, threads: 1, logical: 1
D: FreeBSD = vCPU: 2, cores: 4, threads: 2, logical: 8; Windows = vCPU: 2, threads: 2, logical: 4