Method and device for creating timer for virtual machine on the basis of thin provisioning

A technology of simplified configuration and timer, applied in program control devices, instruments, software simulation/interpretation/simulation, etc., can solve the problems of large system CPU consumption and waste of system memory resources, saving memory resources and CPU resources, reducing Create the number and avoid the effect of high cpu utilization

Pending Publication Date: 2016-09-07
OPZOON TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] It can be foreseen that the processing method in the prior art is to create as many timers as there are virtual machines in batches. This method causes a waste of system memory resources. Timer, resulting in a sudden system cpu consumption in a short period of time is very large

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 creating timer for virtual machine on the basis of thin provisioning
  • Method and device for creating timer for virtual machine on the basis of thin provisioning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0019] Such as figure 1 As shown, this embodiment discloses a method for creating a timer for a virtual machine based on thin provisioning, including:

[0020] S1. Create a timer, wherein the timing interval of the timer is T, and the timer is set with a task of performing disk space detection on at least one virtual machine among a plurality of virtual machines create...

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 creating a timer for a virtual machine on the basis of thin provisioning, can save system memory resources and simultaneously can avoid the problem of large system CPU (Central Processing Unit) consumption burst in short time. The method comprises the following steps: S1) creating the timer, wherein the fixed time interval time of the timer is T, and the timer is provided with a task which carries out disk space detection on at least one virtual machine in a plurality of virtual machines created on batch in advance; S2) adding a detection task of the disk space of at least one virtual machine into the latest timer each time until the execution time of the latest timer is not smaller than a preset numerical value; and S3) judging whether the detection tasks of the disk spaces of a plurality of virtual machines finish being distributed in the created timer or not, and repeatedly executing S1 and S2 if the detection tasks of the disk spaces of the plurality of virtual machines do not finish being distributed until the detection tasks of the disk spaces of the virtual machines finish being distributed in the created timer.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a method and device for creating timers for virtual machines based on thin provisioning. Background technique [0002] Thin provisioning is usually one of the means of virtualization technology, and is often used in the disk management of virtual machines. For example, a virtual machine is allocated a 100G disk when it is created. But the operating system in the virtual machine still thinks that there is still a 100G disk), when the disk is almost full of 10G, the thin provisioning program will apply for disk space for the virtual machine (for example, apply for 20G), so that the disk space can be increased little by little , and finally allocate 100G space for the virtual machine. [0003] Since no complete disk space is allocated once when the virtual machine is created, and it is necessary to dynamically apply for disk space for the virtual machine when the virtual m...

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
CPCG06F9/45533
Inventor 李鹏
Owner OPZOON TECH
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