How to qualify the available CPU utilization for virtual machines in Hyper-V 3

Source: Internet
Author: User

Windows Server 2012 is late, and the latest Hyper-V 3 brings us more surprises, followed by three blog posts and common learning about the virtual machine CPU competition mechanism.

Part I: CPU resources allocated to virtual machines

Part Two: Limit the CPU utilization available to virtual machines

Part III: Contention for CPU resource priority

Part II limits the CPU utilization available to virtual machines

The processor resources available to the virtual machine (all resources 100%) can specify the CPU resources used by the virtual machines (expressed as percentages), that is, you can limit the CPU resources used by the virtual machines.

The virtual machine restrictions option is available in the Virtual machine properties setting, which guarantees the maximum CPU processing power that a virtual machine can use. The CPU resource used by the virtual machine exceeds the limit value, the CPU highest value is the set value (percent).

Default settings

When you create a new virtual machine, the default percentage for each virtual machine is 100, which means that each virtual machine can use the maximum CPU processing power.

The default setting has a fatal flaw, and when multiple virtual machines are running simultaneously and the virtual machine uses up to 100% CPU utilization, the system stops responding to downtime. For applications, this is a fatal flaw. Therefore, it is a good way to limit the maximum processing power of a virtual machine.

Figure

Virtual Machine CPU Resource Usage test

For example, in the same host computer:

L Virtual Machine (Windows Server 2008 R2) sets the virtual machine limit (percent) to 50%, the virtual machine can use up to 50% of CPU processor data processing power.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.