CN105260231A - Method of reducing physical disk I/O reading and writing - Google Patents
Method of reducing physical disk I/O reading and writing Download PDFInfo
- Publication number
- CN105260231A CN105260231A CN201510745216.5A CN201510745216A CN105260231A CN 105260231 A CN105260231 A CN 105260231A CN 201510745216 A CN201510745216 A CN 201510745216A CN 105260231 A CN105260231 A CN 105260231A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- physical disk
- snapshot
- mirror image
- operating system
- 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.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the technical field of cloud computing, in particular to a method of reducing physical disk I/O reading and writing. The method comprises the steps of sending a virtual machine creating request; then detecting whether an operating system mirror image required by a virtual machine to be created exists or not at a physical node, and if the operating system image exists, creating a corresponding snap shot for the existing mirror image and copying the corresponding image from a mirror image server to the physical node; finally creating an virtual machine according to the snap shot. The method reduces the physical disk I/O reading and writing by the virtual machine, improves a storage space use ratio, and can be used for solving the problem of a physical disk I/O reading and writing choke point.
Description
Technical field
The present invention relates to field of cloud computer technology, refer to a kind of method reducing physical disk IO and read and write especially.
Background technology
Under cloud computing environment, because virtual machine is widely used, along with the lifting of physical machine performance, the virtual machine quantity that a physical machine carries gets more and more.Therefore, the IO of physical disk becomes one of bottleneck of carrying data volume, the method that the reduction physical disk IO taked in disk I/O at present reads and writes gradually, generally has as follows:
1, adopt high performance memory device, improve single physical node disk I/O performance.
2, virtual machine quantity on single physical node is limited.
3, the application had higher requirements for IO is evenly placed on different physical nodes, avoids the phenomenon occurring that IO fights for.
There is following drawback in said method:
1, cost is higher, the storage of same capacity, and high-performance memory device price is 3-5 times of low side memory device;
2, limit separate unit physical node virtual machine quantity, physical node computing resource waste can be caused.
3, uniform distribution height IO applies, and improves O&M cost.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of method reducing physical disk IO and read and write, solve the deficiency that classic method exists, for reducing virtual machine to the read-write of physical disk IO, improving storage space utilization factor, solving physical disk IO read-write bottleneck and a kind of feasible solution is provided.
The present invention solves the problem, and comprises the following steps:
Described method comprises the steps:
Step 1: send and create virtual machine request;
Step 2: detect at place physical node the virtual machine created and require whether operating system mirror image exists, if exist, jump to step 4, if do not exist, perform step 3;
Step 3: be mirrored to physical node from mirror image server copy is corresponding;
Step 4: create corresponding snapshot to there is mirror image;
Step 5: according to snapshot creation virtual machine.
Described transmission creates virtual machine request, refers to that user initiates from cloud Platform Management Interface.
Described operating system mirror image refers to the clone file of all data on operating system installation CD, and general image file suffix is " .ISO ".
Described refers to from mirror image server the server depositing various operating system mirror images specially.
Described snapshot is a complete usable copy of designated mirror, and this copy comprises the reflection of corresponding data at certain time point (time point that copy starts), and described snapshot is the invoking marks or the pointer that point to the mirror image be kept in memory device.
Described according to snapshot creation virtual machine, revise due to individual subscriber the data variation caused by the virtual machine later stage and be recorded to inside snapshot, do not affect the system image that snapshot points to, thus personal data are separated with system image.
Method of the present invention can reduce the read-write of virtual machine to physical disk IO, the public same system mirror image of virtual machine of same operation system, and when the concurrent startup of virtual machine, virtual machine reads same system mirror image, thus reduces the read-write to physical disk IO; Reduce mirrored storage space, the public same system mirror image of virtual machine of same operation system, thus save the storage space of the corresponding autonomous system mirror image of every platform virtual machine.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is process flow diagram of the present invention.
Embodiment
Embodiments of the present invention have multiple, and will be that example illustrates wherein a kind of implementation method based on KVM virtualization implementation here, as shown in Figure 1, specific implementation process be as follows for process flow diagram
1, the request of establishment virtual machine is sent;
2, detect at place physical node the virtual machine created and require whether operating system mirror image exists, if exist, order performs 4, if do not exist, jumps to step 3;
3, physical node is mirrored to from mirror image server copy is corresponding;
4, corresponding snapshot is created to there is mirror image;
Bottom order #qemu-imgsnapshot-c $ 1 $ 2
$ 1: snapshot title
$ 2: mirror path
5, again according to snapshot creation virtual machine
Mirror snapshot path is set inside libvirt.xml file:
Virtual machine #:virshcreatelibvirt is created by bottom order.
Claims (8)
1. reduce the method that physical disk IO reads and writes, it is characterized in that: described method comprises the steps:
Step 1: send and create virtual machine request;
Step 2: detect at place physical node the virtual machine created and require whether operating system mirror image exists, if exist, jump to step 4, if do not exist, perform step 3;
Step 3: be mirrored to physical node from mirror image server copy is corresponding;
Step 4: create corresponding snapshot to there is mirror image;
Step 5: according to snapshot creation virtual machine.
2. the method for reduction physical disk IO read-write according to claim 1, is characterized in that: described transmission creates virtual machine request, refers to that user initiates from cloud Platform Management Interface.
3. the method for reduction physical disk IO read-write according to claim 1, is characterized in that: described operating system mirror image refers to the clone file of all data on operating system installation CD, and general image file suffix is " .ISO ".
4. the method for reduction physical disk IO read-write according to claim 1, is characterized in that: described refers to from mirror image server the server depositing various operating system mirror images specially.
5. the method for reduction physical disk IO read-write according to claim 3, is characterized in that: described refers to from mirror image server the server depositing various operating system mirror images specially.
6. the method that the reduction physical disk IO according to any one of claim 1 to 5 reads and writes, it is characterized in that: described snapshot is a complete usable copy of designated mirror, this copy comprises the reflection of corresponding data at certain time point (time point that copy starts), and described snapshot is the invoking marks or the pointer that point to the mirror image be kept in memory device.
7. the method that the reduction physical disk IO according to any one of claim 1 to 5 reads and writes, it is characterized in that: described according to snapshot creation virtual machine, revising due to individual subscriber the data variation caused by the virtual machine later stage is recorded to inside snapshot, do not affect the system image that snapshot points to, thus personal data are separated with system image.
8. according to the method that the reduction physical disk IO described in claim 6 reads and writes, it is characterized in that: described according to snapshot creation virtual machine, revising due to individual subscriber the data variation caused by the virtual machine later stage is recorded to inside snapshot, do not affect the system image that snapshot points to, thus personal data are separated with system image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745216.5A CN105260231A (en) | 2015-11-03 | 2015-11-03 | Method of reducing physical disk I/O reading and writing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745216.5A CN105260231A (en) | 2015-11-03 | 2015-11-03 | Method of reducing physical disk I/O reading and writing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105260231A true CN105260231A (en) | 2016-01-20 |
Family
ID=55099934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510745216.5A Pending CN105260231A (en) | 2015-11-03 | 2015-11-03 | Method of reducing physical disk I/O reading and writing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105260231A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110275717A (en) * | 2019-05-17 | 2019-09-24 | 平安科技(深圳)有限公司 | Privately owned echo cloning method, apparatus, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331949A (en) * | 2011-10-12 | 2012-01-25 | 华为技术有限公司 | Methods for generating and restoring memory snapshot of virtual machine, device and system |
CN102402446A (en) * | 2011-11-22 | 2012-04-04 | 成都市华为赛门铁克科技有限公司 | Application software installation method and application software installation device |
CN102521083A (en) * | 2011-12-13 | 2012-06-27 | 广州杰赛科技股份有限公司 | Backup method and system of virtual machine in cloud computing system |
US20140279900A1 (en) * | 2013-03-15 | 2014-09-18 | Amazon Technologies, Inc. | Place snapshots |
CN104468734A (en) * | 2014-11-18 | 2015-03-25 | 国云科技股份有限公司 | Virtual cluster expanding method based on cloning |
US20150186044A1 (en) * | 2013-12-30 | 2015-07-02 | Symantec Corporation | Systems and methods for improving snapshot performance |
-
2015
- 2015-11-03 CN CN201510745216.5A patent/CN105260231A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331949A (en) * | 2011-10-12 | 2012-01-25 | 华为技术有限公司 | Methods for generating and restoring memory snapshot of virtual machine, device and system |
CN102402446A (en) * | 2011-11-22 | 2012-04-04 | 成都市华为赛门铁克科技有限公司 | Application software installation method and application software installation device |
CN102521083A (en) * | 2011-12-13 | 2012-06-27 | 广州杰赛科技股份有限公司 | Backup method and system of virtual machine in cloud computing system |
US20140279900A1 (en) * | 2013-03-15 | 2014-09-18 | Amazon Technologies, Inc. | Place snapshots |
US20150186044A1 (en) * | 2013-12-30 | 2015-07-02 | Symantec Corporation | Systems and methods for improving snapshot performance |
CN104468734A (en) * | 2014-11-18 | 2015-03-25 | 国云科技股份有限公司 | Virtual cluster expanding method based on cloning |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110275717A (en) * | 2019-05-17 | 2019-09-24 | 平安科技(深圳)有限公司 | Privately owned echo cloning method, apparatus, computer equipment and storage medium |
CN110275717B (en) * | 2019-05-17 | 2024-03-22 | 平安科技(深圳)有限公司 | Private image cloning method, private image cloning device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11681441B2 (en) | Input/output processing in a distributed storage node with RDMA | |
US9413683B2 (en) | Managing resources in a distributed system using dynamic clusters | |
US10140461B2 (en) | Reducing resource consumption associated with storage and operation of containers | |
US8856078B2 (en) | Dynamic time reversal of a tree of images of a virtual hard disk | |
KR101930117B1 (en) | Volatile memory representation of nonvolatile storage device set | |
CN101650660B (en) | Booting a computer system from central storage | |
JP5384576B2 (en) | Selective use of multiple disparate solid-state storage locations | |
US20090254594A1 (en) | Techniques to enhance database performance | |
US11263090B2 (en) | System and method for data packing into blobs for efficient storage | |
CN109804359A (en) | For the system and method by write back data to storage equipment | |
US20210132860A1 (en) | Management of multiple physical function non-volatile memory devices | |
CN103593226A (en) | Method for improving IO performance of disc of virtual machine | |
US8688946B2 (en) | Selecting an auxiliary storage medium for writing data of real storage pages | |
US8583890B2 (en) | Disposition instructions for extended access commands | |
KR20220125198A (en) | Data additional writing method, apparatus, electronic device, storage medium and computer programs | |
CN101763433A (en) | Data storage system and method | |
CN103049546B (en) | The method and apparatus of a kind of management, access system daily record | |
CN104808953A (en) | Device and method for controlling data storage and mobile terminal | |
JP2016515258A (en) | File aggregation for optimized file operation | |
CN104572638A (en) | Data reading and writing method and device | |
CN105260231A (en) | Method of reducing physical disk I/O reading and writing | |
US10846011B2 (en) | Moving outdated data from a multi-volume virtual disk to a backup storage device | |
US8977814B1 (en) | Information lifecycle management for binding content | |
CN106250562B (en) | Processing data information system | |
US11977785B2 (en) | Non-volatile memory device-assisted live migration of virtual machine data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160120 |