CN105549913B - The method of the image efficiency of management is improved under a kind of isomery mixing cloud environment - Google Patents
The method of the image efficiency of management is improved under a kind of isomery mixing cloud environment Download PDFInfo
- Publication number
- CN105549913B CN105549913B CN201510961349.6A CN201510961349A CN105549913B CN 105549913 B CN105549913 B CN 105549913B CN 201510961349 A CN201510961349 A CN 201510961349A CN 105549913 B CN105549913 B CN 105549913B
- Authority
- CN
- China
- Prior art keywords
- block
- prefetches
- module
- client program
- virtual machine
- 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
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
- G06F3/0607—Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Memory System Of A Hierarchy Structure (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of methods that the image efficiency of management is improved under isomery mixing cloud environment.This method contains and operates in the virtual machine manager of user terminal, prefetch CLIENT PROGRAM and operate in server end prefetches service routine.This method mode that mainly logical virtual machine image prefetches is realized, in user terminal virtual machine operational process, more disk blocks is being prefetched from the background to user terminal by prefetching CLIENT PROGRAM, so that disk access as much as possible is in local progress.Prefetching CLIENT PROGRAM mainly includes following three module: taking block module on demand, prefetches module, prefetches policy module.Once user institute using the corresponding bottom disk block of software by taking block and prefetching process total caching to locally on demand, then user can obtain identical performance, efficiency with the entirely local operation of software and be greatly improved.
Description
Technical field
The present invention relates to cloud computing and virtual machine image management domain, improves and reflect under specially a kind of isomery mixing cloud environment
As the method for the efficiency of management.
Background technique
With the development and application of public cloud and private clound, gradually maturation, the concept of mixed cloud of cloud computing technology are met the tendency of
And it gives birth to.Mixing cloud mode is generally to be made of two or more clouds (can be private or public cloud).Its Core Superiority
It is, by using virtualization technology, so that user does not need to pay huge Capital Expenditure in advance and can start operation industry
Business, and with the scale for developing change IT infrastructure that can be elastic of business, without worrying overcapacity
Or it is insufficient.When the calculating demand under the peak ambient in face of breaking out suddenly, required calculating correspondingly can be provided for user
Resource, without increasing additional infrastructure.
In cloud computing system image management be mainly used to provide for user registration image, delete image, check image details,
A series of management functions such as Image Properties are changed, in order to carry out unified pipe to the virtual machine image in cloud computing system environment
All virtual machine images, are configured to an image library by reason, are created in cloud computing system environment unified from image when virtual machine
Image is obtained in library.Therefore, virtual machine image is the platform of cloud computing application operation, and execution efficiency is to entire cloud computing system
Operation play the role of it is vital.
Summary of the invention
The present invention manages a kind of virtual machine image of efficient design for image under raising cloud environment and prefetches mechanism, this method packet
Contained operate in the virtual machine manager of user terminal, prefetch CLIENT PROGRAM and operate in server end prefetch service routine.
It prefetches CLIENT PROGRAM and operates in user terminal, be the key that realize to prefetch, it mainly includes following three module: taking block mould on demand
Block prefetches module, prefetches policy module.It prefetches service routine and receives and take block to request from prefetch CLIENT PROGRAM, from server
The disk block of read requests in the COW disk of storage is held, and be sent to user terminal prefetches CLIENT PROGRAM.Virtual machine manager
It COW Virtual Block Device and prefetches CLIENT PROGRAM and realizes communication by way of shared drive, they are in virtual machine operational process
Two pieces of shared section keys: the acess control information area and block buffer area can be respectively created.Virtual machine manager and prefetch CLIENT PROGRAM
The read-write mutual exclusion to shared section key, such as lock, semaphore are realized by certain synchronization mechanism.
Described takes the execution of block module to take block process on demand on demand, obtains virtual machine request from server end but not in local
The block of caching.
Described prefetches module when taking the block module free time on demand, prefetches module and executes under the cooperation for prefetching policy module
Prefetching process reads block from the COW disk that server end stores and is cached to user terminal.
Described prefetches policy module for realizing strategy and algorithm is specifically prefetched, and prefetches target, pre- fetch bit with determination
It sets and pre-fetch amount.
It is further to determine that prefetching target is exactly to determine the COW disk for needing to prefetch, and needs to utilize virtual machine manager
It obtains the disk access information of virtual machine in real time, and uses such information for identifying that the used software of user is corresponding in real time
COW disk.Prefetching target can be one or more COW disks, but in order to improve the specific aim prefetched, prefetch the number of target
Amount is unsuitable excessive.It has determined after prefetching target COW disk, it is also necessary to determine pre- where since prefetching in target COW disk
It takes.
The queue scheduling strategy for prefetching service routine use, Priority Service take in block request queue on demand and take block
Request.When only to take block request queue on demand be empty, just service prefetches in request queue and prefetches request, with reduction due to on-demand
Take block to influence caused by user terminal virtual machine performance.For every queue, service routine is prefetched according to prerequisite variable
(FIFO) strategy comes in service queue that block is taken to request.
The acess control information area is initialized by the COW Virtual Block Device driving of virtual machine manager layer in block device
When create, the COW disk access statistical information for recording virtual machine manager takes block such as COW disk access count value on demand
Number and history access information etc..Prefetch CLIENT PROGRAM prefetches policy module using the information of the acess control information area to determine
Prefetch target.
The block buffer area is used for cache prefetching CLIENT PROGRAM from clothes by prefetching CLIENT PROGRAM creation when program starts
The COW disk block that business device end obtains is to improve the disk access for taking block efficiency and virtual machine manager for prefetching CLIENT PROGRAM
Energy.Taking block module on demand and prefetching module can will all be saved in block buffer area from the block that server end obtains.
If the further virtual machine manager discovery block to be read not in newest COW disk, can attempt from
It is read in block buffer area;The block of block buffer area hit is more, is more conducive to the disk access performance for improving virtual machine.When block caches
When block in area is more than certain amount, prefetch CLIENT PROGRAM part disk block can be write back using some replacement policies it is corresponding
Shadow COW disk.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: benefit
With the mechanism, user can directly initiate virtual machine from the user terminal of uncached any virtual machine image, without waiting for virtual
Machine image is completely transmitted to user terminal from server end;Simultaneously this prefetch mechanism also and can guarantee virtual machine user terminal have compared with
Good runnability, improves operational efficiency.
Detailed description of the invention
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
Fig. 1 is system block diagram of the invention.
In figure: 1 is virtual machine manager, and 2 be shadow COW disk, and 3 be block buffer area, and 4 be the acess control information area, and 5 are
Local COW disk, 6 is prefetch CLIENT PROGRAM, and 7 is prefetch policy module, and 8 is take block module on demand, and 9 is prefetch module, and 10 are
Service routine is prefetched, 11 be local COW disk
Specific embodiment
As shown in Figure 1, the present invention is a kind of method for improving the image efficiency of management under isomery mixing cloud environment, comprising: empty
Quasi- machine manager 1 prefetches CLIENT PROGRAM 6 and prefetches service routine 10.Prefetching CLIENT PROGRAM includes three modules: taking block on demand
Module 8 prefetches module 9, prefetches policy module 7.Two pieces of shared section keys can be respectively created in virtual machine operational process: access system
Count the information area 4 and block buffer area 3.Local user manipulation shadow COW disk 2, user local COW disk 5 use cloud service.It prefetches
Service routine is connected with the local COW disk 11 of its server end.
Prefetching process is asynchronously carrying out from the background, is transparent to virtual machine manager.The priority ratio of prefetching process its
It takes block process low.It takes block to request on demand once virtual machine manager has, takes block process that will preferentially be executed on demand.Prefetching process
The module that prefetches by prefetching CLIENT PROGRAM is realized with service routine program is prefetched, and is mainly comprised the following steps:
Strategy specifically is prefetched using the information execution of the acess control information area 1. prefetching policy module, mesh is prefetched with determination
Mark (COW disk) prefetches position (starting block number) and pre-fetch amount;
2. prefetching module according to the implementing result for prefetching policy module, the service routine transmission that prefetches to server end takes block
Request;
3. prefetching after service routine receives request for server end, prefetches request queue tail for request insertion first
Portion.When the request is arrived in service, prefetches service routine and read block from corresponding COW disk and be sent to the pre- modulus of user terminal
Block module, then returns to continue with or wait and other block is taken to request;
4. the block write-in block buffer area that prefetches module and will receive of user terminal, then proceedes to next round and prefetches, i.e.,
Execute step 1-4.
It further prefetches module not and virtual machine manager is directly interactive, but the block write-in block prefetched is cached
Continue next round behind area to prefetch, does not need virtual machine manager waiting.Since the block of block buffer area hit is more, be more conducive to mention
The disk access performance of high virtual machine, therefore above-mentioned prefetching process is for improving block cache hit rate, and then reduces and take block on demand
Number and the disk access efficiency for improving virtual machine play an important role.
Above-described embodiment is only further described the purpose of the present invention, technical scheme and beneficial effects specific
A example, present invention is not limited to this.All any modifications made within the scope of disclosure of the invention, change equivalent replacement
Into etc., it is all included in the scope of protection of the present invention.
Claims (5)
1. improving the method for the image efficiency of management under a kind of isomery mixing cloud environment, it is characterised in that: this method is related to operating in
The virtual machine manager of user terminal prefetches CLIENT PROGRAM and operate in server end prefetches service routine;
It prefetches CLIENT PROGRAM and operates in user terminal, mainly include following three module: taking block module on demand, prefetch module, prefetch
Policy module;Described prefetches module when taking the block module free time on demand, executes and prefetched under the cooperation for prefetching policy module
Journey, the module that prefetches read block from the COW disk that server end stores and are cached to user terminal;
It is described prefetch service routine and receive take block to request from prefetch CLIENT PROGRAM, from the COW disk that server end stores
The disk block of read requests, and be sent to user terminal prefetches CLIENT PROGRAM;Described prefetches service routine using queue scheduling
Strategy, Priority Service, which is taken on demand in block request queue, takes block to request, and when only to take block request queue on demand be empty, just service is in advance
It takes in request queue and prefetches request.
2. improving the method for the image efficiency of management under isomery mixing cloud environment described in accordance with the claim 1, which is characterized in that institute
It states the COW Virtual Block Device in virtual machine manager and prefetches CLIENT PROGRAM and realize communication by way of shared drive, they
Two pieces of shared section keys: the acess control information area and block buffer area can be respectively created in virtual machine operational process;COW virtual block
Equipment creates the acess control information area, prefetches CLIENT PROGRAM creation block buffer area.
3. improving the method for the image efficiency of management under isomery mixing cloud environment described in accordance with the claim 1, it is characterised in that: institute
That states prefetches policy module for realizing strategy and algorithm is specifically prefetched, and prefetches target with determination, prefetches position and pre-fetch amount.
4. the method for the image efficiency of management is improved under isomery mixing cloud environment according to claim 2, it is characterised in that: institute
It is used by COW Virtual Block Device driving creation when block device initializes of virtual machine manager layer the acess control information area stated
In the COW disk access statistical information of record virtual machine manager, prefetch CLIENT PROGRAM prefetches policy module using access system
The information of the meter information area prefetches target to determine.
5. the method for the image efficiency of management is improved under isomery mixing cloud environment according to claim 2, it is characterised in that: institute
The block buffer area stated is obtained by prefetching CLIENT PROGRAM creation when program starts, for cache prefetching CLIENT PROGRAM from server end
COW disk block to improve the disk access performance for taking block efficiency and virtual machine manager for prefetching CLIENT PROGRAM, prefetch module
It will be all saved in block buffer area from the block that server end obtains.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510961349.6A CN105549913B (en) | 2015-12-22 | 2015-12-22 | The method of the image efficiency of management is improved under a kind of isomery mixing cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510961349.6A CN105549913B (en) | 2015-12-22 | 2015-12-22 | The method of the image efficiency of management is improved under a kind of isomery mixing cloud environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105549913A CN105549913A (en) | 2016-05-04 |
CN105549913B true CN105549913B (en) | 2019-02-12 |
Family
ID=55829116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510961349.6A Active CN105549913B (en) | 2015-12-22 | 2015-12-22 | The method of the image efficiency of management is improved under a kind of isomery mixing cloud environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105549913B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447723A (en) * | 2010-10-12 | 2012-05-09 | 运软网络科技(上海)有限公司 | Client-side virtualization framework |
CN102681899A (en) * | 2011-03-14 | 2012-09-19 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
CN103051710A (en) * | 2012-12-20 | 2013-04-17 | 中国科学院深圳先进技术研究院 | Virtual cloud platform management system and method |
CN103221921A (en) * | 2010-11-23 | 2013-07-24 | 国际商业机器公司 | Direct migration of software images with streaming technique |
CN104854562A (en) * | 2012-12-21 | 2015-08-19 | 瑞典爱立信有限公司 | Method and cloud management node for enabling virtual machine |
-
2015
- 2015-12-22 CN CN201510961349.6A patent/CN105549913B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447723A (en) * | 2010-10-12 | 2012-05-09 | 运软网络科技(上海)有限公司 | Client-side virtualization framework |
CN103221921A (en) * | 2010-11-23 | 2013-07-24 | 国际商业机器公司 | Direct migration of software images with streaming technique |
CN102681899A (en) * | 2011-03-14 | 2012-09-19 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
CN103051710A (en) * | 2012-12-20 | 2013-04-17 | 中国科学院深圳先进技术研究院 | Virtual cloud platform management system and method |
CN104854562A (en) * | 2012-12-21 | 2015-08-19 | 瑞典爱立信有限公司 | Method and cloud management node for enabling virtual machine |
Also Published As
Publication number | Publication date |
---|---|
CN105549913A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831375B2 (en) | Hierarchical pre-fetch pipelining in a hybrid memory server | |
US8694584B2 (en) | Speculative and coordinated data access in a hybrid memory server | |
CN103795781B (en) | A kind of distributed caching method based on file prediction | |
CN108351834A (en) | The low overhead hardware prediction device that performance reverses is reduced for transmitting optimization instruction for core to Nuclear Data | |
CN109213696A (en) | Method and apparatus for cache management | |
CN105138473B (en) | The system and method for managing cache memory | |
CN111124951A (en) | Method, apparatus and computer program product for managing data access | |
US11068397B2 (en) | Accelerator sharing | |
US20100185819A1 (en) | Intelligent cache injection | |
CN105549913B (en) | The method of the image efficiency of management is improved under a kind of isomery mixing cloud environment | |
CN111858665A (en) | Method, system, terminal and storage medium for improving soft copy reading performance | |
Lu et al. | Bass: Improving i/o performance for cloud block storage via byte-addressable storage stack | |
Islam | High Performance File System and I/O Middleware Design for Big Data on HPC Clusters |
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 |