Host Selection Algorithm Memory Sharing History Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Virtualization systems face challenges in optimizing VM placement to maximize memory sharing among virtual machines, leading to inefficient resource utilization and suboptimal host selection for live migration and initial placement.

Innovation Solution

A host selection algorithm that considers shared memory history to prioritize candidate hosts with higher memory sharing history, adjusting scores based on the average memory sharing history between the target VM and currently running VMs on candidate hosts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a standard host selection algorithm is used for VM placement, then the placement process is simple and fast, but memory sharing optimization is not achieved leading to inefficient resource utilization

Engineering Contradiction:
Improveresource efficiencyVSAvoidselection algorithm complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system pre-calculates and stores memory sharing history values for VMs before placement decisions are made. This historical data is maintained in a database, allowing the selection algorithm to quickly reference pre-computed sharing patterns without performing complex real-time analysis, thus achieving memory sharing optimization without excessive computational complexity during placement

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces complex real-time memory analysis with a simplified algorithm that uses pre-computed historical data. Instead of performing sophisticated memory sharing calculations at placement time, the system substitutes this with a straightforward score adjustment mechanism that adds a memory sharing component to the selection algorithm, making the system both efficient and easy to implement

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Loss of energy

If memory sharing optimization is implemented in the host selection algorithm, then resource efficiency improves, but the algorithm complexity increases

Engineering Contradiction:
Improvememory utilization efficiencyVSAvoidalgorithm complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The system optimizes memory utilization by dynamically adjusting the selection criteria parameter - specifically by adding a memory sharing history component to the host selection score. This parameter change allows the algorithm to favor hosts with VMs that have high memory sharing potential, improving memory efficiency without requiring a complete redesign of the selection algorithm

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent uses historical memory sharing data as a copy of past behavior patterns to predict future sharing potential. By replicating and analyzing historical sharing patterns rather than performing complex real-time memory analysis, the system achieves optimization with manageable algorithmic complexity

Inventive Principle:
Principle #26Copying

3Reliability

If the host selection algorithm analyzes memory sharing history for all candidate hosts, then optimal VM placement is achieved, but the computational overhead and time consumption increase

Engineering Contradiction:
ImproveVM placement optimalityVSAvoidplacement decision time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs memory sharing history analysis in advance and stores the results in a database. When a VM placement decision is needed, the pre-computed historical data is immediately retrieved and used to adjust selection scores, eliminating the need for time-consuming real-time analysis and enabling fast placement decisions with high optimality

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically balances between thorough analysis and quick decision-making by using pre-computed historical data that can be quickly retrieved and adjusted. The algorithm adapts by adding a memory sharing component to the selection process without requiring complete re-analysis of all candidate hosts, thus maintaining placement optimality while reducing time consumption

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8533711B2Method and system for adjusting a selection algorithm for selecting a candidate host with a highest memory sharing history value with a target virtual machine from amongst a set of host machines that have a standard deviation of memory sharing history with the virtual machine below a threshold amount
Publication Date: 2013.09.10 RED HAT ISRAEL
  • US8533711B2 patent drawing
  • US8533711B2 patent drawing
  • US8533711B2 patent drawing

AI summary

A mechanism for shared memory history optimization in a host selection algorithm for VM placement is disclosed. A method of embodiments of the invention includes determining candidate hosts to place a target virtual machine (VM), obtaining memory sharing history of the target VM with one or more VMs hosted by each of the candidate hosts, determining an average memory sharing history amount for each of an optimized number of the candidate hosts based on the obtained memory sharing history of the target VM with one or more VMs hosted by each of the optimized number of candidate hosts, and adjusting a score in a general selection algorithm for a candidate host with the highest average memory sharing history amount.