Virtual Machine Memory Adjustment by Priority Level
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current memory management in virtual machines lacks the ability to differentiate between virtual machines with varying memory usage requirements, leading to delayed adjustments for critical applications and potential service disruptions during physical memory shortages.
Innovation Solution
A method and device that determine a priority level for each virtual machine based on memory adjustment urgency, service priority, and user priority, allowing for timely memory adjustments to ensure critical services run smoothly by allocating memory according to these priorities.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If memory management treats all virtual machines equally without differentiation, then implementation is simple and uniform, but critical applications cannot receive timely memory adjustments during physical memory shortages
Solution Approach 1:
The patent applies local quality by differentiating memory management strategies for different virtual machines based on their service priorities. Critical virtual machines receive preferential treatment in memory allocation and adjustment, while non-critical ones follow standard procedures. This is implemented through priority levels assigned to different virtual machines, enabling tailored memory management that ensures service continuity for critical applications without uniformly complicating the entire system.
Solution Approach 2:
The patent segments virtual machines into different priority groups (first priority, second priority, etc.) based on their service importance. This segmentation allows the memory management system to handle different groups differently during memory shortages, ensuring that critical services receive timely memory adjustments while maintaining a structured and manageable approach to complexity.
2Productivity
If memory adjustment is performed without priority differentiation, then processing is straightforward and fast, but key applications may experience service disruptions due to delayed memory allocation
Solution Approach 1:
The patent implements preliminary action by pre-assigning priority levels to virtual machines before memory shortages occur. When memory adjustment is needed, the system can immediately identify which virtual machines require priority attention without delay. This pre-establishment of priorities ensures that key applications receive timely memory allocation while maintaining efficient processing through automated priority-based decision-making.
Solution Approach 2:
The patent employs feedback mechanisms by continuously monitoring memory usage of virtual machines and comparing it against their priority levels. When memory thresholds are exceeded, the system provides feedback to the memory management module, which then adjusts memory allocation based on priority feedback. This closed-loop control ensures service stability for critical applications while maintaining overall system productivity.
3Reliability
If all virtual machines are monitored and adjusted simultaneously, then comprehensive memory management is achieved, but response time for critical applications is delayed due to processing overhead
Solution Approach 1:
The patent segments the monitoring and adjustment process by priority levels. Instead of processing all virtual machines simultaneously in a single queue, the system divides them into priority groups and processes them in order of importance. This segmentation enables comprehensive memory management across all virtual machines while ensuring that critical applications receive faster response times by being processed first in their respective priority segments.
Solution Approach 2:
The patent applies local quality by providing differentiated response times to different virtual machines based on their priority levels. Critical virtual machines receive immediate attention and faster memory adjustment, while non-critical ones are processed according to system capacity. This localized quality assurance ensures comprehensive management while minimizing time loss for priority services.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present invention relates to a method and a device for adjusting memory of a virtual machine. The method for adjusting memory of a virtual machine includes: checking memory usages of virtual machines according to a preset memory usage threshold to determine multiple virtual machines whose memory is to be adjusted; determining, according to parameters preselected by the multiple virtual machines whose memory is to be adjusted, priority levels of the virtual machines whose memory is to be adjusted; and adjusting, according to the priority levels of the virtual machines whose memory is to be adjusted, memory of the virtual machines whose memory is to be adjusted. According to embodiments of the present invention, memory of a virtual machine is adjusted according to a priority level of a memory adjustment requirement of the virtual machine, which ensures that memory of a virtual machine on which a key application or service is deployed is adjusted in time and prevents a process of a priority service from being affected due to delayed memory adjustment.