VM Migration Triggered by Host Memory Crash Probability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

When a memory failure occurs in a host machine, existing systems cause all virtual machines on the host machine to stop providing services, leading to decreased user experience and quality of service.

Innovation Solution

Detect memory failures in host machines, determine the crash probability based on failure parameters, and transfer virtual machines to a target host machine with a lower crash probability when the probability exceeds a predetermined threshold, thereby avoiding service disruptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all virtual machines on the host machine are stopped when memory failure occurs, then system stability is maintained, but service continuity deteriorates

Engineering Contradiction:
Improvesystem stabilityVSAvoidservice continuity
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system segments the host machine into multiple independent virtual machines, allowing selective migration of affected VMs while leaving others running. This segmentation enables partial service continuity even when memory failure occurs on the host machine.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary health assessment of candidate host machines before migration, and pre-establishes migration capabilities. When memory failure occurs, VMs can be quickly migrated to pre-validated healthy hosts, maintaining service continuity without complete system shutdown.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If virtual machines are migrated to avoid crash failure, then service continuity is maintained, but system complexity increases

Engineering Contradiction:
Improveservice continuityVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements automated health assessment, crash probability calculation, and migration decision-making without requiring manual intervention. The virtualization management system self-monitors memory health metrics and autonomously triggers migration when thresholds are exceeded, reducing operational complexity.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously monitors memory failure parameters and crash probability, using this feedback to dynamically adjust migration decisions. Health assessment results and service continuity metrics feed back into the migration management system to optimize future decisions, creating a self-regulating mechanism.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP3859528B1Method and apparatus for handling memory failure, electronic device and storage medium
Publication Date: 2026.04.22 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • EP3859528B1 patent drawingFigure 1~2
  • EP3859528B1 patent drawingFigure 3
  • EP3859528B1 patent drawingFigure 4

AI summary

A method and an apparatus for handling a memory failure is provided. The method includes: in response to detecting a failure occurring in memory of a host machine, acquiring (101) a failure parameter of the memory, determining (102) a crash probability of the host machine based on the failure parameter, and transferring (103) all virtual machines on the host machine to a target host machine when the crash probability is greater than or equal to a first predetermined threshold. A crash probability of the target host machine is less than a second predetermined threshold. The second predetermined threshold is less than the first predetermined threshold. Further, an electronic device and storage medium are provided.