■What do you want to do
I want to build a virtual server with Hyper-V, and I want to achieve the same level of performance as having a four-core CPU in a physical server.
The operating system is expected to be Windows Server 2016.
■What to check (in determining the CPU)
(1)
In recent years, Xeon CPUs often have twice as many threads as the number of cores, such as "eight-core 16 threads." Is this a number that assumes hyperthreading is enabled by default?
(2)
Assume that the host operating system has "one CPU with eight cores and 16 threads."
The number of virtual processors assigned to the Hyper-V guest operating system will be allocated in the number of threads in the physical CPU.
In this case, does it mean that the number of virtual processors to be allocated is 8 or more?
I think it's not "Number of physical cores = Number of virtual processors", but "Number of physical threads = Number of virtual processors", so I thought that if I assigned "4" here, I wouldn't be able to meet the same level of performance as the four-core physical CPU.
Do you have the right way of thinking?
*I think it's strictly the performance of =, but please let me know as a rough idea when deciding the CPU.
windows hardware
(1) Doubling the number of threads to the number of cores is a prerequisite that Hyper-Threading is turned on.The answer is yes.
(2) If you want to achieve the same level of performance as a physical server with four-core CPUs, you can assign four virtual CPUs.
As mentioned above, no performance degradation will occur if up to eight virtual CPUs are allocated to eight physical cores.Assume no other action is taken.
If a large number of virtual CPUs are allocated and there is a virtual operating system that consumes the CPU outside of the virtual operating system that you want to guarantee performance, performance degradation will always occur.
© 2024 OneMinuteCode. All rights reserved.