Method and device for establishing storage cache shared by virtual machines

A shared cache and shared storage technology, applied in program control devices, software simulation/interpretation/simulation, program control design, etc., to solve input and output problems and solve concurrent startup effects

Active Publication Date: 2014-06-18
HUAWEI TECH CO LTD
View PDF8 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem mainly solved by the present invention is to provide a method and device for establishing a virtual machine shared storage cache, which can only cache valid data during the startup of the virtual machine with a small memory space, and solve the problem of reading and writing data when the virtual machine starts concurrently. Input and output problems

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
  • Method and device for establishing storage cache shared by virtual machines
  • Method and device for establishing storage cache shared by virtual machines
  • Method and device for establishing storage cache shared by virtual machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0024] refer to figure 1 , figure 1 It is a flowchart of an embodiment of a method for establishing a virtual machine shared storage cache in the present invention, including:

[0025] Step S101: Obtain the data read and written from the virtual boot disk during the boot process of the virtual machine.

[0026] A virtual machine refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment.

[0027] When the virtual machine is started, the virtual machine reads and writes data from the virtual boot disk. These data are the real and valid data needed for the virtual machine to start, and these valid data are obtained to facilitate storage of these virtual machines. Read and write from the virtual boot disk when starting The data.

[0028] Step S102: Store ...

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 and a device for establishing a storage cache shared by virtual machine. The method comprises the steps of: obtaining data reading (writing) from a virtual boot disk when a virtual machine is starting, and storing the data into a shared cache device of the virtual machine, and thus other virtual machines can read the data from the shared cache device of the virtual when starting. By the adoption of the above manner, very little space is used for caching only effective data in the starting of the virtual machine, and thus the input and output problem when the virtual machines read and write the data concurrently.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a method and device for establishing a virtual machine shared storage cache. Background technique [0002] Regardless of whether it is a virtual machine deployed in full-clone mode or a virtual machine deployed in linked-clone mode, when a large number of virtual machines are started at the same time, frequent input and output (IO, Input Output) operations occur, which creates a negative impact on shared storage. The high input and output per second (IOPS, Input Output per second) pressure peak causes the virtual machine to start slowly. When configuring desktop cloud storage, configure it according to the highest peak requirement, resulting in waste of high IOPS storage configuration during normal hours. [0003] The existing technology adopts the flow control method, sets the start time of the virtual machine several hours before going to work, and gradually starts al...

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): G06F9/455
CPCG06F2009/45579G06F2009/45575G06F9/455G06F9/45558
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