Virtual machine storage space management method, system and physical host

A virtual storage and storage space technology, applied in transmission systems, electrical digital data processing, software simulation/interpretation/simulation, etc., can solve the problems of wasting disk bandwidth, large operation overhead, and time-consuming, so as to avoid read and write operations, Small system overhead and good versatility

Active Publication Date: 2011-03-16
HUAWEI TECH CO LTD
View PDF3 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In the process of realizing the present invention, the inventor found that: in the above method, the process of clearing the free blocks in the virtual disk to "0" by VM Tools requires writing to all free blocks; , it is necessary to perform read operations on all data blocks, that is, the existing method has relatively large operation overhead, and more disk read and write operations waste a lot of disk bandwidth and take a long time; moreover, in the existing method, the host computer recognizes " 0" blocks to indirectly determine the space occupancy of each data block in the virtual disk, so it is impossible to obtain the global free data block information of the virtual machine disk in real time; in addition, the application of this existing method is limited, and it is only suitable for dynamically allocated image formats. The pre-allocated image format cannot release free blocks

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
  • Virtual machine storage space management method, system and physical host
  • Virtual machine storage space management method, system and physical host
  • Virtual machine storage space management method, system and physical host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] An embodiment of the present invention provides a virtual machine storage space management method, which is applied to a physical host, and the physical host includes: a hardware layer, a virtual machine monitoring unit layer VMM running on the hardware layer, and running on the virtual machine monitoring unit layer VMM The virtual machine on, wherein, the storage balloon agent (SBA, Storage Balloon Agent) module is deployed in the virtual machine, and the storage balloon daemon process (SBD, Storage Balloon Daemon) module is deployed in the virtual machine monitoring unit layer VMM; The SBA in the virtual machine obtains the virtual storage free block information in a direct way, and passes the acquired virtual storage free block information to the SBD in the virtual machine monitoring unit layer VMM that cooperates with the SBA, and the SBD is marked and released in the virtual machine storage format The physical storage space corresponding to the virtual storage free ...

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 virtual machine storage space management method. In the method, virtual storage free block information is directly acquired by a storage balloon agent module which is deployed in a virtual machine, and the acquired virtual storage free block information is transmitted to a storage balloon daemon process module which is deployed in a virtual machine monitoring unit layer; and the storage balloon daemon process module partially or totally releases a physical storage space corresponding to the virtual storage free block information and labels virtual storage blocks corresponding to the released physical storage space to be unavailable. The invention also discloses a corresponding system and physical host. Due to the method, the service condition of the virtual storage space can be acquired in real time, the massive reading / writing operation of a storage system can be avoided, and the method is suitable for virtual storage systems in a dynamic allocation format and a pre-allocation format.

Description

technical field [0001] The invention relates to the technical field of computer virtualization, in particular to a virtual machine storage space management method, system and physical host. Background technique [0002] Computer virtualization technology is a decoupling method that separates the underlying computer hardware from the upper-level operating system and applications. It introduces a virtual machine monitor (VMM, Virtual Machine Monitor) layer to directly manage the underlying hardware resources, and creates The hardware-independent virtual machine (VM, VirtualMachine) is used by the upper-layer operating system and application programs, and the corresponding virtual machine architecture is as follows: figure 1 shown. Virtualization technology, as one of the underlying important supporting technologies of the current popular cloud computing (Cloud Computing) platform, can greatly improve the resource utilization efficiency of physical devices. Compared with the ...

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 Applications(China)
IPC IPC(8): G06F12/08
CPCG06F9/455G06F9/5016H04L67/1097G06F9/45558G06F2009/45579
Inventor 杨晓伟王志坤
Owner HUAWEI 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