A method, device and system for controlling a memory balloon

A balloon and memory technology, applied in the computer field, can solve the problems such as the inability to control the end time of the memory balloon operation of the guest virtual machine and the long time-consuming of the memory processing of the guest virtual machine.

Active Publication Date: 2020-01-10
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method, device, and system for controlling memory balloons, so as to solve the problem that the memory processing of the guest virtual machine takes too long due to the inability to control the end time of the memory balloon operation of the guest virtual machine

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device and system for controlling a memory balloon
  • A method, device and system for controlling a memory balloon
  • A method, device and system for controlling a memory balloon

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] First of all, some terms used in this application are explained to facilitate the understanding of those skilled in the art.

[0052] 1) Client virtual machine (Virtual Machine, VM), which is simulated by software and has complete hardware system functions, and is divided into one or more virtualized computer systems on a physical server.

[0053] 2), virtual machine manager (hypervisor), an intermediate software layer running between th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method, a device and a system for controlling a memory balloon, and is used for solving the problem of excessive time consuming of memory processing of a guest virtual machine because the operation finish time of the memory balloon in the guest virtual machine cannot be controlled. The method comprises the following steps: generating a timing setting strategy of the guest virtual machine by a physical host server, wherein the timing setting strategy is compression information of the memory balloon within a preset duration; when a balloon driver installed in the guest virtual machine receives the timing setting strategy sent by the physical host server, starting timing; based on the compression information of the memory balloon, carrying out corresponding memory balloon operations until any one of a first preset condition and a second preset condition is satisfied. Because the guest virtual machine carries out the corresponding memory balloon operations according to the timing setting strategy sent by the physical host server, the problem of excessive time consuming of the operations of the memory balloon in the guest virtual machine caused by business pressures can be solved in the operation process of the memory balloon.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method, device and system for controlling memory balloons. Background technique [0002] The memory balloon technology is a commonly used memory multiplexing technology in virtualization scenarios. The memory balloon technology refers to that the physical host (host) server actively reclaims the temporarily unused physical memory of the guest virtual machine (guest), and allocates it to the guest virtual machine that needs to reuse the memory. The recovery and allocation of memory are performed dynamically by the physical host server, and the application on the guest virtual machine has no perception. The total memory used by all guest virtual machines cannot exceed the total physical memory of the server. [0003] In the prior art, when using a memory balloon, the physical host server monitors the memory usage of the guest virtual machine, and sends a message to the balloon driver i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5077G06F2009/45583
Inventor 刘基肖丁罗浩
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products