CN111198749A - Method for improving scheduling efficiency of creating virtual machine physical node - Google Patents
Method for improving scheduling efficiency of creating virtual machine physical node Download PDFInfo
- Publication number
- CN111198749A CN111198749A CN202010010339.5A CN202010010339A CN111198749A CN 111198749 A CN111198749 A CN 111198749A CN 202010010339 A CN202010010339 A CN 202010010339A CN 111198749 A CN111198749 A CN 111198749A
- Authority
- CN
- China
- Prior art keywords
- physical node
- virtual machine
- physical
- weight
- node
- 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
Images
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/45562—Creating, deleting, cloning 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/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method for improving the scheduling efficiency of creating a physical node of a virtual machine, which comprises the following steps: s1, sorting physical nodes according to weight; s2, selecting a physical node with the highest weight, and judging whether the physical node meets the requirement; s3, if yes, returning; otherwise, the next physical node is selected according to the sorting in the step S1 until one node can meet the requirement, and then the process returns. The method for improving the scheduling efficiency of the physical nodes of the created virtual machine improves the creating efficiency of the Openstack virtual machine and reduces the system response time of the virtual machine creation.
Description
Technical Field
The invention belongs to the technical field of virtual machines, and particularly relates to a method for improving the scheduling efficiency of physical nodes of a created virtual machine.
Background
At present, Openstack creates a scheduling algorithm of a virtual machine for a physical node. Firstly, screening the physical nodes on the level of the residual resources according to a filter; then, calculating the weight of each physical node passing the screening, and sequencing according to the weight; and finally, selecting the physical node with the maximum weight to create the virtual machine. The method fixes the situation that the physical node is traversed twice, and is not efficient.
Disclosure of Invention
In view of the above, the present invention provides a method for improving scheduling efficiency of creating a virtual machine physical node, aiming to overcome the above-mentioned defects in the prior art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for improving the scheduling efficiency of creating a virtual machine physical node comprises the following steps:
s1, sorting physical nodes according to weight;
s2, selecting a physical node with the highest weight, and judging whether the physical node meets the requirement;
s3, if yes, returning; otherwise, the next physical node is selected according to the sorting in the step S1 until one node can meet the requirement, and then the process returns.
Further, in the step S1, a weight of each physical node needs to be calculated, and the physical nodes are sorted according to the weight.
Further, if the physical node selected in the step S2 and the step S3 does not satisfy the requirement, the weight of the physical node is modified to 0.
Compared with the prior art, the invention has the following advantages:
the physical node with higher weight has better resource residual condition and higher probability of filtering through the filter. In most scenes, the first physical node can pass through filtering, so that secondary filtering is avoided, the scheduling efficiency of the physical node can be improved, and the creation efficiency of the virtual machine is improved; the operation and maintenance can also design different weight calculation formulas according to the actual physical nodes and the filter characteristics, and further improve the probability that the high-weight physical nodes are filtered by the filter.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the invention without limitation. In the drawings:
fig. 1 is a schematic diagram illustrating a method for improving scheduling efficiency of creating a virtual machine physical node according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a scheduling algorithm of a virtual machine in the prior art according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in the orientation or positional relationship indicated in the drawings, which are merely for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be construed as limiting the invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the invention, the meaning of "a plurality" is two or more unless otherwise specified.
In the description of the invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted", "connected" and "connected" are to be construed broadly, e.g. as being fixed or detachable or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the creation of the present invention can be understood by those of ordinary skill in the art through specific situations.
The invention will be described in detail with reference to the following embodiments with reference to the attached drawings.
As shown in fig. 1, a method for improving scheduling efficiency of creating a physical node of a virtual machine includes the following steps:
s1, sorting physical nodes according to weight;
s2, selecting a physical node with the highest weight, and judging whether the physical node meets the requirement;
s3, if yes, returning; otherwise, the next physical node is selected according to the sorting in the step S1 until one node can meet the requirement, and then the process returns.
In step S1, the weight of each physical node needs to be calculated, and the physical nodes are sorted according to the weight.
And if the physical node selected in the step S2 and the step S3 does not meet the requirement, modifying the weight of the physical node to 0.
The schematic diagram of the virtual machine scheduling algorithm adopted by Openstack at present is shown in fig. 2, when a physical node passes through Filters, one traversal is performed, after Host1 and Host4 are filtered out, the Weighting process performs another traversal on the remaining physical node, and therefore the two traversals in the whole process are essential.
The weight calculation and the sequencing of the physical nodes are placed to the first step of the scheduling algorithm by adjusting the scheduling algorithm of the physical nodes in the virtual machine creating process, and the screening process of the physical nodes is placed to the second step,
generally speaking, the physical nodes with higher weights have better resource remaining status and higher probability of being filtered by the filter. Therefore, in most scenes with relatively reasonable weight calculation, the first physical node can pass through filtering, and the second filtering in the attached figure 2 is avoided, so that the scheduling efficiency of the physical node can be improved, and the creation efficiency of the virtual machine is improved. The operation and maintenance can also design different weight calculation formulas according to the actual physical nodes and the filter characteristics, and further improve the probability that the high-weight physical nodes are filtered by the filter.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the invention, so that any modifications, equivalents, improvements and the like, which are within the spirit and principle of the present invention, should be included in the scope of the present invention.
Claims (3)
1. A method for improving the scheduling efficiency of creating a virtual machine physical node is characterized in that: the method comprises the following steps:
s1, sorting physical nodes according to weight;
s2, selecting a physical node with the highest weight, and judging whether the physical node meets the requirement;
s3, if yes, returning; otherwise, the next physical node is selected according to the sorting in the step S1 until one node can meet the requirement, and then the process returns.
2. The method of claim 1, wherein the method comprises the following steps: in step S1, the weight of each physical node needs to be calculated, and the physical nodes are sorted according to the weight.
3. The method of claim 1, wherein the method comprises the following steps: and if the physical node selected in the step S2 and the step S3 does not meet the requirement, modifying the weight of the physical node to 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010010339.5A CN111198749A (en) | 2020-01-06 | 2020-01-06 | Method for improving scheduling efficiency of creating virtual machine physical node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010010339.5A CN111198749A (en) | 2020-01-06 | 2020-01-06 | Method for improving scheduling efficiency of creating virtual machine physical node |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111198749A true CN111198749A (en) | 2020-05-26 |
Family
ID=70746770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010010339.5A Pending CN111198749A (en) | 2020-01-06 | 2020-01-06 | Method for improving scheduling efficiency of creating virtual machine physical node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111198749A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116405391A (en) * | 2023-04-10 | 2023-07-07 | 长扬科技(北京)股份有限公司 | OpenStack-based virtual machine node screening method, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2637095A1 (en) * | 2012-03-06 | 2013-09-11 | Nec Corporation | Thin client system, management server, workplace environment setting method and workplace environment setting program |
CN104793982A (en) * | 2014-01-20 | 2015-07-22 | 联想(北京)有限公司 | Method and device for establishing virtual machine |
CN106020937A (en) * | 2016-07-07 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Method, device and system for creating virtual machine |
CN107589983A (en) * | 2017-10-11 | 2018-01-16 | 郑州云海信息技术有限公司 | Virtual machine creation method and its device in a kind of cloud computing system |
CN107968802A (en) * | 2016-10-19 | 2018-04-27 | 华为技术有限公司 | The method, apparatus and filtering type scheduler of a kind of scheduling of resource |
-
2020
- 2020-01-06 CN CN202010010339.5A patent/CN111198749A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2637095A1 (en) * | 2012-03-06 | 2013-09-11 | Nec Corporation | Thin client system, management server, workplace environment setting method and workplace environment setting program |
CN104793982A (en) * | 2014-01-20 | 2015-07-22 | 联想(北京)有限公司 | Method and device for establishing virtual machine |
CN106020937A (en) * | 2016-07-07 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Method, device and system for creating virtual machine |
CN107968802A (en) * | 2016-10-19 | 2018-04-27 | 华为技术有限公司 | The method, apparatus and filtering type scheduler of a kind of scheduling of resource |
CN107589983A (en) * | 2017-10-11 | 2018-01-16 | 郑州云海信息技术有限公司 | Virtual machine creation method and its device in a kind of cloud computing system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116405391A (en) * | 2023-04-10 | 2023-07-07 | 长扬科技(北京)股份有限公司 | OpenStack-based virtual machine node screening method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453125B (en) | A kind of remote service calling SiteServer LBS based on real time load rate | |
CN111198749A (en) | Method for improving scheduling efficiency of creating virtual machine physical node | |
CN104349420B (en) | Communication terminal and its method and apparatus for receiving system information | |
CN102547910A (en) | Method for selecting wireless access point and wireless access point | |
CN107273116A (en) | The method that code is produced using the Code Generator based on framework | |
CN107277886B (en) | Internet of things equipment ad hoc network method based on WIFI | |
CN105897457A (en) | Service upgrade method and system of server group | |
CN1722682A (en) | Network monitoring system | |
CN103051370B (en) | The work remote radio unit selection method of a kind of subscriber equipment and base station | |
CN106612232B (en) | A kind of concentrator active meter reading method for routing adapting to changeable factor | |
Xu et al. | Probabilistic tabu search for telecommunications network design | |
US7237020B1 (en) | Integer programming technique for verifying and reprovisioning an interconnect fabric design | |
CN104965473A (en) | VRV air-conditioning system and automatic addressing method therefor based on CAN bus | |
CN108764741A (en) | Method and device for determining the layout of the production equipment in factory set region | |
CN110515845A (en) | Optimize generation method based on the combined test use-case for improving IPO strategy | |
CN106796588B (en) | The update method and equipment of concordance list | |
CN106507223B (en) | Normal mode, Digital Clustering and the simulation cluster adaptive method for switching of intercom | |
CN108833483A (en) | Packet-based DPOS agent node selection method | |
CN102819653A (en) | Optimization design method for cast iron cross beam of PCB (Printed Circuit Board) machine tool | |
CN110555238A (en) | automatic wheel key parameter optimizing method and system | |
CN111711930B (en) | Cluster head election method, system, terminal equipment and computer readable storage medium | |
CN107086923A (en) | COMMUNICATION NETWORK PERFORMANCES index analysis method and device | |
CN108959578A (en) | A kind of tax data crash analysis method | |
CN111885159B (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN110659034B (en) | Combined optimization deployment method, system and storage medium of cloud-edge hybrid computing service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200526 |
|
RJ01 | Rejection of invention patent application after publication |