QoS Analysis for Cloud-Based IoT Data Using Multicriteria-Based Optimization Approach

This work explains why and how QoS modeling has been used within a multicriteria optimization approach. The parameters and metrics defined are intended to provide a broader and, at the same time, more precise analysis of the issues highlighted in the work dedicated to placement algorithms in the cloud. In order to find the optimal solution to a placement problem which is impractical in polynomial time, as in more particular cases, meta-heuristics more or less approaching the optimal solution are used in order to obtain a satisfactory solution. First, a model by a genetic algorithm is proposed. This genetic algorithm dedicated to the problem of placing virtual machines in the cloud has been implemented in two different versions. The former only considers elementary services, while the latter uses compound services. These two versions of the genetic algorithm are presented, and also, two greedy algorithms, round-robin and best-fit sorted, were used in order to allow a comparison with the genetic algorithm. The characteristics of these two algorithms are presented.


Introduction
e Internet of things (IoT) will open up new possibilities for developing apps that more effectively incorporate the current status of the sector. Due to the proliferation of web services that perform identical tasks, industrial organizations must select the best web services based on their quality of service (QoS) characteristics. In this article, the QoS problem is formulated as a multicriteria goal programming (MCGP) model, and the model is solved using a multipopulation genetic algorithm (MGA). In addition to automatically selecting high-quality web services to combine into composite services, MCGP also searches for composite services that do not fall short of users' QoS expectations by loosening QoS restrictions. A study of empirical data shows that the genetic algorithm outperforms both round-robin and best-fit sorting. Additionally, the studies show that the genetic algorithm can efficiently and scalably address the large-scale QSC problem.
We define three QoS characteristics as the quality evaluation criteria of web services according to the domain application of IoT, which are defined in relation to various QoS attributes for web services published by the W3C working group: (i) Execution time (t): the average amount of time that passes between when a user sends a request and when the server responds is the service's execution time (t). (ii) Reliability (r): the percentage of service requests that are successfully fulfilled determines how reliable a service is. e ratio of successful executions to total service calls is used to calculate it. (iii) Execution cost (c): the fee for using a web service is known as the execution cost.
A collection of component services with logical connections makes up a composite service (or tasks). Various candidate service instances with the same functionality but distinct QoS values might be bound to different tasks. Sequential, loop, parallel, and switch are the most popular service composition workflows.
In conclusion, researchers try to identify the greatest services to combine into the best composite service for industrial applications. Developing effective strategies to deal with circumstances where no practicable solution can satisfy the overall QoS restrictions is still a crucial task. In order to address this challenge, this work formulates the QoS problem into an MCGP model in order to discover a solution with a lower level of constraint violation. e MCGP model is then solved using a multipopulation genetic method. Figure 1 shows the QoS criteria.

Literature Review
e analysis of the SLA proposals of the main current SaaS service providers makes it possible to realize that the inclusion of even one of these parameters directly serves the interests of the service provider [1]. Services, in the research on cloud computing placement algorithms, could allow for further study [2,3]. For example, if the latent capacity parameter, cited in Oracle's SLA proposal, was used as a metric to be optimized in the placement algorithms, in addition to the energy consumption and response time, this would lead to analysis of an interesting compromise between the reduction in energy consumption, the desired performance at a given moment, and the capacity of the services at the moment, if a peak of use (a sudden increase in the number of requests) occurs. Indeed, taking into account more QoS parameters, assimilated to optimization metrics in placement algorithms aimed at reducing the energy consumed, can lead to choosing a temporary consolidation configuration of virtual machines unfavorable for some metrics, but guaranteeing a high level of performance for other metrics, which are mostly ignored in current studies [4]. e use of several metrics thus makes it possible to have a more complete view of the state of all physical resources, and provides service providers with a more sophisticated analysis possibility as well as a greater number of configuration solutions. In addition, multicriteria optimization also makes it possible to analyze the influence of the parameters with respect to each other. is is performed, in order to estimate the way in which each parameter influences the optimization, to analyze the antagonism caused by the joint use of these metrics, but also to verify their relevance. ese different points are not without importance because it is not necessarily easy to select a set of QoS parameters having both real relevance for the analysis of the operation of the system and the joint optimization which, with other parameters, results in a satisfactory compromise. Another interesting advantage of a simultaneous analysis of various cloud QoS settings can be emergence from the a priori undemonstrated properties of greedy algorithms, whose intrinsic behavior does not allow a direct optimization of the analyzed metrics [5,6].
is work explains why and how QoS modeling has been used within a multicriteria optimization approach. It is also important to remember that in addition to the selected quality of service parameters, reconfigurations of virtual machines as well as DVFS are integral parts of the scheduling problem presented. First, modeling by a genetic algorithm is proposed. is genetic algorithm dedicated to the problem of placing virtual machines in the cloud has been implemented in two different versions [7,8]. e former only considers elementary services, while the latter uses compound services. is version clearly complicates the resolution of the placement, in particular, because a temporal aspect must be integrated into the resolution. Indeed, the topology of a complex service, however simplistic it may be, induces dependence between the services that the genetic algorithm must take into account to obtain a valid investment solution. ese two versions of the genetic algorithm are presented, and also, two greedy algorithms, round robin and best-fit sorted, were used in order to allow a comparison with the genetic algorithm. e characteristics of these two algorithms are presented. It is important to specify here that the version of the algorithm using compound services is presented as preliminary work requiring future work. is version of the genetic algorithm is not used in the other works exposed in the rest of this article but presents a certain interest thanks to the complexities that it raises. e first section of this work presents how the use of several quality of service metrics within scheduling algorithms can both enrich current research studies and improve multiobjectives dedicated to cloud computing, but also highlights the sometimes ignored insight of certain algorithms with more basic behaviors [9][10][11][12].
As the importance of quality of service in cloud computing becomes more and more important, this article implements the various types of classifications in cloud computing and includes three major concepts to explain cloud computing. e energy consumption, the response time, and the two other parameters are used to explain the QoS methodology of the entire network services [13][14][15][16][17][18][19][20][21][22][23][24][25][26][27].
To reduce the power consumption of IoT devices and speed up task execution, Internet of things (IoT) tasks are offloaded to servers at the edge of the network. However, in dangerous terrain or in emergency situations where the network is down, establishing edge servers could be challenging or perhaps impossible. Cloud services are replaced as close to the end user as possible by mobile-edge computing (MEC). is lowers the energy usage and turnaround time delay by allowing the edge servers to carry out the offloaded operations that the users have requested. However, it could be challenging to deploy such edge servers in hostile environments or in disaster zones without a network. Performance improvements are now possible in many domains thanks to recent developments in high-performance computing systems. Surface approximation from a group of points is one of the most significant uses of this improvement. In this study, we suggest a method for creating a surface that approximates an oriented set of samples and is entirely compatible with graphics processing units (GPUs) [28][29][30].

Selection of Quality of Service Metrics
Four QoS parameters have been chosen: energy consumption, which makes it possible to take into account environmental problems; the response time, which makes it possible to have a pure performance measure; the robustness, which reassures service providers and users on the probability of being affected by a failure of the system; and the dynamism, which ensures a certain reserve of performance in the event of a traffic peak. In order to be able to measure and evaluate these metrics in the two approaches proposed in this chapter, some modifications had to be made to the definitions of the metrics used compared to those presented.

Greedy Algorithms
is section presents the greedy algorithms used, described below, in addition to the genetic algorithm presented. ese two greedy algorithms are round-robin and best-fit sorted. eir operation is more basic compared to a generic algorithm in that they do not integrate a direct optimization of QoS metrics. However, the multicriteria analysis of their results allows them to interpret their insight in another way.

Round-Robin.
e round-robin (RR) algorithm was empirically used for scheduling in networks, with no priority over the chosen destination, when the concept of a virtualized environment did not yet exist. Its use in the context of this chapter may seem rather strange given that the principle of this algorithm does not present any particular intelligence, which would make it possible to take advantage of virtualization and therefore of the notion of virtual machine consolidation, currently commonly used in cloud data centers to minimize energy consumption. us, its use in this chapter is analyzed by taking into account several parameters, and not only the energy consumption, which allows a more elaborate analysis to be made to demonstrate its advantages [31][32][33][34]. e implemented round-robin sorts the physical machines in ascending order according to their type.
at is to say, the algorithm will go through the physical machines of type 0 first, then those of type 1, etc. Due to the intrinsic behavior of the algorithm, this sorting has little importance when a large number of virtual machines must be allocated because virtual machines will still be placed on poorly performing physical machines. But the more the number of virtual machines to allocate decreases, the more interesting this sorting becomes. However, this sort of sorting is not very efficient with round-robin as long as the number of virtual machines to be allocated is greater than the number of physical machines. Indeed, these will be used anyway, whatever their type.

Best-Fit Sorted.
e best-fit sorted (BFS) algorithm is better known for its ability to efficiently take advantage of a virtualized environment. Used with sorting performed on the characteristics of physical machines and virtual machines, the BFS obtains good results in terms of energy consumption. e implemented BFS performs two different sorts on physical machines. First, the physical machines are sorted according to their type. Once this first sort is complete, a second sort is performed according to the (decreasing) quantity of free MIPS on each of the physical machines. is not only allows virtual machines to be allocated to the most energy-efficient physical machines, but also attempts to consolidate virtual machines as best as possible.

Genetic Algorithm
In English, a genetic algorithm (GA) is an optimization meta-heuristic that mimics natural evolution. A genetic algorithm uses a set of individuals, called a population, in which each individual (also called a chromosome) represents a solution to the problem to be solved. e basic principle of a genetic algorithm is to make this initial population evolve, over a certain number of generations, to end up with a population that will contain better chromosomes than the initial ones. From one generation to another, specific operators (genetic operators) are applied to each individual in Computational Intelligence and Neuroscience 3 order to explore new possible solutions. At each generation, following the application of these genetic operators that generate new individuals, all the chromosomes (initial and new) are sorted according to their fitness value. Each individual is assigned a score (fitness value) following the calculation of an objective function. Each individual is therefore evaluated according to this value, and only those chromosomes having obtained a fitness value estimated to be good enough to be part of the generation are selected to constitute the working population of the next generation. us, with each generation, the set of operators creating new chromosomes tends to ensure that the population contains individuals representing better solutions. A genetic algorithm is therefore a meta-heuristic, being able to adapt to several types of problems and make a starting population evolve by randomly applying operators, making possible the journey of the solution space [34][35][36][37].
Equation (1) is frequently used to assess the fitness of an individual (equivalent to a candidate service composition formed by choosing a specific service instance for each task).
Here, the values of reaction time, dependability, and cost have been combined using aggregation procedures.
e fitness function stated in equation (2) specifically tries to minimize breaches of the QoS performance and the provided QoS constraints for people in the case of no feasible solutions. Algorithm 1.

Modeling.
A genetic algorithm is, by definition, a metaheuristic that can be adapted to many types of problems. A clear description of the chosen model in the context of this thesis is therefore necessary: (i) A chromosome represents a solution for placing virtual machines, as shown in Figure 2 //P: the population of current generation //n: the number of individuals //m: the number of groups //t: the number of current generations //T: the maximum number of generations Begin Calculate Fitness for P(n) using equation (1) If no Feasible (P), then Calculate Fitness for P(n) using equation (2) Mutation P(i) end for t � t + 1 end while end ALGORITHM 1: Basic genetic algorithm. 4 Computational Intelligence and Neuroscience (ii) A gene represents a virtual machine (iii) e value assigned to a gene represents the number of the physical machine on which the virtual machine has been allocated (iv) At the same time, the characteristics of virtual machines and physical machines are saved in order to be able to calculate the values of each of the metrics as well as the fitness value of the chromosomes 5.2. Operators. As mentioned in the introduction, one of the basic principles of an algorithm is to randomly apply operators to the chromosomes of a population in order to form new ones. e best individuals are kept to be part of the next generation, and then the process begins again. e operators used and described are the three typical operators of genetic algorithms: (i) e mutation operator, applied to a fixed number of chromosomes, randomly chooses a gene and changes its value. is change in the value of the concerned gene means that the virtual machine represented by this gene has been allocated to another physical machine. us, the new chromosome obtained represents a new placement solution and is integrated into the current population.
(ii) e crossover operator, also applied to a fixed number of chromosomes, inverts parts of two chromosomes and thus generates two new solutions. is is performed using two crossing points. An illustrated example of this operator is given in Figure 3. (iii) e role of the selection operator is to reduce the number of individuals present in the population, temporarily enlarged by the execution of the two operators above, in order to keep the best of them, and thus restore the population to its original size.

Chromosome
Validity. An important process of a genetic algorithm is to ensure that the solutions found, following the application of operators, are valid solutions. In other words, the solutions found must respect the constraints of the model of the problem to be solved. For the genetic algorithm used here, this consists in verifying that each solution respects the maximum utilization rate of each resource (CPU and memory). If the check infers that a chromosome does not meet these constraints and is therefore not valid, then it is simply deleted from the current population and a new individual is generated.

Stop Criterion.
e termination of a genetic algorithm can be decided in two different ways: (i) By defining an improvement threshold that makes it possible to compare the best chromosome of the current generation with the best chromosome of the previous generation. If the difference between these two chromosomes is less than the defined threshold, then the GA is stopped, considering that the improvement between two consecutive generations is not important enough that it is worth continuing the process. (ii) After a fixed number of generations in the algorithm studied here, the first solution could not be used. Indeed, as explained in the next section, chromosomes are evaluated according to a normalized value. is depends, among other things, on the mean values of each of the metrics (calculated for all individuals in the population). ese averages are necessarily different between each generation. us, the fitness values of the chromosomes are not comparable between successive generations. erefore, the second solution was adopted.

Fitness Metrics and Values.
Each metric calculation gives a value in an interval intrinsically linked to the relevant metric. In order to be able to calculate correctly the value of the objective function, involving a set of metrics whose values are not included in the same intervals, a normalization of each of these metric values must be applied. is consists in calculating, for each metric, a value called normalize. ese values are therefore comparable, and it is then possible to add or subtract them from each other in order to obtain a normalized fitness Crossing two Points Computational Intelligence and Neuroscience value. e normalization method used here is the "Center-Reduce" method, whose formula gives a set of values whose mean is 0 and a variance of 1.
with v the value of the metric to be normalized, μ the mean of the metric over the entire population and the standard deviation. us, the normalized value of fitness is equal to a linear formula integrating all these normalized values. is therefore makes it possible to compare accurately and precisely each chromosome belonging to a generation according to their fitness value. e objective function used in this genetic algorithm is as follows: where a 1 , a 2 , a 3 , and a 4 are the respective coefficients of energy (E), response time (T Resp ), robustness (R), and dynamism (D), respectively. ese coefficients can be modified (increased or decreased) to benefit the optimization of one or more metrics. In this equation (5) of the objective function, the energy, the response time, and the robustness are metrics to be minimized, unlike the dynamism metric, which must be maximized.

GA Version: Allocation of Elementary Services.
is first version of the genetic algorithm only involves the allocation of independent elementary services, each executed in a dedicated virtual machine. Each virtual machine therefore represents an elementary service whose start date is t � 0. As illustrated in Figure 4, the solution to the problem consists of finding a placement of the set of virtual machines on the available physical machines while optimizing the QoS metrics.
It is obvious that this version of the genetic algorithm solves the problem of the allocation of very simplified services compared to real cloud services. However, this version of simplified service allocation allows analysis to be focused on optimizing the various selected QoS metrics [38][39][40][41][42]. Indeed, using this genetic algorithm as a placement meta-heuristic makes it possible to evaluate both the quality of its optimization but also to demonstrate the impact of metrics on top of each other, highlighting the advantage of using a multicriteria approach for service allocation purposes. It is this version of the genetic algorithm that is used in the rest of the work presented. e analysis of the impact of multicriteria optimization is discussed in detail in the section below.

GA Version: Allocation of Compound Services.
A second version of the genetic algorithm using compound services (Sc) has also been explored. A composite service is a set of elementary services (an elementary service is executed by one and only one virtual machine). In a general case, the topology of a compound service is a DAG. is makes it possible to define the dependency relationships between the elementary services and thus, represent the execution order of each of them. One of the main differences from the version presented in the previous section is that the use of compound services brings a temporal aspect to the execution of virtual machines.

Topology.
For this first version of the genetic algorithm using compound services, a very simple topology has been chosen (illustrated in Figure 5).  Computational Intelligence and Neuroscience However, this topology makes it possible to introduce a dependency between the elementary services of a composite service, resulting in different departure dates between each elementary service as well as a communication time between two consecutive elementary services. In addition, a virtual machine can only belong to a single compound service.

Generation of Compound Services.
All virtual machines are used to create a number of compound services. e size of a composite service has been set between 2 and 10 (chosen randomly when it is created), and the virtual machines that compose it are also chosen randomly. Using the configuration of 400 virtual machines/110 physical machines, this leads to having a number of services between 40 and 200 different sizes. e communication time between two elementary services is fixed at 1 second.

Calculation of Metrics
Despite these numerous simplifications brought to the configuration of this GA, taking into account the dependencies between the execution dates of virtual machines very clearly complicates the calculation of QoS metrics. Indeed, in order to be able to calculate the total energy consumed for the execution of all these composite services, each start and end date must be known. ese are variable depending on the reconfigurations and the composite services to which they belong. e optimization of the energy consumption metric is therefore much more complex to implement. Regarding the response time metric, this always represents the total execution time, here, determined by the termination date of the last elementary service of the last service compound. Its computation is a little finer because the slowing down of one of the virtual machines in a compound service must have an impact on the execution of the virtual machines that run afterward.
In order to clarify the progress of this version of the GA, everything that has been mentioned above is operational; the new issues mentioned below remain to be clarified. e optimization of the other two metrics still raises new questions. Indeed, since the dynamism and the robustness are being in themselves and metrics are a property of the system not dependent on time, their evaluations in this version of the GA must be submitted. Several solutions are therefore possible: (i) Optimize their average value over the total execution time (ii) Optimize their maximum value reached (iii) Optimize their value so that it never drops below a certain threshold Whatever the solution adopted, this implies an evaluation of the values of these metrics at each start-up and termination of virtual machines in order to take into account the evolution of the system load during this time.
is version of the genetic algorithm involves an insignificant number of new constraints and very interesting difficulties, which raise numerous allocation problems. In addition, the use of composite services allows one to come a little closer to the allocation constraints of real cloud services. However, many questions still remain open, and the study of this version of the genetic algorithm is still part of the research work currently underway [36,37].

Multiobjective Optimization by the GA.
e genetic algorithm solves the problem of placing virtual machines with the aim of optimizing the metrics integrated into the computation of its objective function. Each individual of the working population is evaluated according to its value (fitness value). e chosen solution is therefore the individual who will have received the best overall result. e advantage of the genetic algorithm is that it quite easily allows adding or removing parameters to be taken into account when evaluating a population. Moreover, the solution of the problem is carried out in a reasonable time due to the property of the genetic algorithms to quickly converge towards a solution which they consider to be the best. e disadvantage of the genetic algorithm is that it gives a placement result for a given starting situation. at is, it calculates each of the metrics for this situation at the instant t � 0 and ignores the time aspect. Of course, the termination dates of each virtual machine are taken into account in the metric calculations, but the optimization is carried out from the starting placement (different according to the chromosomes) and is not questioned as the number of virtual machines still running decreases. is section highlights the advantages of a multiobjective optimization, taking into account four QoS metrics simultaneously compared to a placement focused on a single parameter. For this, five versions of the genetic algorithm have been generated; the first four correspond to the optimization of a single metric, and the last one optimizes equitably the four metrics taken into account. is therefore leads to having the following five GAs: 6.2. Configuration. Given the complexity of the allocation problem handled by the GA, it is not uncommon for allocation solutions that it generates to be invalid. at is to say that the proposed placement does not respect the constraints of memory and /or CPU. In this case, the chromosome is rejected and the genetic algorithm generates a new one. If this is repeated too often, the creation time of Computational Intelligence and Neuroscience the starting population, as well as the working population of each generation, can very quickly become extremely long or even never finish (in the case where the placement constraints are too heavy). With 110 physical and 400 virtual machines, the allocation constraints are reasonable but already have a rather heavy impact on the creation of the initial population. Indeed, to find 1500 valid individuals, the GA generates on average around 240,000 invalid chromosomes. With such a ratio between the number of chromosomes desired for the initial population and the number of invalid individuals, the creation time of the initial population is about 4 seconds. is equates to approximately 10% of the total GA execution time. e number of 1500 was therefore considered as a good compromise between a number of starting individuals not too low in order to have all the same a chance that the starting population is composed of interesting individuals and a reasonable generation time. Although there is no universal setting for the use of an algorithm, starting values giving good results are shown in Table 1.
Except for the value of the number of crossings, the values adopted for the genetic algorithm are higher than these theoretical values: a working population of 120 individuals, 75% crossing, 83% mutation, and a much higher number of 600 generations. ese values were chosen to both have a reasonable total resolution time of the GA (about 40 seconds) and an efficient solution search given the complexity of the problem allocation to resolve. In the performance evaluation phases of this GA, it was found to be more efficient to use a reasonable working population size and a large number of generations. is is why the choice of a number of 120 individuals, allowing a reasonable processing time for each generation, and a number of 600 generations favouring optimization between generations, has been made. Regarding the crossings, a percentage corresponding to the theoretical value was adopted because the crossing process showed that it would generate a large number of invalid solutions. ere was therefore no point in increasing its number. Conversely, the mutation operator has proven to be very efficient in generating good solutions. Applied to the problem studied here, this operator corresponds to migrating a virtual machine out of 100 different individuals at each generation. Table 2 shows the universal setting for the use of an algorithm.

Optimization Configurations.
e genetic algorithm has been broken down into 5 different versions. Each of them applies a different optimization of the metrics:  Table 3.
e coefficient values shown in Table 3 for each version of the GA correspond to the weights assigned to the coefficients (a 1 , a 2 , a 3 , and a 4 ) used in the calculation of the objective function. When a value equal to 0 is applied to the coefficient of a metric, then that metric is totally ignored.
us, for the four mono-optimization versions (GA E, GA T Resp , GA R, and GA D), the value of 1 allows only the desired metric to be optimized. Any other value greater than 0 and different from 1 would have exactly the same effect on optimization. For the multiobjective version (GA All), the value of 1 (when it is not 0) applied to the different coefficients has no meaning in itself. Indeed, although we are dealing here with a multicriteria optimization concerning metrics with different units, a standardization method was applied to each of them. Once the calculation of the objective function uses standardized values of metrics, then the absolute value of each of the coefficients is irrelevant. Indeed, it is only the difference in the values applied to them that can favour one metric over others. In other words, the same positive value different from 1 could have been applied to all the coefficients of the GA All, giving equal weight to each metric considered in the calculation of the objective function.

Comparison of Optimization Results.
is section compares and critiques the different optimization results obtained with the different versions of the genetic algorithm. Figures 6 and 7 show the results of the execution of the different GAs described above, using an increasing number of virtual machines to allocate. is therefore results from 8    figure (Figure 7) shows the results of the energy metric, and the second (Figure 8) shows the results of the time of r Response; then the results of the robustness metric are presented in Figure 9, and finally, Figure 10 presents the results of the dynamism metric. Each of Figures 8 to 10 contains five curves. ey correspond to the five versions (GA E, GA T Resp , GA R, GA D, and GA All) of the genetic algorithm described above, with the number of virtual machines to be allocated on the X axis, and the value of the considered metric on the Y axis. e analysis of these curves makes it possible to notice that on each of them, the curve representing the best result corresponds to the curve of the version of the GA which optimizes the metric concerned in Figure 10. is result is both logical and reassuring. In addition, it also allows to see the deviation of other GAs from the best solution. e most remarkable differences are given by the version of GA that only optimizes the energy metric. Indeed, if we look at the results of this GA for robustness or dynamism, it is undeniable that this version of GA (GA Energy) gives much worse results than the others. It also reinforces the idea that energy consumption is a very interesting parameter to study alongside these other two metrics. Moreover, in addition to the underlying environmental aspect in the optimization of this metric, it also allows to deduce that it is very relevant in this context of multiobjective optimization, being perfectly antagonistic with robustness and dynamism. en, it is necessary to analyze the results of the GA All, optimizing in a fair way the four metrics. First of all, we can notice that this curve is never very far from the best curve in each of the figures. At first glance, this means that this version of the GA  Computational Intelligence and Neuroscience performs well overall for each of them. Unlike the other versions of GA studied, which automatically degrade one of the metrics, this version seems to be able to give fairly good results and find an interesting compromise so as not to disadvantage any QoS parameters. In order to be able to analyze and compare all the results of the GA All in relation to the others and therefore to better understand its performance and the compromises it generates, the last figure is proposed.
On this, we find on the abscissa the number of virtual machines to allocate, and the Y axis this time represents the fitness value of the objective function. is value is calculated by summing the normalized values of each metric. e applied normalization method uses the interval [min; max], corresponding to the smallest and the largest value obtained by the different versions of the GA for all the metrics and for the number of virtual machines given. Eight intervals are calculated, corresponding to the eight values of the X axis, and the normalized values are calculated as follows: with M the value of the metric. is normalization reduces all the values of the metrics between 0 and 1. us, for the metrics to be minimized, a value close to 0 represents a good result, and values close to 1 are worse. When a metric has to be maximized, such as dynamism, the interpretation of this value is reversed. is normalization method was preferred in this study over the "Center-Reduce" method because the values of means and standard deviations used in the latter should have been calculated on a sample of five values, which is too little to have good precision.
Analysis of this comparison of the five versions of the GA shows that the multiobjective approach, represented by the GA All curve, achieves a better fitness value than all other versions of the GA. is indicates that by taking into account the four evaluated metrics, none of the GAs optimizing only one of them is able to obtain a better result than the GA All version, regardless of the system load represented by the gradual increase in the number of virtual machines to allocate.

Conclusion
is work explains the utilization of QoS modeling in a multilevel optimization approach. e quality of the selected service parameters, the modification of the virtual machines, and the DVFS are integral parts of the proposed planning problem. First, modeling was proposed by a genetic method. Dedicated to the problem of placing virtual machines in the cloud, this genetic algorithm has been implemented in two different versions. e former considers elementary services only, and the latter uses compound services. is version clearly complicates the resolution of the employment because a temporary feature must be integrated into the resolution. In fact, the terrain of a complex service, which is so simple, triggers the dependencies between services that the genetic algorithm must take into account to obtain the right investment solution. ese two versions of the genetic algorithm are presented, and the two greedy algorithms, the round-robin and the best-fit sorted type, were used to allow comparison with the genetic algorithm. e characteristics of these two methods are given. It is important to note here that the version of the algorithm that uses the compound services is provided as preliminary work and requires future work.
Data Availability e datasets used and/or analyzed during the current study are available from the corresponding author upon reasonable request.