Tech: Hyper-V CPU Scheduling

Posted by Kenneth van Surksum   |   Monday, February 28th, 2011   |  

Ben Armstrong, who is Virtualization Program Manager at Microsoft posted a four part article about CPU scheduling in Hyper-V. Most of the aspects of the Hyper-V CPU scheduler come into play when all of the CPU resources on a physical computer are being used, called ” contention for resource” and Hyper-V has to decide who wins and who loses when new resources are requested. Each option is detailed, and pros and cons are provided.

When defining a VM within Hyper-V the following Processor options are available:

Virtual Machine Reserve – covered in part one of the four part article and covers the lower bound of the CPU resource. It is configured as a total possible CPU usage of a VM, the VM will not boot if the necessary percentage of CPU usage isn’t available and the VM will allways get its CPU percentage when needed while booted.

Virtual Machine limit – covered in part two which covers the upper bound of the CPU resource and is also configured as a percentage of total CPU usage of a VM. It states that the VM will never be allowed to use more than the specified percentage of its virtual processors. Which can help with poorly written applications which consumes all the available CPU resources.

Relative Weight – covered in part three defines how CPU is handled between the lower and the upper bound of the CPU resource. It is a number between 1 and 10,000 and which comes into effect when there is a contention for CPU resource on the host. The height of the weight determines the share of the system resource the VM receives. Using this setting VMs can be marked as important and not-important in a mixed production and development/staging environment.

clip_image001

Part four covers some Frequently Asked Questions based on the described options, like why a percentage is used for limit and reserve and not Mhz/Ghz.


Labels: ,

blog comments powered by Disqus


virtualization.info Newest articles
VMware acquires Wanova

May 23rd, 2012

Yesterday VMware announced the acquisition of Wanova Inc. a company whose main product is called Mirage.
Mirage is a centralized management and recovery solution for physical desktop images over the…

Paper: VMware vSphere Metro Storage Cluster Case Study

May 23rd, 2012

Yesterday VMware published a paper focused on VMware vMSC (vSphere Metro Storage Cluster), a new configuration within the VMware Hardware Compatibility List intended for environments where disaster/downtime avoidance is a…

EMC acquires Syncplicity

May 22nd, 2012

Yesterday, during its annual conference in Las Vegas, EMC announced the acquisition of Syncplicity, a cloud-storage privately held startup founded in 2008 and based in Menlo Park, California.
Terms…

Release: Oracle VM Server for x86 3.1

May 21st, 2012

On May 18th Oracle announced the general availability of version 3.1 of its x86 enterprise virtualization solution VM Server.
This release follows 3.0 announced on August 24th 2011.
All the new…

VMware shows View 5.1 performance improvements

May 21st, 2012

In this post, published on May 18 in VROOM! Blog, the VMware’s Performance Team presented some of the most significant enhancements and optimizations brought to Teradici‘s PCoIP protocol in the…

NVIDIA introduces World’s Firs Virtualized GPU

May 17th, 2012

On May 15th NVIDIA unveiled the NVIDIA® VGX™ platform that will be available later this year through NVIDIA’s hardware OEM and VDI partners.
This new platform promises to deliver…

Microsoft announces Assessment and Planning Toolkit 7.0 Beta Program

May 17th, 2012

Microsoft announced this week the new Beta version of its capacity planning tool Microsoft Assessment and Planning (MAP) 7.0 Beta.
The Beta program opened on May 15th and the review…

VMware announces vFabric Suite 5.1

May 15th, 2012

Today VMware announced VMware vFabric Suite 5.1, expected to be generally available in Q2 2012.
vFabric Suite 5.1 includes vFabric Application Director, to automate the deployment and management of vFabric…

VMware CTO talks about R&D plans for the future

May 15th, 2012

On April 4 Stephen Herrod, VMware’s CTO, has attended, as guest speaker, at a VMUG meeting in Italy.
One of the key point of the speech, documented in one hour-long…

Citrix Hosted Server VDI Tech Preview

May 14th, 2012

Last week Citrix announced a new tech preview for Hosted Server VDI technology that allows cloud providers to leverage Microsoft SPLA to host VDI-style desktops obtaining a pay-as-you-go monthly subscription licensing…

Release: Atlantis ILIO Diskless VDI 3.2

May 11th, 2012

On May 7 Atlantis Computing announced the general availability of its Atlantis ILIO Diskless VDI 3.2, this product, tailored in particular for VMware View 5.1, enables virtual desktops deployment…

Citrix unveils Project Aruba

May 11th, 2012

On May 7 Citrix announced a technology preview of Project Aruba that extends Citrix VDI all-in-one proposal for the SMB market, VDI-in-a-Box, with personal vDisk technology.
VDI-in-a-Box, inherited from Kaviza…

Cloud Sidekick announced Early Access release of Cato EE

May 10th, 2012

On May 7 Cloud Sidekick announced the Early Access Program release of Cato Enterprise Edition (EE) which extends the Community Edition (CE) with Storm Deployment Automation and support for…

Release: VMware vCenter Infrastructure Navigator (VIN) 1.1

May 9th, 2012

On April 26 VMware announced the general availability of VMware vCenter Infrastructure Navigator (VIN) 1.1, previously introduced as a part of vCenter Operations Management Suite.
VIN automatically detects, discovers and…

 
Monthly Archive