Virtual Memory Swap File Handling in VM Migration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Virtual machine migration in computer virtualization often involves unnecessary data copying, leading to wastage of critical resources like time due to the lack of optimized memory management strategies.
Innovation Solution
The approach involves identifying a virtual memory swap file and treating it differently from other files by determining its current or historical utilization, thereby deciding whether to copy or delay its transfer during migration, ensuring that only utilized portions are copied, and retaining unutilized portions on the original resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all files associated with the virtual machine are copied during migration, then the virtual machine can be fully migrated to new resources, but unnecessary data copying consumes excessive time and critical resources
Solution Approach 1:
The patent extracts the virtual memory swap file from the set of all files to be migrated and applies a different migration strategy to it. By identifying and separating the swap file, the system can determine its utilization status and selectively migrate only necessary portions, thereby reducing overall migration time while maintaining migration completeness for other essential files.
Solution Approach 2:
The patent applies different migration quality standards to different file types. Specifically, it determines the utilization status of the virtual memory swap file and selectively copies only the utilized portions while leaving unutilized portions on the original resources. This local differentiation optimizes migration efficiency without compromising the functionality of the virtual machine.
2Quantity of substance
If the virtual memory swap file is copied during migration, then all data is transferred, but unnecessary copying of unutilized portions wastes critical resources
Solution Approach 1:
The patent applies partial action by determining the utilization status of the virtual memory swap file and copying only the necessary utilized portions while leaving unutilized portions untouched. This selective approach ensures sufficient data transfer for virtual machine operation while avoiding the energy waste of copying unnecessary data.
Solution Approach 2:
The patent effectively discards the unutilized portions of the virtual memory swap file during migration, keeping them on the original resources. This discarding action eliminates unnecessary resource consumption while the utilized portions are migrated to ensure virtual machine functionality is maintained at the destination.
3Use of energy by moving object
If memory management schemes are extensively used in virtual machines, then memory efficiency is improved, but the complexity of migration increases due to multiple file types requiring different handling
Solution Approach 1:
The patent segments the migration process by identifying and separately handling the virtual memory swap file from other files. It further segments the swap file into utilized and unutilized portions based on utilization determination, applying different migration actions to each segment. This segmentation reduces migration complexity by creating a structured, differentiated approach to file handling.
Data Source
AI summary
A virtualization computing platform may host a virtual machine. The virtual machine may be hosted by a first set of resources of the virtualization computing platform. A second set of resources for hosting the virtual machine may be identified. The second set of resources may comprise resources of the virtualization computing platform that are distinct from the first set of resources. At least a portion of a plurality of files associated with the virtual machine may be copied from the first set of resources to the second set of resources. A virtual memory swap file may be identified from among the plurality of files associated with the virtual machine. Based on identifying the virtual memory swap file as a virtual memory swap file, the virtual memory swap file may be treated differently from one or more other of the plurality of files associated with the virtual machine.


