CN103870312B - Establish the method and device that virtual machine shares memory buffers - Google Patents
Establish the method and device that virtual machine shares memory buffers Download PDFInfo
- Publication number
- CN103870312B CN103870312B CN201210535072.7A CN201210535072A CN103870312B CN 103870312 B CN103870312 B CN 103870312B CN 201210535072 A CN201210535072 A CN 201210535072A CN 103870312 B CN103870312 B CN 103870312B
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- data
- read
- buffer memory
- virtual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45579—I/O management, e.g. providing access to device drivers or storage
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of method and device established virtual machine and share memory buffers, this method includes:Obtain in virtual machine start-up course from the virtual data for starting disk read-write;The data are stored to virtual machine shared buffer memory device, the data are read from the virtual machine shared buffer memory device when starting for other virtual machines.By the above-mentioned means, the present invention can only be buffered in effective data during virtual machine starts with seldom memory headroom, solve the problems, such as input and output when virtual machine concurrently starts read-write data.
Description
Technical field
The present invention relates to virtual machine technique field, more particularly to it is a kind of establish virtual machine share memory buffers method and
Device.
Background technology
The virtual machine either still disposed for the virtual machine of full clone mode deployment for link clone mode, largely
Virtual machine start at the same time in the case of, occur frequently input and output(IO, Input Output)Operation, this is deposited to shared
Storage forms very high input and output per second(IOPS, Input Output per second)Pressure peak, virtual machine is caused to open
Dynamic speed is slow.Configured when configuring desktop cloud storage according to the requirement of peak-peak, cause high IOPS storage configurations flat
The normal period, which is formed, to be wasted.
Prior art uses flow control method, and the startup time of virtual machine is set and is on duty former individual hours, in advance to institute
There is virtual machine progressively to start in a manner of flowing control, so as to avoid concentrating the impact concurrently started to storage service ability.
Prior art does not solve the problems, such as input and output when virtual machine concurrently starts read-write data really.
The content of the invention
The present invention solves the technical problem of provide it is a kind of establish virtual machine share memory buffers method and device,
Effective data during virtual machine starts can be only buffered in seldom memory headroom, solve the concurrent log-on data read-write of virtual machine
When input and output problem.
The first aspect of the present invention provides a kind of method established virtual machine and share memory buffers, including:Obtain virtual machine
From the virtual data for starting disk read-write in start-up course;The data are stored to virtual machine shared buffer memory device, for other
When virtual machine starts the data are read from the virtual machine shared buffer memory device.
In the first possible implementation of first aspect, start in the acquisition virtual machine start-up course from virtual
Before the step of data of disk read-write, including:The virtual machine sends read-write requests to the virtual machine shared buffer memory device;
The virtual machine receives the read-write requests response that the virtual machine shared buffer memory device is sent, and the read-write requests response, which carries, reads
Write request failure information.
With reference to the possible implementation of the first of first aspect or first aspect, second in first aspect is possible
In implementation, methods described also includes:Data de-duplication is carried out to the data of virtual machine shared buffer memory device storage
Operation.
With reference to the possible implementation of the first of first aspect or first aspect, the third in first aspect is possible
In implementation, the virtual machine start-up course include virtual machine start to the VME operating system start completion or
Start completion of the virtual machine start to the default application program of the virtual machine.
The second aspect of the present invention provides a kind of device of virtual machine shared buffer memory, and described device includes:Acquisition module and
Memory module;The acquisition module is used to obtain in virtual machine start-up course from the virtual data for starting disk read-write;It is described to deposit
Storage module is used to store the data to virtual machine shared buffer memory device, is total to when starting for other virtual machines from the virtual machine
Enjoy buffer storage and read the data.
In the first possible implementation of second aspect, described device also includes:Module for reading and writing;The read-write mould
Block is used to, when the virtual machine sends read-write requests to the virtual machine shared buffer memory device, receive the request, and to institute
State virtual machine and send the read-write requests response that the virtual machine shared buffer memory device is sent, the read-write requests response carries read-write
Ask failure information.
With reference to the possible implementation of the first of second aspect or second aspect, second in second aspect is possible
In implementation, described device also includes deduplication module, and the deduplication module is used to fill the virtual machine shared buffer memory
The data for putting storage carry out data de-duplication operations.
With reference to the possible implementation of the first of second aspect or second aspect, the third in second aspect is possible
In implementation, the virtual machine start-up course include virtual machine start to the VME operating system start completion or
Start completion of the virtual machine start to the default application program of the virtual machine.
The beneficial effects of the invention are as follows:Be different from the situation of prior art, the present invention obtain in virtual machine start-up course from
The virtual data for starting disk read-write;Effective data buffer storage will only be started to virtual machine to virtual machine shared buffer memory device, with
, in this way, can be with seldom internal memory from virtual machine shared buffer memory device for reading data when starting for other virtual machines
Space is only buffered in effective data during virtual machine starts, and solves the problems, such as the input and output that virtual machine concurrently starts.
Brief description of the drawings
Fig. 1 is that the present invention establishes the flow chart that virtual machine shares the embodiment of method one of memory buffers;
Fig. 2 is that the present invention establishes the flow chart that virtual machine shares another embodiment of method of memory buffers;
Fig. 3 is that the present invention establishes the implementation of the method for the shared memory buffers of virtual machine in actual applications;
Fig. 4 is that the present invention establishes another implementation of the method for the shared memory buffers of virtual machine in actual applications;
Fig. 5 is virtual machine creating, startup and shutdown process;
Fig. 6 is that the present invention establishes the realization that virtual machine shares the method deduplication operates in actual applications of memory buffers
Mode;
Fig. 7 is the structural representation of the embodiment of device one of virtual machine shared buffer memory of the present invention;
Fig. 8 is the structural representation of another embodiment of device of virtual machine shared buffer memory of the present invention.
Embodiment
The present invention is described in detail with embodiment below in conjunction with the accompanying drawings.
Refering to Fig. 1, Fig. 1 is that the present invention establishes the flow chart that virtual machine shares the embodiment of method one of memory buffers, bag
Include:
Step S101:Obtain in virtual machine start-up course from the virtual data for starting disk read-write.
Virtual machine refer to by software simulate have complete hardware system function, operate in a completely isolated environment
Complete computer.
When starting virtual machine, virtual machine starts disk read-write data from virtual, and these data are needed for virtual machine starts
The real effective data wanted, obtain these effective data, start magnetic from virtual when these virtual machines start in order to store
The data of disk read-write.
Step S102:The data are stored to virtual machine shared buffer memory device, from virtual machine when starting for other virtual machines
Shared buffer memory device reads the data.
After the virtual data for starting disk read-write, void is being stored that data in obtaining virtual machine start-up course
In plan machine shared buffer memory device, the data are read from virtual machine shared buffer memory device when starting for other virtual machines, are so divided
The most virtual input and output pressure for starting disk is carried on a shoulder pole.
It should be noted that virtual machine start-up course arrives VME operating system including virtual machine start in present embodiment
The start completion of the default application program of virtual machine is arrived in start completion or virtual machine start.For example, it may be Windows is operated
The start-up course of system, or the start-up course of the application program such as Office, Photoshop.Virtual machine in the embodiment of the present invention
Start a temporary virtual machine start-up course before starting on a large scale for a virtual machine group of planes, obtained according to the startup of temporary virtual machine
The data of read-write necessary to taking the extensive start-up course of virtual machine, and these are read and write into data Cun Chudao virtual machine shared buffer memories
Device, from the virtual machine shared buffer memory device for reading data when starting for other virtual machines.
The present invention is obtained in virtual machine start-up course from the virtual data for starting disk read-write;Only virtual machine, which will be started, has
The data buffer storage of effect is read to virtual machine shared buffer memory device when starting for other virtual machines from virtual machine shared buffer memory device
Data, in this way, effective data during virtual machine starts can be only buffered in seldom memory headroom, solved virtual
Input and output problem when machine concurrently starts read-write data.
Refering to Fig. 2, Fig. 2 is that the present invention establishes the flow chart that virtual machine shares another embodiment of method of memory buffers,
Including:
Step S201:Virtual machine sends read-write requests to virtual machine shared buffer memory device.
When starting virtual machine, virtual machine sends read-write requests to virtual machine shared buffer memory device.
Step S202:Virtual machine receives the read-write requests response that virtual machine shared buffer memory device is sent, read-write requests response
Carry read-write requests failure information.
When not having the data of virtual machine read-write requests in virtual machine shared buffer memory device, read-write requests are sent to virtual machine
Response, virtual machine and then the read-write requests response for receiving the transmission of virtual machine shared buffer memory device, read-write requests response, which carries, reads
Write request failure information.
Step S203:Obtain in virtual machine start-up course from the virtual data for starting disk read-write.
Step S204:The data are stored to virtual machine shared buffer memory device, from described when starting for other virtual machines
Virtual machine shared buffer memory device reads the data.
In actual applications, step S201, step S202, step S203 and step S204 implementation process refer to figure
3 and Fig. 4, Fig. 3 be that the present invention establishes the method implementation in actual applications that virtual machine shares memory buffers.This realization
Mode be during virtual machine start and os starting to the process of data read request, including:
(b1)Read request:Virtual machine VM0 is read request to up to virtual machine shared buffer memory to os starting virtual disk
The module for reading and writing of device(That is module B).
(b2)Cache(That is the memory module of virtual machine shared buffer memory device, C modules)Inquiry:B modules obtain to C modules
The data of current request.
(b3.2)Cache is miss:There is no the data of B module current requests in C modules, C modules return empty to B modules
Data and caching miss state.
(b4)Read storage device:B modules are from storage device(I.e. operating system virtually starts disk)Read current request
Data.
(b5)Storage device is read to return:The data that storage device returns to current request give B modules.
(b6.2)Virtual read request returns:The data read from storage device are returned to virtual machine by B modules.
(b7)Module B is by the data buffer storage read from storage device to C modules.This caching only occurs in virtually
In machine start-up course.
(b3.1)Cache is hit:The data of B module current requests are preserved in C modules, C modules are returned to B modules and read
The data and caching hit condition got.
(b6.1)Virtual read request returns:The data that C modules return are returned to virtual machine by B modules.
Fig. 4 is that the present invention establishes another implementation of the method for the shared memory buffers of virtual machine in actual applications.This
Be achieved in that virtual machine start and os starting during data write request process, including:
(c1)Write request:The virtual machine VM0 write requests for starting disk virtual to operating system reach virtual machine shared buffer memory
The module for reading and writing of device(That is module B).
(c2)Write storage device:Module B is to storage device(I.e. operating system virtually starts disk)Send write request.
(c3)Write storage device return:Storage device returns to write request performance and gives module B.
(c4)Renewal caching:If c3 returns to write storage device success, by the data buffer storage of this write request to C modules
(That is the memory module of virtual machine shared buffer memory device), this caching only occurred in virtual machine start-up course.
(c5)Virtual machine write request returns:The result for writing storage device return is returned to virtual machine by module B.
Referring to Fig. 5, Fig. 5 is virtual machine VM0 establishments, startup and shutdown process.The process includes:
(a1)In Hypervisor virtual machine VM0 is created from os starting disk with non-link clonal fashion.
(a2)Start to start virtual machine VM0, the time that record starts to start is T1.
(a3)VM0 enters start and os starting process.
(a4)VM0 completes start and os starting process, and it is T2 that record, which is completed at the time of OS starts,.
(a5)VM0 is logged in, VM0 starts to log in, and it is T3 that record, which is logged at the time of OS is completed,.
In Figure 5, at the time of the identification at T1 moment can be that management software assigns virtual machine start.
With the virtual machine instance realized based on Xen systems, the T2 moment can be identified by following methods:In virtual machine operations system
An Agent program is realized and disposed in advance in system, the opening and closing process of the Agent sequential monitoring system process.When this
When Agent detects that some process starts to start, a mark is write to Xenstore.In Hypervisor or
Hypervisor Cache optimization modules in an operating system(That is the memory module of virtual machine shared buffer memory device)By
Corresponding mark is detected in Xenstore to determine T2 the and T3 moment.By taking Windows operating system as an example, detect
" winlogon.exe " can makes T2;Detect that " explorer.exe " can makes T3.
By caching T1 to T2(Or T3)Between data, effectively to reduce needs the data volume that caches.
Step S205:Data de-duplication operations are carried out to the data of virtual machine shared buffer memory device storage.
Data de-duplication technology is a kind of main flow and very popular memory technology at present, can be had to memory capacity
Effect optimization.It only retains a copy of it, so as to eliminate redundant data by deleting the data repeated in data set.This technology
The demand to amount of physical memory can be largely reduced, so as to meet growing data storage requirement.The technology
Many actual interests can be brought, such as:Can effective control data sharp increase;Increase effective memory space, improve
Storage efficiency;Save storage totle drilling cost and management cost;Save the network bandwidth of data transfer;Save space, supply of electric power, cold
The O&M cost etc. such as but.
In actual applications, step S205 implementation process refers to Fig. 6, and Fig. 6 is that the present invention establishes that virtual machine is shared to be deposited
Store up an implementation of the method deduplication operates in actual applications of caching.Originally it is achieved in that slow between different virtual machine
The process of deposit data deduplication operates, specifically illustrate so that virtual machine VM1 data are saved in VM1_cacheMap process as an example,
The process includes:
(d1)Inquiry hints obliquely at list item either with or without { start sector, length } in VM1_CacheMap, if do not had
Have, newly-built list item simultaneously fills { start sector, length, -1 }, and is set to the VM1_cacheMap list items to be operated;Such as
Fruit, which inquires, hints obliquely at list item, and this is hinted obliquely at into the VM1_cacheMap list items that list item is set to be operated.
(d2)Data cached hash values are treated in calculating.
(d3)Hash values are carried out in shared buffer memory tables of data to search, and will wait to cache if the data item for finding hash values
Data are contrasted by turn with the data in data item, if just the same, update the VM1_cacheMap currently to be operated
Ref count in data item are added 1 by the Data Pointer of list item to point to the data item.
(d4)If not finding the item of duplicate contents in shared buffer memory tables of data, newdata list item, phase is filled
The DataPointer of content and the renewal VM1_cacheMap list items currently to be operated is answered to point to the newdata item.
It should be noted that the start-up course of virtual machine arrives virtual machine operations system including virtual machine start in present embodiment
The start completion of the default application program of virtual machine is arrived in start completion of uniting or virtual machine start.For example, it may be Windows is grasped
Make the startup of system, or the startup of the application program such as Office, Photoshop.Virtual machine, which starts, in the embodiment of the present invention is
A temporary virtual machine start-up course before the extensive startup of a virtual machine group of planes, is obtained virtual according to the startup of temporary virtual machine
The data of read-write necessary to the extensive start-up course of machine, and these are read and write into data Cun Chudao virtual machine shared buffer memory devices,
From the virtual machine shared buffer memory device for reading data when starting for other virtual machines.
The present invention is obtained in virtual machine start-up course from the virtual data for starting disk read-write;Only virtual machine, which will be started, has
The data buffer storage of effect is read to virtual machine shared buffer memory device when starting for other virtual machines from virtual machine shared buffer memory device
Data, in this way, effective data during virtual machine starts can be only buffered in seldom memory headroom, solved virtual
The input and output problem that machine concurrently starts.In addition, internal memory can be saved by carrying out deduplication operates using data de-duplication technology.
Refering to Fig. 7, Fig. 7 is the structural representation of the embodiment of virtual machine shared buffer memory device one of the present invention, the device bag
Include:Acquisition module 101 and memory module 102.
Alternatively, Fig. 7 device can perform the step in Fig. 1 to Fig. 2.
Acquisition module 101 is used to obtain in virtual machine start-up course from the virtual data for starting disk read-write.
When starting virtual machine, virtual machine starts disk read-write data from virtual, and these data are needed for virtual machine starts
The real effective data wanted, obtain these effective data, start magnetic from virtual when these virtual machines start in order to store
The data of disk read-write.
Memory module 102 is used to store the data to virtual machine shared buffer memory device, when starting for other virtual machines from
The virtual machine shared buffer memory device reads the data.
After the virtual data for starting disk read-write, void is being stored that data in obtaining virtual machine start-up course
In plan machine shared buffer memory device, the data are read from virtual machine shared buffer memory device when starting for other virtual machines, are so divided
The most virtual input and output pressure for starting disk is carried on a shoulder pole.
It should be noted that virtual machine start-up course arrives VME operating system including virtual machine start in present embodiment
The start completion of the default application program of virtual machine is arrived in start completion or virtual machine start.For example, it may be Windows is operated
The startup of system, or the startup of the application program such as Office, Photoshop.Virtual machine starts as void in the embodiment of the present invention
A temporary virtual machine start-up course before the extensive startup of a plan machine group of planes, virtual machine is obtained according to the startup of temporary virtual machine
The data of read-write necessary to extensive start-up course, and these are read and write into data Cun Chudao virtual machine shared buffer memory devices, with
From the virtual machine shared buffer memory device for reading data when starting for other virtual machines.
The present invention is obtained in virtual machine start-up course from the virtual data for starting disk read-write;Only virtual machine, which will be started, has
The data buffer storage of effect is read to virtual machine shared buffer memory device when starting for other virtual machines from virtual machine shared buffer memory device
Data, in this way, effective data during virtual machine starts can be only buffered in seldom memory headroom, solved virtual
Machine concurrently starts input and output problem during read-write data, and is not limited to the deployment mode of virtual machine.
Refering to Fig. 8, Fig. 8 is the structural representation of another embodiment of virtual machine shared buffer memory device of the present invention, the device
Including:Acquisition module 201, memory module 202, module for reading and writing 203 and deduplication module 204.
Alternatively, Fig. 8 device can perform the step in Fig. 2.
Acquisition module 201 is used to obtain in virtual machine start-up course from the virtual data for starting disk read-write.
Memory module 202 is used to store the data to virtual machine shared buffer memory device, when starting for other virtual machines from
The virtual machine shared buffer memory device reads the data.
Module for reading and writing 203 is used to, when virtual machine sends read-write requests to virtual machine shared buffer memory device, receive the request,
And the read-write requests that the transmission of virtual machine shared buffer memory device is sent to virtual machine respond, read-write requests response carries read-write requests
Failure information.
Deduplication module 204 is used to carry out data de-duplication operations to the data of virtual machine shared buffer memory device storage.
Wherein, virtual machine start-up course includes virtual machine start to VME operating system start completion or virtual machine start
To the start completion of the default application program of virtual machine.It is that a virtual machine group of planes is extensive that virtual machine, which starts, in the embodiment of the present invention
A temporary virtual machine start-up course before startup, the extensive start-up course of virtual machine is obtained according to the startup of temporary virtual machine
The data of necessary read-write, and these are read and write into data Cun Chudao virtual machine shared buffer memory devices, so that other virtual machines open
From the virtual machine shared buffer memory device for reading data when dynamic.
The present invention is obtained in virtual machine start-up course from the virtual data for starting disk read-write;Only virtual machine, which will be started, has
The data buffer storage of effect is read to virtual machine shared buffer memory device when starting for other virtual machines from virtual machine shared buffer memory device
Data, in this way, effective data during virtual machine starts can be only buffered in seldom memory headroom, solved virtual
Machine concurrently starts input and output problem during read-write data.Can in addition, carrying out deduplication operates using data de-duplication technology
To save internal memory.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can
To realize by another way.For example, device embodiments described above are only schematical, for example, the mould
The division of block or unit, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple
Unit or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another
Point, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device or
The INDIRECT COUPLING of unit or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize present embodiment scheme according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)It is each to perform the present invention
The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, it is included within the scope of the present invention.
Claims (6)
- A kind of 1. method established virtual machine and share memory buffers, it is characterised in that including:According to the startup of temporary virtual machine, obtain in virtual machine start-up course from virtual startup disk read-write, described virtual machine Real effective data required for starting, the virtual machine start described in one before starting on a large scale for a virtual machine group of planes Temporary virtual machine start-up course;The data are stored to virtual machine shared buffer memory device, are shared when concurrently starting for other virtual machines from the virtual machine Buffer storage reads the data;Methods described also includes:Data de-duplication operations are carried out to the data of virtual machine shared buffer memory device storage.
- 2. according to the method for claim 1, it is characterised in that start magnetic from virtual in the acquisition virtual machine start-up course Before the step of data of disk read-write, including:The virtual machine sends read-write requests to the virtual machine shared buffer memory device;The virtual machine receives the read-write requests response that the virtual machine shared buffer memory device is sent, and the read-write requests response is taken Band read-write requests failure information.
- 3. method according to claim 1 or 2, it is characterised in that the virtual machine start-up course includes the virtual machine Start shooting to the VME operating system start completion or virtual machine start and arrive the default application program of the virtual machine Start completion.
- 4. a kind of virtual machine shared buffer memory device, it is characterised in that described device includes:Acquisition module and memory module;The acquisition module is used for the startup according to temporary virtual machine, obtains in virtual machine start-up course and is read from the virtual disk that starts Virtual machine write, described starts required real effective data, and the virtual machine starts to be opened on a large scale for a virtual machine group of planes A temporary virtual machine start-up course before dynamic;The memory module is used to store the data to virtual machine shared buffer memory device, when concurrently starting for other virtual machines The data are read from the virtual machine shared buffer memory device;Described device also includes deduplication module, and the deduplication module is used for virtual machine shared buffer memory device storage Data carry out data de-duplication operations.
- 5. device according to claim 4, it is characterised in that described device also includes:Module for reading and writing;The module for reading and writing is used to, when the virtual machine sends read-write requests to the virtual machine shared buffer memory device, receive institute Request is stated, and the read-write requests response of the virtual machine shared buffer memory device transmission is sent to the virtual machine, the read-write please Response is asked to carry read-write requests failure information.
- 6. the device according to claim 4 or 5, it is characterised in that the virtual machine start-up course includes the virtual machine Start shooting to the VME operating system start completion or virtual machine start and arrive the default application program of the virtual machine Start completion.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210535072.7A CN103870312B (en) | 2012-12-12 | 2012-12-12 | Establish the method and device that virtual machine shares memory buffers |
PCT/CN2013/079647 WO2014089967A1 (en) | 2012-12-12 | 2013-07-19 | Method and device for establishing virtual machine shared storage cache |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210535072.7A CN103870312B (en) | 2012-12-12 | 2012-12-12 | Establish the method and device that virtual machine shares memory buffers |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870312A CN103870312A (en) | 2014-06-18 |
CN103870312B true CN103870312B (en) | 2018-01-23 |
Family
ID=50908879
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210535072.7A Active CN103870312B (en) | 2012-12-12 | 2012-12-12 | Establish the method and device that virtual machine shares memory buffers |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103870312B (en) |
WO (1) | WO2014089967A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9454497B2 (en) * | 2014-08-15 | 2016-09-27 | Intel Corporation | Technologies for secure inter-virtual-machine shared memory communication |
CN105786591B (en) * | 2016-02-26 | 2019-05-07 | 新华三技术有限公司 | A kind of virtual machine starting method and device |
CN107463426B (en) * | 2016-06-06 | 2020-11-27 | 阿里巴巴集团控股有限公司 | Method and device for cloning virtual machine under KVM virtualization |
CN106201650B (en) * | 2016-06-29 | 2020-08-25 | 联想(北京)有限公司 | Virtual machine control method and system |
CN106406981A (en) * | 2016-09-18 | 2017-02-15 | 深圳市深信服电子科技有限公司 | Disk data reading/writing method and virtual machine monitor |
CN108475201B (en) * | 2016-11-24 | 2021-02-26 | 华为技术有限公司 | Data acquisition method in virtual machine starting process and cloud computing system |
CN106775942B (en) * | 2016-12-09 | 2020-06-16 | 中国科学院软件研究所 | Cloud application-oriented solid-state disk cache management system and method |
CN108255577A (en) * | 2017-12-20 | 2018-07-06 | 深圳市杉岩数据技术有限公司 | The acceleration method and device that a kind of virtual machine starts |
CN108345477B (en) | 2018-02-28 | 2021-10-26 | 郑州云海信息技术有限公司 | Design method and device for sharing conf partition file by double images |
CN108958886B (en) * | 2018-07-02 | 2022-03-04 | 哈尔滨工业大学 | Virtual machine rapid deployment system and method based on network flow |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101276284A (en) * | 2007-03-27 | 2008-10-01 | 英特尔公司 | System and method for increasing platform network boot efficiency |
EP2017730A1 (en) * | 2007-07-02 | 2009-01-21 | Sun Microsystems Inc. | System and method for storing programmatic modules |
CN102591702A (en) * | 2011-12-31 | 2012-07-18 | 华为技术有限公司 | Virtualization processing method, related device and computer system |
US8312471B2 (en) * | 2010-04-26 | 2012-11-13 | Vmware, Inc. | File system independent content aware cache |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7721080B2 (en) * | 2006-06-30 | 2010-05-18 | Intel Corporation | Management of option ROM |
US8949585B2 (en) * | 2007-10-09 | 2015-02-03 | Vmware, Inc. | In-place conversion of virtual machine state |
US10496670B1 (en) * | 2009-01-21 | 2019-12-03 | Vmware, Inc. | Computer storage deduplication |
CN101697134A (en) * | 2009-10-27 | 2010-04-21 | 北京大学 | Method for supporting quick start of similar virtual machine |
CN102629941B (en) * | 2012-03-20 | 2014-12-31 | 武汉邮电科学研究院 | Caching method of a virtual machine mirror image in cloud computing system |
-
2012
- 2012-12-12 CN CN201210535072.7A patent/CN103870312B/en active Active
-
2013
- 2013-07-19 WO PCT/CN2013/079647 patent/WO2014089967A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101276284A (en) * | 2007-03-27 | 2008-10-01 | 英特尔公司 | System and method for increasing platform network boot efficiency |
EP2017730A1 (en) * | 2007-07-02 | 2009-01-21 | Sun Microsystems Inc. | System and method for storing programmatic modules |
US8312471B2 (en) * | 2010-04-26 | 2012-11-13 | Vmware, Inc. | File system independent content aware cache |
CN102591702A (en) * | 2011-12-31 | 2012-07-18 | 华为技术有限公司 | Virtualization processing method, related device and computer system |
Also Published As
Publication number | Publication date |
---|---|
CN103870312A (en) | 2014-06-18 |
WO2014089967A1 (en) | 2014-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870312B (en) | Establish the method and device that virtual machine shares memory buffers | |
CN105960639B (en) | Prioritization data reconstruct in distributed memory system | |
US20150127691A1 (en) | Efficient implementations for mapreduce systems | |
CN105144121B (en) | Cache content addressable data block is for Storage Virtualization | |
US9141529B2 (en) | Methods and apparatus for providing acceleration of virtual machines in virtual environments | |
CN102629941B (en) | Caching method of a virtual machine mirror image in cloud computing system | |
CN103810020B (en) | Virtual machine elastic telescopic method and device | |
CN102521063B (en) | Shared storage method suitable for migration and fault tolerance of virtual machine | |
CN102307206B (en) | Caching system and caching method for rapidly accessing virtual machine images based on cloud storage | |
CN107046563A (en) | A kind of implementation method, system and the cloud platform of distribution type high efficient cloud disk | |
CN102841759B (en) | A kind of storage system for super large scale dummy machine cluster | |
US10877787B2 (en) | Isolation of virtual machine I/O in multi-disk hosts | |
CN102255962A (en) | Distributive storage method, device and system | |
CN111722786A (en) | Storage system based on NVMe equipment | |
CN103605630B (en) | Virtual server system and data reading-writing method thereof | |
CN103329111A (en) | Data processing method, device and system based on block storage | |
Han et al. | Cashing in on the Cache in the Cloud | |
CN106598692A (en) | Method for creating mirror image file in logical volume and starting virtual machine, and server | |
CN102868727A (en) | Method for realizing high availability of logical volume | |
CN104272242A (en) | Creating encrypted storage volumes | |
CN105589664A (en) | Virtual storage high-speed transmission method | |
CN106325974A (en) | Virtualization IO performance optimization method and system | |
WO2016029524A1 (en) | Network storage device for use in flash memory and processing method therefor | |
CN108234551A (en) | A kind of data processing method and device | |
CN103500147A (en) | Embedded and layered storage method of PB-class cluster storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |