Achieving method of high-performance elastic-capacity virtual machine disk

A technology of virtual machine disk and elastic capacity, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of inability to continue the later application, waste of system storage space, poor disk IO performance, etc., to simplify planning The effect of difficulty, good compatibility, and low overhead

Inactive Publication Date: 2013-09-25
DAWNING INFORMATION IND BEIJING
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Assume that the current installation system plus some preliminary requirements may only need 15GB of space, but after the increase in later applications, a larger capacity is required
If the created image file is too small, the subsequent application may not be able to continue. How can we expand the capacity at this time? If the image file created is too large, it will waste space
For example, the installation of the operating system and initial configuration requires 15GB of space, and 100GB of space will be required in the future. Considering future needs, we allocate a 100GB image file, but this will undoubtedly waste the storage space of the system
If there are many such image files, the space wasted by the system will be very considerable.
2) The second problem is that the IO performance of the image file as a virtual machine disk is very poor
Can only deal with general business needs

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
  • Achieving method of high-performance elastic-capacity virtual machine disk
  • Achieving method of high-performance elastic-capacity virtual machine disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0030] The problem solved by the invention is to realize the virtual machine disk with high performance and elastic capacity under the xen and kvm virtualization platforms. Achieved by:

[0031] (1) Use the sparse file mechanism to realize elastic capacity virtual machine disks:

[0032] A sparse file means that a lot of free space is left in the file for future insertion of data. If the free space is occupied by ASCII NULL characters, and the space is quite large, the file is called a sparse file and no corresponding disk blocks are allocated. When creating a virtual machine disk image file, the image file is defined as a sparse file. For example, when using the Linux dd tool to create a 50GB virtual machine image file (dd is a tool for Linux), the count is set to 0, and the seek value is set to It is a multiple of 5...

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 relates to an achieving method of a high-performance elastic-capacity virtual machine disk. The achieving method is characterized by being achieved according to a sparse file mechanism, a logical volume management mechanism and a virtual machine disk aligning principle. The achieving method comprises the steps of (1) adopting the sparse file mechanism to achieve the elastic-capacity virtual machine disk, (2) adopting the logical volume management (LVM) mechanism to achieve on-line capacity expansion of a disk space, (3) adopting the virtual machine disk aligning principle. By means of the achieving method, at least more than 50% of memory space can be greatly saved in a cloud computing environment. In addition, the input-output (IO) performance of the virtual machine disk reaches to more than 90% of the IO performance of a physical file system.

Description

technical field [0001] The invention relates to a method for realizing a high-performance flexible capacity virtual machine disk. Background technique [0002] Using image files as virtual machine disks is currently the most popular form of server virtualization, which is simple and easy to manage. Taking xen as an example, currently creating a virtual machine on the xen platform usually creates an image file through the Linux tool dd, and then adds the image file to the virtual machine configuration file. Then start the virtual machine to format the disk and install the operating system. [0003] There are several serious problems in the current technology. 1) The first problem is that the size of the image file is fixed, and the space required for future applications needs to be planned when it is created. Assume that the current installation system plus some preliminary requirements may only require 15GB of space, but after the increase in later applications, a larger c...

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): G06F3/06G06F17/30
Inventor 刘冠川秦东明杨亮曹振南王勇何牧君张新风陈飞刘超龚超明立波王慧吕永安
Owner DAWNING INFORMATION IND BEIJING
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