An efficient method to allocate resources to a virtual machine

IP.com Prior Art Database Disclosure
IP.com Disclosure Number: IPCOM000184441D
Publication Date: 25-Jun-2009
More Like This Download

Publishing Venue

The IP.com Prior Art Database

Abstract

In virtualization technology, the hypervisor is the manager of the resources in the system by optimizing its utilization through its allocation, dispatching, sharing resources among multiple partitions etc., System architectures such as SMP, NUMA where multiple processors share a single memory creates an environment where processors do not have uniform access latency. Especially in NUMA, memory attached to the same processor chip, known as local memory, is accessed faster than memory attached to other processor chips. A flat SMP model assures that all processors access a common memory at the same speed but the fat pipes that make the SMP flat is expensive. With multi-core technology large number of processors are packed in a chip so the number of processors accessing local memory increases. However, it does not eliminate NUMA characteristics as interconnects are still used to create larger systems. Therefore, it becomes imperative to make the processors use the local memory as much as possible. That is, maintain affinity.

Language

English (United States)

Document File

4 pages / 31.1 KB

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 34% of the total text.

Page 1 of 4

An efficient method to allocate resources to a virtual machine

In a virtualized environment, system resources are distributed across multiple partitions where each partition operates as a separate entity even though underneath the resources of the system are shared. The allocation of resources and how they are shared play an important role in how the system performs.

Besides partition allocation also influences how power efficiency is managed. If the system is underutilized, turning off cores, memory controllers, memory dimms will save energy. Through allocation, free resources can be grouped in such a way to turn a whole unit off to optimize energy efficiency instead of turning individual or partial units which may not result in optimum efficiency.

The allocation of resources can be either static or dynamic, but in either case the system architecture, workload characteristics and their system resource requirements have to play a role in how resources are allocated to make the system run efficiently. Partition resource requirements can come in any combination of denominations, fitting or mapping all these resource denominations to a system such that partitions get processors and memory close together so they get the maximum performance is a complicated task. In addition systems come with different resource configurations, with different memory distribution etc., mandates that all these characteristics are carefully considered when allocating resources to a partition. Also there are other dynamic changes such as addition or removal of resources brings another complexity that requires that the hypervisor not only optimizes resources during allocation but also throughout the life of the partitions in a system.

The goal of this invention is to present an algorithm the describes methodology to optimize resource allocation to partitions irrespective of different system configurations or different partition requirements.

Advanced Power Virtualization supports a variety of virtualization technologies such as dedicated partitions, dedicated donate partitions, shared partitions where fractional processor resources are consumed and resources can be capped or uncapped. These different virtualization technologies are tailored to improve the system total cost of ownership through optimizing and maximizing system utilization. The resource allocation first takes the system architecture, partition resource requirements, its preferred virtualization technology as input parameters and uses allocation algorithm to allocate system resources.

In order to allocate partitions memory close to its processors, it uses a memory per core metric normalized to the system's memory to core ratio per chip or per node for a given system's configuration. This metric is tracked for each chip and node throughout the process of allocating resources to all partitions. This metric helps to avoid depletion of one of the resources n...

First page image
You are not signed in. If you have an IP.com account, your download price may be lower or waived. Click here if you want to sign-in now.
Loading PayPal...
The full document comprises 4 pages and is available as a PDF document as well as a ZIP archive. The cost is $40.00 USD (depending on your billing address, sales tax may apply); payment may be made directly using your credit card or your PayPal account.

If you've already purchased this document, and wish to download it now you may enter the download access code you received in your original email receipt.