A method and system for evaluating virtual machine hot migration technology
Through the evaluation method of virtual machine live migration technology, by normalizing the migration performance and virtual machine performance matrix, calculating the comprehensive evaluation value, the problem of insufficient evaluation in the existing technology is solved, and more accurate and comprehensive virtual machine migration is achieved. Technology assessment.
Patent Information
- Application Number
- CN202311720636.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-14
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-12-14
AI Technical Summary
The existing technology lacks overall performance evaluation when evaluating virtual machine live migration technology, and mainly evaluates it from two indicators: total migration time and migration downtime, resulting in incomplete and inaccurate evaluation.
An evaluation method for virtual machine live migration technology is proposed. By obtaining the migration performance matrix and the virtual machine performance matrix, normalization is performed, the migration performance evaluation value and the virtual machine performance evaluation value are calculated, and the comprehensive evaluation value is calculated based on the weight to achieve Overall performance evaluation of thermal migration technology.
It improves the comprehensiveness and accuracy of the evaluation of live migration technology, can comprehensively evaluate the performance of virtual machine migration technology from multiple dimensions, and provides a more comprehensive decision-making reference.
Smart Images

Figure CN117850966B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of cloud migration technology, and in particular, relates to an evaluation method and system for virtual machine hot migration technology. Background Art
[0002] Virtual machine hot migration is a very important feature in the field of cloud computing virtualization, which can be used for server operation and maintenance management, dynamic resource scheduling and energy saving management. Virtual machine hot migration is an operation that migrates a virtual machine from one physical host to another without shutting down the virtual machine.
[0003] The key to a successful hot migration is that the rate of dirty page copying is greater than the rate of dirty page generation. When the rate of dirty page generation is greater than the rate of dirty page copying during hot migration, the migration will not converge. In order to improve the success rate of virtual machine migration, there are many migration acceleration algorithms in the industry, such as reducing the rate of dirty page generation by reducing the running time of the virtual machine vcpu; reducing the amount of data transmission by compressing the memory pages; and there are continuous optimization methods proposed for existing migration technologies. How to evaluate the advantages and disadvantages of different hot migration technologies and how to confirm whether hot migration optimization is effective is indeed a problem worth studying.
[0004] At present, the evaluation of hot migration technology is mainly based on two indicators of migration performance: total migration time and migration downtime. The current method only compares two migration technologies from multiple dimensions, lacks an overall performance evaluation of hot migration technology, resulting in an incomplete and low-accuracy evaluation of hot migration technology. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the invention is to provide an evaluation method and system for virtual machine hot migration technology, which can combine virtual machine specifications from the perspective of migration performance and virtual machine performance, comprehensively consider migration performance and virtual machine performance, realize overall performance evaluation of hot migration technology, and improve the comprehensiveness and accuracy of hot migration technology evaluation.
[0006] A first aspect of the present invention provides a method for evaluating a virtual machine hot migration technology, comprising:
[0007] S1, obtaining a migration performance matrix and a virtual machine performance matrix of the hot migration technology to be evaluated;
[0008] S2, normalizing the migration performance matrix of the hot migration technology to be evaluated and the virtual machine performance matrix by using the migration performance matrix of the benchmark hot migration technology and the virtual machine performance matrix in a state of only running but not performing migration tasks, respectively, to obtain a normalized migration performance matrix and a normalized virtual machine performance matrix;
[0009] S3, calculating the migration performance evaluation value and the virtual machine performance evaluation value of the hot migration technology to be evaluated according to the normalized migration performance matrix and the normalized virtual machine performance matrix;
[0010] S4, calculating a comprehensive evaluation value of the hot migration technology to be evaluated according to the migration performance evaluation value of the hot migration technology to be evaluated and the virtual machine performance evaluation value.
[0011] Furthermore, the migration performance matrix of the thermal migration technology to be evaluated is specifically:
[0012]
[0013] Where U represents the migration performance matrix of the thermal migration technology to be evaluated, u ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the hot migration technology to be evaluated is adopted, i=1,2,…,m, m represents the total number of virtual machine categories, j=1,2,…,n, n represents the total number of migration performance evaluation indexes;
[0014] The migration performance matrix of the benchmark thermal migration technology is specifically:
[0015]
[0016] Where U' represents the migration performance matrix of the benchmark thermal migration technology, u' ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the benchmark hot migration technology is adopted;
[0017] The virtual machine performance matrix of the hot migration technology to be evaluated is specifically:
[0018]
[0019] Where V represents the virtual machine performance matrix of the hot migration technology to be evaluated, v ik represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine adopts the hot migration technology to be evaluated, k = 1, 2, ..., p, and p represents the total number of virtual machine performance evaluation indexes;
[0020] The performance matrix of the virtual machine in the state of only running but not performing the migration task is specifically:
[0021]
[0022] Where V' represents the performance matrix of the virtual machine that is only running but not performing the migration task, and v' ik The virtual machine performance value of the kth virtual machine performance evaluation indicator represents the virtual machine performance value of the i-th virtual machine when the i-th virtual machine is only running but not performing the migration task.
[0023] Furthermore, the S2 specifically includes:
[0024] The migration performance matrix of the thermal migration technology to be evaluated is normalized by using the migration performance matrix of the benchmark thermal migration technology to obtain a normalized migration performance matrix F:
[0025]
[0026] Among them, f ij represents the value of the i-th row and j-th column in the normalized migration performance matrix F;
[0027] The virtual machine performance matrix of the hot migration technology to be evaluated is normalized by using the virtual machine performance matrix in the state of only running but not executing the migration task, to obtain a normalized virtual machine performance matrix H:
[0028]
[0029] Among them, h ik Represents the value of the i-th row and k-th column in the normalized virtual machine performance matrix H.
[0030] Furthermore, the S3 specifically includes:
[0031] According to the normalized migration performance matrix, the migration performance evaluation value is calculated:
[0032]
[0033] Among them, S mig represents the migration performance evaluation value, w j represents the weight of the jth migration performance evaluation index;
[0034] According to the normalized virtual machine performance matrix, the virtual machine performance evaluation value is calculated:
[0035]
[0036] Among them, S vm represents the virtual machine performance evaluation value, w' k Represents the weight of the k-th virtual machine performance evaluation indicator.
[0037] Furthermore, the S4 is specifically:
[0038] According to the following formula, the comprehensive evaluation value of the thermal migration technology to be evaluated is calculated:
[0039] Q=β×S mig +(1-β)×S vm
[0040] Wherein, Q represents the comprehensive evaluation value, and β represents the weight of the migration performance evaluation value.
[0041] A second aspect of the present invention provides an evaluation system for implementing a virtual machine hot migration technology, which is used to implement the evaluation method for the virtual machine hot migration technology described in the first aspect, including:
[0042] An acquisition module, used to acquire a migration performance matrix and a virtual machine performance matrix of the hot migration technology to be evaluated;
[0043] A normalization module, used to normalize the migration performance matrix of the hot migration technology to be evaluated and the virtual machine performance matrix by using the migration performance matrix of the benchmark hot migration technology and the virtual machine performance matrix in a state of only running but not performing migration tasks, respectively, to obtain a normalized migration performance matrix and a normalized virtual machine performance matrix;
[0044] A calculation module, used to calculate the migration performance evaluation value and the virtual machine performance evaluation value of the hot migration technology to be evaluated according to the normalized migration performance matrix and the normalized virtual machine performance matrix;
[0045] The comprehensive calculation module is used to calculate the comprehensive evaluation value of the hot migration technology to be evaluated according to the migration performance evaluation value of the hot migration technology to be evaluated and the virtual machine performance evaluation value.
[0046] Furthermore, the migration performance matrix of the thermal migration technology to be evaluated is specifically:
[0047]
[0048] Where U represents the migration performance matrix of the thermal migration technology to be evaluated, u ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the hot migration technology to be evaluated is adopted, i=1,2,…,m, m represents the total number of virtual machine categories, j=1,2,…,n, n represents the total number of migration performance evaluation indexes;
[0049] The migration performance matrix of the benchmark thermal migration technology is specifically:
[0050]
[0051] Where U' represents the migration performance matrix of the benchmark thermal migration technology, u' ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the benchmark hot migration technology is adopted;
[0052] The virtual machine performance matrix of the hot migration technology to be evaluated is specifically:
[0053]
[0054] Where V represents the virtual machine performance matrix of the hot migration technology to be evaluated, v ik represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine adopts the hot migration technology to be evaluated, k = 1, 2, ..., p, and p represents the total number of virtual machine performance evaluation indexes;
[0055] The performance matrix of the virtual machine in the state of only running but not performing the migration task is specifically:
[0056]
[0057] Where V' represents the performance matrix of the virtual machine when it is only running but not performing the migration task, and v' ik The virtual machine performance value of the kth virtual machine performance evaluation indicator represents the virtual machine performance value of the i-th virtual machine when the i-th virtual machine is only running but not performing the migration task.
[0058] Furthermore, the normalization module is specifically used for:
[0059] The migration performance matrix of the thermal migration technology to be evaluated is normalized by using the migration performance matrix of the benchmark thermal migration technology to obtain a normalized migration performance matrix F:
[0060]
[0061] Among them, f ij represents the value of the i-th row and j-th column in the normalized migration performance matrix F;
[0062] The virtual machine performance matrix of the hot migration technology to be evaluated is normalized by using the virtual machine performance matrix in the state of only running but not executing the migration task, to obtain a normalized virtual machine performance matrix H:
[0063]
[0064] Among them, h ik Represents the value of the i-th row and k-th column in the normalized virtual machine performance matrix H.
[0065] Furthermore, the calculation module is specifically used for:
[0066] According to the normalized migration performance matrix, the migration performance evaluation value is calculated:
[0067]
[0068] Among them, S mig represents the migration performance evaluation value, w j represents the weight of the jth migration performance evaluation index;
[0069] According to the normalized virtual machine performance matrix, the virtual machine performance evaluation value is calculated:
[0070]
[0071] Among them, S vm represents the virtual machine performance evaluation value, w' k Represents the weight of the k-th virtual machine performance evaluation indicator.
[0072] Furthermore, the comprehensive calculation module is specifically used for:
[0073] According to the following formula, the comprehensive evaluation value of the thermal migration technology to be evaluated is calculated:
[0074] Q=β×S mig +(1-β)×S vm
[0075] Wherein, Q represents the comprehensive evaluation value, and β represents the weight of the migration performance evaluation value.
[0076] The beneficial effects of the present invention are as follows:
[0077] The method and system provided by the present invention combine the virtual machine specifications from the perspective of migration performance and virtual machine performance, comprehensively evaluate the migration performance and virtual machine performance, and realize the overall performance evaluation of the hot migration technology, thereby improving the comprehensiveness and accuracy of the hot migration technology evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.
[0079] Figure 1 A flowchart of a method for evaluating a virtual machine hot migration technology provided by an embodiment of the present invention.
[0080] Figure 2 A structural diagram of an evaluation system for virtual machine hot migration technology provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0081] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.
[0082] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.
[0083] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0084] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.
[0085] The present invention proposes a virtual machine hot migration technology evaluation method and system, in order to solve the existing hot migration technology evaluation is mainly based on two indicators of migration performance: total migration time and migration downtime. The current method only compares two migration technologies separately from multiple dimensions, lacks an overall performance evaluation of hot migration technology, resulting in the evaluation of hot migration technology is not comprehensive, low accuracy and other issues.
[0086] System Example
[0087] Reference Manual Attached Figure 1 , showing a flow chart of an evaluation method for a virtual machine hot migration technology provided by an embodiment of the present invention.
[0088] The present invention provides a method for evaluating a virtual machine hot migration technology, comprising steps S1 to S4.
[0089] S1, obtaining a migration performance matrix and a virtual machine performance matrix of the hot migration technology to be evaluated.
[0090] The reference hot migration technology may be an existing and common migration technology or a migration technology before optimization. The reference hot migration technology may be an autoconverge hot migration technology.
[0091] Furthermore, the benchmark hot migration technology is introduced to normalize the performance data of the hot migration technology to be evaluated. It should be noted that when the virtual machine performance matrix is normalized, the virtual machine performance matrix in the running state is used.
[0092] It should be noted that the evaluation of hot migration technology first needs to consider the performance of hot migration itself. The migration performance can be further subdivided into multiple evaluation indicators, such as total migration time, migration downtime, migration data volume, etc. Since hot migration is performed without stopping the virtual machine, the virtual machine will inevitably have a certain performance degradation during the hot migration process. Therefore, the virtual machine performance during the migration process is also included in the evaluation indicators of hot migration technology. The virtual machine performance can be further subdivided into multiple evaluation indicators, such as computing performance, memory performance, etc. There are many types and specifications of virtual machines. There will be differences in hot migration performance and virtual machine performance between virtual machines of different specifications. In order to more objectively evaluate hot migration technology, the virtual machine specification is included as an influencing factor in the evaluation method. Therefore, from the perspective of migration performance and virtual machine performance, the migration performance matrix and virtual machine performance matrix are constructed in combination with the virtual machine specifications.
[0093] Specifically, the migration performance matrix of the hot migration technology to be evaluated and the benchmark hot migration technology, and the specific contents of the performance matrix of the hot migration technology to be evaluated and the virtual machine in the state of only running but not executing the migration task can be obtained through laboratory testing.
[0094] In a possible implementation manner, the migration performance matrix of the thermal migration technology to be evaluated is specifically:
[0095]
[0096] Where U represents the migration performance matrix of the thermal migration technology to be evaluated, u ijIt represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the hot migration technology to be evaluated is adopted, i=1,2,…,m, m represents the total number of virtual machine categories, j=1,2,…,n, n represents the total number of migration performance evaluation indicators.
[0097] Specifically, the migration performance evaluation index may include: total migration time, migration downtime, etc.
[0098] Specifically, the specifications of the virtual machine may include: 2c4g, 4c8g, 8c16g, 16c32g, 32c64g, etc.
[0099] The migration performance matrix of the benchmark hot migration technology is as follows:
[0100]
[0101] Where U' represents the migration performance matrix of the benchmark thermal migration technology, u' ij It represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the benchmark hot migration technology is adopted.
[0102] The virtual machine performance matrix of the hot migration technology to be evaluated is as follows:
[0103]
[0104] Where V represents the virtual machine performance matrix of the hot migration technology to be evaluated, v ik It represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine adopts the hot migration technology to be evaluated, k=1,2,…,p, and p represents the total number of virtual machine performance evaluation indexes.
[0105] Specifically, virtual machine performance evaluation indicators may include: computing performance unixbench, memory performance stream, storage performance fio, network performance iperf, etc.
[0106] The performance matrix of a virtual machine that is only running but not performing migration tasks is as follows:
[0107]
[0108] Where V' represents the performance matrix of the virtual machine when it is only running but not performing the migration task, and v' ik It represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine is only running but not performing the migration task.
[0109] S2, normalizes the migration performance matrix of the hot migration technology to be evaluated and the virtual machine performance matrix in the state of only running but not executing the migration task, respectively, to obtain a normalized migration performance matrix and a normalized virtual machine performance matrix.
[0110] It should be noted that the data of different indicators are not in the same dimension and cannot be directly compared, so the matrix needs to be normalized. The normalization of matrices U and V is performed using their corresponding matrices U' and V'. Matrices U and U' are the values of the same indicators under different migration technologies, and matrices V and V' are the values of the same indicators under different states of the virtual machine. The test is performed in the same environment and the variables are unique. This normalization method can shield the difference in absolute measurement values caused by different physical environments to a certain extent, making the evaluation data more objective, making the final evaluation results of the hot migration technology more comparable, and more convenient for practical application.
[0111] In a possible implementation, S2 specifically includes:
[0112] The migration performance matrix of the benchmark thermal migration technology is used to normalize the migration performance matrix of the thermal migration technology to be evaluated, and the normalized migration performance matrix F is obtained:
[0113]
[0114] Among them, f ij Represents the value of the i-th row and j-th column in the normalized migration performance matrix F.
[0115] Specifically, because the migration performance index is intended to measure the cost of migration, the smaller the value, the better the performance. For example, the smaller the expected total migration time, the smaller the expected overall migration data volume. When the migration index value under the hot migration technology to be evaluated is larger than that under the benchmark hot migration technology, the normalized value is 0. Otherwise, the difference between the two migration index values is divided by the index value under the benchmark hot migration technology as the result.
[0116] The virtual machine performance matrix of the hot migration technology to be evaluated is normalized by the virtual machine performance matrix in the state of only running but not performing the migration task, and the normalized virtual machine performance matrix H is obtained:
[0117]
[0118] Among them, h ik Represents the value of the i-th row and k-th column in the normalized virtual machine performance matrix H.
[0119] Specifically, the virtual machine will inevitably lose some service performance during migration. ikIt can be regarded as the performance ratio of the virtual machine in the running state under the hot migration technology to be evaluated, and the result will not exceed 1.
[0120] S3, calculating the migration performance evaluation value and the virtual machine performance evaluation value of the hot migration technology to be evaluated according to the normalized migration performance matrix and the normalized virtual machine performance matrix.
[0121] In a possible implementation, S3 specifically includes:
[0122] According to the normalized migration performance matrix, the migration performance evaluation value is calculated:
[0123]
[0124] Among them, S mig represents the migration performance evaluation value, w j Represents the weight of the j-th migration performance evaluation index.
[0125] Among them, those skilled in the art can set the weight of each migration performance evaluation index according to actual conditions, and the present invention does not limit this.
[0126] In the present invention, by calculating the migration performance evaluation value, multiple migration performance indicators in the normalized migration performance matrix are comprehensively considered, which helps to comprehensively evaluate the performance of thermal migration technology from multiple perspectives, rather than just the evaluation of a single indicator.
[0127] According to the normalized virtual machine performance matrix, calculate the virtual machine performance evaluation value:
[0128]
[0129] Among them, S vm represents the virtual machine performance evaluation value, w' k Represents the weight of the k-th virtual machine performance evaluation indicator.
[0130] Among them, those skilled in the art can set the weight of each virtual machine performance evaluation indicator according to actual conditions, and the present invention does not limit this.
[0131] In the present invention, multiple virtual machine performance indicators in the normalized virtual machine performance matrix are comprehensively considered through the virtual machine performance evaluation value, which helps to comprehensively evaluate the performance of the hot migration technology from multiple angles, rather than just the evaluation of a single indicator.
[0132] S4, calculating a comprehensive evaluation value of the hot migration technology to be evaluated according to the migration performance evaluation value of the hot migration technology to be evaluated and the virtual machine performance evaluation value.
[0133] In a possible implementation manner, S4 is specifically:
[0134] According to the following formula, the comprehensive evaluation value of the thermal migration technology to be evaluated is calculated:
[0135] Q=β×S mig +(1-β)×S vm
[0136] Wherein, Q represents the comprehensive evaluation value, and β represents the weight of the migration performance evaluation value.
[0137] Among them, those skilled in the art can set the weight β of the migration performance evaluation value according to actual conditions, and the present invention does not limit it.
[0138] It should be noted that the weight β of the migration performance evaluation value can be introduced to adjust the relative importance of the migration performance evaluation value and the virtual machine performance evaluation value according to actual needs and priorities. This makes the comprehensive evaluation more flexible and can be customized according to specific application scenarios.
[0139] In the present invention, by introducing a comprehensive evaluation value, the migration performance evaluation value and the virtual machine performance evaluation value are combined to form a more comprehensive evaluation. This helps to comprehensively consider the performance of hot migration technology in terms of migration performance and virtual machine performance, and provides a more comprehensive reference for decision-making.
[0140] The beneficial effects of the present invention are as follows:
[0141] The method and system provided by the present invention combine the virtual machine specifications from the perspective of migration performance and virtual machine performance, comprehensively evaluate the migration performance and virtual machine performance, and realize the overall performance evaluation of the hot migration technology, thereby improving the comprehensiveness and accuracy of the hot migration technology evaluation.
[0142] System Example
[0143] Reference Manual Attached Figure 2 , showing a structural schematic diagram of an evaluation system for virtual machine hot migration technology provided by an embodiment of the present invention.
[0144] Another specific embodiment of the present invention discloses a virtual machine hot migration technology evaluation system 20, which is used to implement the virtual machine hot migration technology evaluation method in the system embodiment, including:
[0145] An acquisition module 201 is used to acquire a migration performance matrix and a virtual machine performance matrix of the hot migration technology to be evaluated;
[0146] A normalization module 202 is used to normalize the migration performance matrix of the hot migration technology to be evaluated and the virtual machine performance matrix by using the migration performance matrix of the benchmark hot migration technology and the virtual machine performance matrix in the state of only running but not performing the migration task, respectively, to obtain a normalized migration performance matrix and a normalized virtual machine performance matrix;
[0147] A calculation module 203, used to calculate a migration performance evaluation value and a virtual machine performance evaluation value of the hot migration technology to be evaluated according to the normalized migration performance matrix and the normalized virtual machine performance matrix;
[0148] The comprehensive calculation module 204 is used to calculate the comprehensive evaluation value of the hot migration technology to be evaluated according to the migration performance evaluation value of the hot migration technology to be evaluated and the virtual machine performance evaluation value.
[0149] In a possible implementation manner, the migration performance matrix of the thermal migration technology to be evaluated is specifically:
[0150]
[0151] Where U represents the migration performance matrix of the thermal migration technology to be evaluated, u ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the hot migration technology to be evaluated is adopted, i=1,2,…,m, m represents the total number of virtual machine categories, j=1,2,…,n, n represents the total number of migration performance evaluation indexes;
[0152] The migration performance matrix of the benchmark hot migration technology is as follows:
[0153]
[0154] Where U' represents the migration performance matrix of the benchmark thermal migration technology, u' ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the benchmark hot migration technology is adopted;
[0155] The virtual machine performance matrix of the hot migration technology to be evaluated is as follows:
[0156]
[0157] Where V represents the virtual machine performance matrix of the hot migration technology to be evaluated, v ik represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine adopts the hot migration technology to be evaluated, k = 1, 2, ..., p, and p represents the total number of virtual machine performance evaluation indexes;
[0158] The performance matrix of a virtual machine that is only running but not performing migration tasks is as follows:
[0159]
[0160] Where V' represents the performance matrix of the virtual machine when it is only running but not performing the migration task, and v' ikIt represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine is only running but not performing the migration task.
[0161] In a possible implementation, the normalization module 202 is specifically configured to:
[0162] The migration performance matrix of the benchmark thermal migration technology is used to normalize the migration performance matrix of the thermal migration technology to be evaluated, and the normalized migration performance matrix F is obtained:
[0163]
[0164] Among them, f ij represents the value of the i-th row and j-th column in the normalized migration performance matrix F;
[0165] The virtual machine performance matrix of the hot migration technology to be evaluated is normalized by the virtual machine performance matrix in the state of only running but not performing the migration task, and the normalized virtual machine performance matrix H is obtained:
[0166]
[0167] Among them, h ik Represents the value of the i-th row and k-th column in the normalized virtual machine performance matrix H.
[0168] In a possible implementation, the calculation module 203 is specifically configured to:
[0169] According to the normalized migration performance matrix, the migration performance evaluation value is calculated:
[0170]
[0171] Among them, S mig represents the migration performance evaluation value, w j represents the weight of the jth migration performance evaluation index;
[0172] According to the normalized virtual machine performance matrix, calculate the virtual machine performance evaluation value:
[0173]
[0174] Among them, S vm represents the virtual machine performance evaluation value, w' k Represents the weight of the k-th virtual machine performance evaluation indicator.
[0175] In a possible implementation, the comprehensive calculation module 204 is specifically used to:
[0176] According to the following formula, the comprehensive evaluation value of the thermal migration technology to be evaluated is calculated:
[0177] Q=β×S mig +(1-β)×S vm
[0178] Wherein, Q represents the comprehensive evaluation value, and β represents the weight of the migration performance evaluation value. The virtual machine hot migration technology evaluation system 20 provided by the present invention can execute the above virtual machine hot migration technology evaluation system and achieve the same or similar technical effects. To avoid repetition, the present invention will not repeat it.
[0179] The beneficial effects of the present invention are as follows:
[0180] The method and system provided by the present invention combine the virtual machine specifications from the perspective of migration performance and virtual machine performance, comprehensively evaluate the migration performance and virtual machine performance, and realize the overall performance evaluation of the hot migration technology, thereby improving the comprehensiveness and accuracy of the hot migration technology evaluation.
[0181] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed in the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for evaluating virtual machine hot migration technology, characterized in that: include: S1, obtaining a migration performance matrix and a virtual machine performance matrix of the hot migration technology to be evaluated; S2, normalizing the migration performance matrix of the hot migration technology to be evaluated and the virtual machine performance matrix by using the migration performance matrix of the benchmark hot migration technology and the virtual machine performance matrix in the state of only running but not performing the migration task, respectively, to obtain a normalized migration performance matrix and a normalized virtual machine performance matrix; S3, calculating the migration performance evaluation value and the virtual machine performance evaluation value of the hot migration technology to be evaluated according to the normalized migration performance matrix and the normalized virtual machine performance matrix; S4, calculating a comprehensive evaluation value of the hot migration technology to be evaluated according to the migration performance evaluation value of the hot migration technology to be evaluated and the virtual machine performance evaluation value; The migration performance matrix of the thermal migration technology to be evaluated is specifically: Where U represents the migration performance matrix of the thermal migration technology to be evaluated, u ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the hot migration technology to be evaluated is adopted, i=1,2,=,m, m represents the total number of virtual machine categories, j=1,2,…,n, n represents the total number of migration performance evaluation indicators; The migration performance matrix of the benchmark thermal migration technology is specifically: Where U' represents the migration performance matrix of the benchmark thermal migration technology, u' ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the benchmark hot migration technology is adopted; The virtual machine performance matrix of the hot migration technology to be evaluated is specifically: Where V represents the virtual machine performance matrix of the hot migration technology to be evaluated, v ik represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine adopts the hot migration technology to be evaluated, k = 1, 2, ..., p, and p represents the total number of virtual machine performance evaluation indexes; The performance matrix of the virtual machine in the state of only running but not performing the migration task is specifically: Where V' represents the performance matrix of the virtual machine when it is only running but not performing the migration task, and v' ik It represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine is only running but not performing the migration task.
2. The evaluation method of virtual machine hot migration technology according to claim 1, characterized in that: The S2 specifically includes: The migration performance matrix of the thermal migration technology to be evaluated is normalized by using the migration performance matrix of the benchmark thermal migration technology to obtain a normalized migration performance matrix F: Among them, f ij represents the value of the i-th row and j-th column in the normalized migration performance matrix F; The virtual machine performance matrix of the hot migration technology to be evaluated is normalized by using the virtual machine performance matrix in the state of only running but not executing the migration task, to obtain a normalized virtual machine performance matrix H: Among them, h ik Represents the value of the i-th row and k-th column in the normalized virtual machine performance matrix H.
3. The evaluation method of virtual machine hot migration technology according to claim 2, characterized in that: The S3 specifically includes: According to the normalized migration performance matrix, the migration performance evaluation value is calculated: Among them, S mig represents the migration performance evaluation value, w j represents the weight of the jth migration performance evaluation index; According to the normalized virtual machine performance matrix, the virtual machine performance evaluation value is calculated: Among them, S vm represents the virtual machine performance evaluation value, w' k Represents the weight of the k-th virtual machine performance evaluation indicator.
4. The evaluation method of virtual machine hot migration technology according to claim 3 is characterized in that: The S4 is specifically: According to the following formula, the comprehensive evaluation value of the thermal migration technology to be evaluated is calculated: Q=β×S mig +(1-β)×S vm Wherein, Q represents the comprehensive evaluation value, and β represents the weight of the migration performance evaluation value.
5. A virtual machine hot migration technology evaluation system, characterized in that: The evaluation method for implementing the virtual machine hot migration technology described in claims 1 to 4 comprises: An acquisition module, used to acquire a migration performance matrix and a virtual machine performance matrix of the hot migration technology to be evaluated; A normalization module, used to normalize the migration performance matrix of the hot migration technology to be evaluated and the virtual machine performance matrix by using the migration performance matrix of the benchmark hot migration technology and the virtual machine performance matrix in a state of only running but not performing migration tasks, respectively, to obtain a normalized migration performance matrix and a normalized virtual machine performance matrix; A calculation module, used to calculate the migration performance evaluation value and the virtual machine performance evaluation value of the hot migration technology to be evaluated according to the normalized migration performance matrix and the normalized virtual machine performance matrix; A comprehensive calculation module, used to calculate a comprehensive evaluation value of the hot migration technology to be evaluated according to the migration performance evaluation value of the hot migration technology to be evaluated and the virtual machine performance evaluation value; The migration performance matrix of the thermal migration technology to be evaluated is specifically: Where U represents the migration performance matrix of the thermal migration technology to be evaluated, u ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the hot migration technology to be evaluated is adopted, i=1,2,…,m, m represents the total number of virtual machine categories, j=1,2,…,n, n represents the total number of migration performance evaluation indexes; The migration performance matrix of the benchmark thermal migration technology is specifically: Where U' represents the migration performance matrix of the benchmark thermal migration technology, u' ij represents the migration performance value of the jth migration performance evaluation index of the i-th virtual machine when the benchmark hot migration technology is adopted; The virtual machine performance matrix of the hot migration technology to be evaluated is specifically: Where V represents the virtual machine performance matrix of the hot migration technology to be evaluated, v ik represents the virtual machine performance value of the kth virtual machine performance evaluation index when the i-th virtual machine adopts the hot migration technology to be evaluated, k = 1, 2, ..., p, and p represents the total number of virtual machine performance evaluation indexes; The performance matrix of the virtual machine in the state of only running but not performing the migration task is specifically: Where V' represents the performance matrix of the virtual machine when it is only running but not performing the migration task, and v' ik The virtual machine performance value of the kth virtual machine performance evaluation indicator represents the virtual machine performance value of the i-th virtual machine when the i-th virtual machine is only running but not performing the migration task.
6. The virtual machine hot migration technology evaluation system according to claim 5, characterized in that: The normalization module is specifically used for: The migration performance matrix of the thermal migration technology to be evaluated is normalized by using the migration performance matrix of the benchmark thermal migration technology to obtain a normalized migration performance matrix F: Among them, f ij represents the value of the i-th row and j-th column in the normalized migration performance matrix F; The virtual machine performance matrix of the hot migration technology to be evaluated is normalized by using the virtual machine performance matrix in the state of only running but not executing the migration task, to obtain a normalized virtual machine performance matrix H: Among them, h ik Represents the value of the i-th row and k-th column in the normalized virtual machine performance matrix H.
7. The virtual machine hot migration technology evaluation system according to claim 6, characterized in that: The calculation module is specifically used for: According to the normalized migration performance matrix, the migration performance evaluation value is calculated: Among them, S mig represents the migration performance evaluation value, w j represents the weight of the jth migration performance evaluation index; According to the normalized virtual machine performance matrix, the virtual machine performance evaluation value is calculated: Among them, S vm represents the virtual machine performance evaluation value, w' k Represents the weight of the k-th virtual machine performance evaluation indicator.
8. The virtual machine hot migration technology evaluation system according to claim 7, characterized in that: The comprehensive calculation module is specifically used for: According to the following formula, the comprehensive evaluation value of the thermal migration technology to be evaluated is calculated: Q=β×S mig +(1-β)×S vm Wherein, Q represents the comprehensive evaluation value, and β represents the weight of the migration performance evaluation value.
