Abstract

In the context of cloud computing, one problem that is frequently encountered is task scheduling. This problem has two primary implications, which are the planning of tasks on virtual machines and the attenuation of performance. In order to address the problem of task scheduling in cloud computing, requisite nontraditional optimization attitudes to attain the optima of the problem, the present paper puts forth a hybrid multiple-objective approach called hybrid grey wolf and whale optimization (HGWWO) algorithms, that integrates two algorithms, namely, the grey wolf optimizer (GWO) and the whale optimization algorithm (WOA), with the purpose of conjoining the advantages of each algorithm for minimizing costs, energy consumption, and total execution time needed for task implementation, beside that improving the use of resources. Assessment of the aims of the proposed approach is carried out with the help of the tool known as CloudSim. As pointed out by the results of the experimental work undertaken, the proposed approach has the capability of performing at a superior level by comparison to the original algorithms GWO and WOA on their own with regard to costs, energy consumption, makespan, use of resources, and degree of imbalance.

1. Introduction

Among the most well-known uses of metaheuristics for optimization purposes is the scheduling of tasks allocated on sequential or parallel processes. A general definition of task scheduling is the maneuvering of tasks to a particular aggregation of resources distributed in several organizational divisions in timely manner, while tasks refer to atomic units intended for planning and allocation to a resource [1]. Two forms of scheduling are distinguished, namely, static scheduling, in which the scheduler has knowledge of everything regarding tasks and resources, and dynamic scheduling, in which there is no information about the tasks [2]. Scheduling is devised to exploit resources as quickly as possible and the standard algorithms underpinning scheduling include first-come first-served (FCFS), shortest job first (SJF), round robin (RR), Min-Min, and Max-Min.

However, in the context of cloud computing, the abovementioned algorithms are not effective for optimization. Cloud computing is designed to support online service distribution to various destinations and is made up of frontend constituents (e.g., clients and mobile devices) and back-end constituents (e.g., servers, applications, storage devices, and data centers). Cloud computing has become pervasive in every aspect of life owing to the fact that it performs to a high level, is flexible and accessible, ensures a balance of service and demands, and demonstrates high computing power [35].

Optimization has importance for every aspect of life and is geared towards improving use of financial resources, energy use, and time, as well as enhancing performance, output, efficiency, and income as much as possible. It can be said that optimization seeks to identify optimal solutions and at the same time exploiting outcomes to the maximum. Optimization is relevant to numerous domains, including engineering, industry, finance, business, projects, management, transport, social sciences, medicine, military and defense, ICT, and numerical problems.

The restricted availability of money, time, and resources influences the practical implementation of optimization [6]. Optimization and modeling based on simulation are primarily concerned with algorithm efficiency, numerical simulator efficiency and precision, and selection of a suitable algorithm. A variety of optimization methods exist for determining whether a problem is practical or not. Metaheuristics is one such method of exceptional popularity.

Drawing inspiration from nature, metaheuristic algorithms yield reliable outcomes and are more beneficial than standard algorithms [7, 8]. The major classes of metaheuristic algorithms are computational intelligence (CI), biology-based CI (BCI), physics-based CI (PCI), chemistry-based CI (CCI), and mathematics-based CI (MCI) [9]. However, by comparison to other fields, such as physics, chemistry, and mathematics, metaheuristics is generally thought to be yet underdeveloped [10].

Two major categories of metaheuristic optimization algorithms have been identified, namely, local and global. Local algorithms include tabu search (TS), greedy randomized adaptive search procedure (GRASP), and iterated local search (ILS). Meanwhile, global algorithms display an explorative character and include ant colony optimization (ACO), genetic algorithms (GA), and particle swarm optimization (PSO). Metaheuristics have garnered enormous appeal due to the fact that they are uncomplicated, flexible, do not involve mechanisms based on derivation, and avoid local optima [9]. Problems of task scheduling are regarded as optimization problems, whereas a heuristic approach seeks to identify an almost ideal solution with minimal computational time; a metaheuristic approach seeks to identify the most appropriate solution based on a series of rules via number of loops until the best solution is achieved.

From the latest metaheuristic algorithms for addressing optimization problems by identifying global optimal solutions are the grey wolf optimization (GWO) algorithm and the whale optimization algorithm (WOA), which have been respectively introduced in 2014 [11] and 2016 [12] and are inspired by the behavior of grey wolves and whales. These algorithms are primarily characterized by the fact that they extend nominee solutions in every optimization iteration [13].

The problem of cloud task scheduling can be addressed by integrating GWO and WOA in a hybrid approach entitled hybrid grey wolf and whale optimization (HGWWO) algorithm. By integrating the two types of algorithms, hybrid approaches can be created that maximize the strengths of the individual algorithms whilst minimizing their weaknesses [14] that why the need hybridization, beside that hybrid metaheuristic algorithms are more efficient and flexible and perform better than traditional metaheuristic algorithms [15]. Furthermore, hybrid algorithms integrate the features of various metaheuristic approaches and synergy exploitation. A wide range of such algorithms have been developed to promote new-generation metaheuristics.

In [16], the latest approaches for integrating metaheuristics and precise algorithms were explored, while in [17], a novel hybrid approach was proposed, drawing on krill herd and cuckoo search tactics for global optimization tasks. In [18], SA and WOA were integrated in a hybrid approach to facilitate the selection of features, whilst in [19], a hybrid strategy combining GW and differential evolution (DE) mutation was suggested for avoiding local optima. Furthermore, hyperheuristic algorithms have been proposed and summarized in a large number of studies [2023]. In [24], it was argued that the lowest level of energy of a molecule could be attained by combining GWO and GA, whilst in [25], WOA was made to perform better by employing a DE algorithm within a hyperheuristic algorithm. Optimization can be successfully achieved by exploiting various metaheuristics and integrating them to address diverse problems.

In the present paper, it is proposed that the problem of task scheduling can be solved by implementing a hybrid approach (HGWWO) that integrates GWO and WOA. The remainder of this study is structured in the following way. In Section 2, an overview of cloud task scheduling, GWO, and WOA is provided. In Section 3, other relevant studies are reviewed. In Section 4, the mathematical model is presented, while in Section 5, the proposed process is delineated. In Section 6, the outcomes of the simulation are discussed. Last but not least, in Section 7, conclusions are drawn.

2. Background

Representing a domain of computational intelligence (CI) and metaheuristic algorithms drawing inspiration from the natural world are classified into four types. BCI metaheuristic algorithms include evaluation and swarm algorithms [26]. Swarm algorithms are particularly popular in the majority of fields because it provides greater advantages compared to other algorithms and can address optimization problems more effectively [27, 28].

The latest generation of swarm algorithms using BCI includes WOA and GWO [29]. By contrast to metaheuristic algorithms, hybrid metaheuristic algorithms display a superior performance, being more flexible and effective [15]. As standalone methods, both WOA and GWO present a few limitations, such as being occasionally fixed in local optima solutions [30]. Such limitations can be overcome by applying these algorithms alongside other methods or metaheuristics. On this basis, the present study aims to address the problem of cloud task scheduling by adopting a GWO-WOA hybrid approach.

2.1. The Problem of Task Scheduling

A task is the basic computational unit for running on a node or resources. A job comprises multiple tasks requiring divergent processing capacities and resources. Scheduling can be defined as the assignment of different jobs to existing resources within a certain timeframe according to memory, CPU, nodes, deadline, priority, and other factors. Scheduling has implications for both cloud consumers and cloud providers [31]. However, the cloud environment can be made more efficient and high-performing through resource use optimization. Cloud computing facilitates user access to computing services over the Internet and can be distinguished into three types, namely, public, private, and hybrid clouds [32]. Users, programmers, and administrators access different services offered by cloud providers, namely, Software as Service (SaaS), Platform as Service (PaaS), and Infrastructure as Service (IaaS), respectively [33]. Task scheduling can be understood as the planning of tasks according to a particular pool of resources that may be allocated between several administrative domains [32].

The design and implementation of scheduling algorithms must take into account several factors, including cost, delay, priority, deadline, security, and energy efficiency, as well as the goals of scheduling. From the perspective of cloud services, the latter can be classified in relation to service providers and service users, as seen in Figure 1 [33]. As multitasking and multiplexing have become essential requirement of the latest applications (e.g., IoT and AI), scheduling algorithms are becoming increasingly in demand [34]. Standard scheduling algorithms (e.g., FCFS, SFJ, RR, Min-Min, and Max-Min) are not very effective at addressing problems of task scheduling and optimization within the context of cloud computing. The complexity and growing frequency of task scheduling in the cloud environment require a metaheuristic approach, whereby the search for the most appropriate solution is based on a series of rules via a number of loops until the best solution is achieved. Such an approach can improve system speed and responsiveness [26].

2.2. Grey Wolf Optimization Algorithm

Drawing on the hunting behavior displayed by wild grey wolves (Canis lupus), Mirjalili and colleagues developed the GWO algorithm in 2014 as a method of effectively solving complicated problems based on population agents where living in packs and hierarchical organization comprising several ranks (e.g., α, β, δ, and ω) are some of the characteristics of grey wolves [11]; the hierarchical organization of grey wolves consists of four tiers, with the first tier representing the alpha, decision-maker, and leader (ideal solution), the second tier representing the beta, which supports decision-making and is subordinate to alpha (second best solution), the third tier representing the delta, which is subordinate (second best solution), and the fourth tier representing the omega, which is subordinate (rest of the solutions).

In addition to their hierarchical organization, grey wolves also distinguish themselves through their hunting behavior, which is divided into three stages: prey tracking, chasing, and approaching; prey pursuit, circling, and harassing; and prey attack. For the purposes of GWO development and implementation of optimization hunting method as shown in Figure 2, also the mathematical modeling of grey wolves’ hierarchical organization must be undertaken as follows [11]:(1)Social hierarchy:α: fittest solutionβ: second solutionδ: third solutionω: rest of the solutionsIn the above, the ideal solution (i.e., hunting optimization solution) is led by α, β, and δ, which are followed by ω.(2)Encircling prey: grey wolves’ encircling of prey during hunting is mathematically modeled by the following equations [11]:where t is the current iteration, , are coefficient vectors, is the position vector of the prey, and is the position vector of a grey wolf.where is linearly decreased from 2 to 0 and , is the random vector in range [0, 1].Hunting: the hunt leader is the alpha, which represents the ideal solution. The first three solutions are retained, while the others are eliminated for position update, as expressed by the following equations [11]:(3)Attacking prey: the wolves attack the prey when the latter stops moving.When the wolves approach the prey, there is a reduction in the random value a [−a, a] from 2 to 0, when the A values are in the range [−1, 1]. The attack occurs if [A] is less than 1.To a certain extent, the encircling strategy reflects exploration. However, a larger number of operators is needed for the purposes of exploration. The GWO element C also prioritizes exploration. Equation (4) shows that the vector includes random values in the range [0, 2] [11].

2.3. Wale Optimization Algorithm

Inspired by the bubble-net feeding strategy of humpback whales (Megaptera novaeangliae), Mirjalini and Lewis [12] devised the WOA, which is a metaheuristic optimization algorithm based on swarm and CI. The hunting strategy means the whales target prey, dive beneath it, generate bubbles, and move in a spiral shape to direct the prey into the bubble net. Figure 3 shows the hunting strategy [12]. WOA is a highly popular approach with an increasingly wide range of possible applications owing to the numerous benefits it affords, such as the fact that it is efficient, straightforward to apply, and promotes cloud computing robustness and adaptability. The whale behavior of relevance to WOA is prey encircling, spiral bubble-net feeding, and prey search.(1)Prey encircling: equations (8) and (9) represent whale behavior in terms of prey localization and encircling [12]:where t is the iteration steps, and are the coefficient vectors, is the position vector of the best solution, is the position vector, || is the absolute value, (.) element-by-element multiplication.Equations (10) and (11) give and [12]:where is iteratively (linearly) decreased from 2 down to 0 over the course of iterations and is the random vector with size between [0, 1].(2)Two methods are used to copy the spiral bubble-net feeding:An increase in the value of a in the above equation attenuates the encircling method. Calculation of the distance between the whale at (X, Y) and prey at (X, Y) helps to update the spiral shape location.To model the movement of whales in smaller circles and in a spiral shape, 50% likelihood must be surmised for selection between the method of shrinking encircling and the spiral model for updating whale location. The spiral-shaped movement is given by the following equations [12]:where b is a constant for clarifying the shape of logarithmic spiral, l is is the arbitrary number uniformly distributed between [-1, 1], and P is a random number in range [0, 1](3)Prey exploration: equations (14) and (15) give the mathematical modeling of prey search, with decision to move in the direction of the location of a random whale rather than the ideal search solution (global optimizer) when {A} > 1 and decision to select ideal agent when {A} < −1 [12].

3. Literature Review

Within the setting of cloud computing, task scheduling is becoming an increasingly difficult and common problem. This type of problem has been classified by previous studies as an NP-hard problem [35], meaning that it constitutes a heuristic problem. Therefore, numerous algorithms based on heuristics and metaheuristics have been suggested for effectively addressing task scheduling problems by exploiting resource use and reducing makespan as much as possible. Such algorithms include particle swarm optimization (PSO) [36], simulated annealing (SA) [37], genetic algorithms (GA) [38], ant colony optimization (AC) [39], grey wolf optimization (GWO) algorithm [11], whale optimization algorithm (WOA) [12] and hybrid methods; here are some of the recent studies arranged chronically:In [40], Singh and Bansal proposed a new grey wolf optimizer compound with crossover and opposition-based learning named GWO-XOBL to overcome inadequate variety of wolves prone which led to local optima, and at the end, GWO performance will decrease, the new algorithm evaluated using 13 well-known standard benchmark problems to give expressively performance enhancement compared to GWO and other algorithms.In [41], Bansal and Singh proposed enhancement to some issues related to GWO algorithm, low exploration and slow convergence rate using explorative equation and opposition-based learning (OBL), where results show better effectiveness than other metaheuristic algorithms; 23 standard benchmark test problems are used to validate the proposed enhancement.In [42], a modified GWO (MGWO) was proposed to schedule jobs on virtual machines and enhance performance. Outcomes revealed that the algorithm performed better than WOA and GWO in terms of cost and makespan.In [43], a multiobjective model was proposed to enhance task scheduling in cloud computing via vocalization of WOA, which performed better compared to both WOA and RR owing to makespan, cost, imbalance extent, and resource and energy use.In [44], prioritization of software project specifications was achieved via GWO, which afforded 30% improvement compared to analytical hierarchy process.In [13], cloud task scheduling and software specification prioritization were undertaken with a GWO-WOA hybrid method based on the RALIC dataset, yielding precision of 91%.In [45], various datasets were assessed to address maximum flow from a network source to destination based on GWO and K-means clustering algorithms. Acceptable results were obtained.In [46], a cloud provider pricing strategy was proposed to cater to providers’ requirements, with the overall aim being selection of ideal cloud resources. In this strategy, customers paid more than what they needed to balance the dissonant objectives. Costs were reduced while QoS performance was enhanced by a multiobjective optimization algorithm.In [47], a model for creation of effective virtual machine allocation and scheduling strategies was proposed, taking into account optimization of data center operational costs and running application performance humiliation. The approach was confirmed to produce resourceful virtual machines and decrease both operational costs and application performance humiliation.In [48], the profit maximization algorithm (PMA) was proposed to determine price sequential variation in hybrid cloud task for profit increase in private cloud with assurance of service delay bound of delay-tolerant tasks. A secondary problem occurring in every iteration was addressed through a hybrid heuristic optimization algorithm parallel annealing particle swarm optimization, which significantly improved throughput and the profit of private cloud and energy aware scheduling by comparison to five other algorithms.In [49], an ACO-based multiobjective scheduling approach was suggested. This hybrid approach was designed for scheduling and improving private and public cloud resources according to deadline and cost, number of deadline contraventions, and use of private resources.In [50], the major cloud problem of energy use was addressed by proposing an aware scheduling algorithm for scientific workflows with specified deadline, which reduced execution time and energy use.In [51], a deadline and budget distribution-based cost-time optimization algorithm was proposed, taking into account task scheduling deadline and budget.In [52], PSO coupled with bicriteria priority, deadline, and budget factors was proposed to reduce execution time and cost and performed better than PSO.In [53], an ACO algorithm was employed to minimize task scheduling makespan, which performed better than FCFS and RR.In [54], PSO was proposed for undertaking multiobjective cloud task scheduling, which reduced all costs and the transfer and execution time.In [55], load balancing and makespan minimization were achieved via a load balancing ACO algorithm, which displayed a superior performance to FCFS and ACO.In [56], GA and AA were integrated in a genetic simulated annealing algorithm, which effectively undertook resource search and distribution based on the QoS requirements of various task types.In [57], the cost-based algorithm for cloud task scheduling was enhanced through a grouping strategy, which could be useful especially for resources with different costs and computation performance that could lead to task execution completion before the established deadline. The grouping strategy reduced computational costs as well as task execution time.In [58], particle swarm optimization (PSO) was applied to schedule cloud workflow applications, reducing the overall execution cost three-fold compared to the best-resource selection algorithm.In [59], task scheduling was successfully achieved based on a genetic algorithm (GA).

4. Mathematical Model

Task scheduler is required when identical resources and virtual machines are simultaneously demanded by customers. Fitness parameters determine the task scheduling method and the ones chosen for this work are resource use, energy, round-trip time latency, and task weight [43]. Equation (16) indicates that the fitness function returns at highest value.

In the above, resource use and required energy for cloudlet application in a virtual machine are respectively denoted by Ru and E, round-trip time latency is denoted by L, and general task weight underpinned by requester category and execution task significance is denoted by FTw. The high priority and latency are emphasized by the (1−E) addition to the equation.

Within cloud computing, the amount of CPU resources and storage required by tasks differs. Equations (17) and (18) give the Ru parameters of CPU cost (Ccost) and memory cost (Mcost) [60, 61].

In the above, the base cost when a resource is used minimally to maintain machine operation to receive incoming requests is denoted by Cbase and the length of time for Task i (Ti) implementation in virtual machine j (VMj) is denoted by tij, while VMj cost and the cost related to CPU transmission for target task fulfilment are respectively denoted by Cj and CTrans. Mcost is given by the following equation [60, 61]:

Used energy and computational time are correlated [62], so equation (20) defines the energy quantity required by Ti in VMj as in [63], while equation (21) [63] defines the total energy used by VMj for cloudlet completion as in [60].

In the above, ECTij and respectively denote the energy use time and VMj power used to execute Ti.

The entire phase latency (L) time is denoted by round-trip time, including transmission beginning, reception, and response wait time. Equation (22) gives latency [63].

In the above, EET and ETT respectively denote the anticipated execution time and the anticipated transmission time.

CPU speed, RAM speed, task size, and bandwidth underpin EET. Task implementation is fast for high CPU and RAM speed, meaning that task processing time is inversely correlated with CPU and RAM speed. Furthermore, tasks of short and medium size are executed quicker than long tasks. Equation (23) gives EET, while equation (24) gives ETT [63].

Task prioritization determines the important factor of FTw, which comprises client type and task weight. Client type comprises several client privilege classes (Table 1) that customers can choose to join and participate in through fee payment and use of requested services provided every week or month according to task size and the volume of reserved resources. Tasks can use existing resources according to their priority weight (high, medium, or low) (Table 1). In the present mathematical model, the employed priority weight factors are 0.4, 0.3, 0.2, and 0.1, which were chosen to give a total of one. Equation (25) gives the FTw.

In the above, client type and task weight are respectively denoted by CT and Tw.

5. Proposed Algorithm

This paper puts forth a hybrid GWO-WOA algorithm (HGWWO) and the related pseudocode is presented as Algorithm 1. HGWWO was designed for task scheduling into VMs, beginning with an arbitrary group of solutions, with the present solution being deemed the ideal one and serving as the basis for iteration performed until the optimal solution is attained.

Input: tasks (T1, T2, T3,..., Tn), virtual machines (V1, V2, ..., Vk)
Output: allocated independent tasks to the virtual machines
BEGIN
Initialize the population//initialization phase
Initialize the current best agent WG
While (T < maximum number of iteration)//optimization phase
Calculate the fitness of each search agent using equation (16)
For each search agent
Update P, R, C, l, and r.
If ()
If (|R| < 1)
Select , , and
Update the position of the current search agent using equation (7)
Else if (|R| > 1)
Update the position of the search agent according to the randomly selected agent using equation (15).
End if
End if
If ()
Update the position of search agent using equation (12)
End if
End for
If (any search agent goes beyond the search space and amends it)
Calculate the fitness of each search agent
Update , , and
T = T + 1
End while//end main loop
Return WG

The HGWWO stages are(i)Initialization: creation of an arbitrary group of search agents WGi (i = 1, 2, 3, …, k)(ii)Fitness determination: equation (16) is employed to determine the fitness function, with the ideal search agent G∗ being chosen according to assessment(iii)Prey encircling: based on the premise of prey location immobility, the search agents encircle the prey and the ideal solution (i.e., prey) is considered to be the present solution; position updating by other search agents is done according to the present optimal agent(iv)Exploitation: this involves the strategies of shrinking encircling and spiral updating position; shrinking encircling involves determination of new search agent position, with search agent r ⃗ having a value within [−1, 1] and the original position of the search agent and present ideal agent should be used to obtain the new value; the second strategy involves updating agent location based on the spiral technique.(v)Exploration: updating of search agent location based on a search agent chosen arbitrarily.(vi)Termination: updating of the value of the ideal search agent is done if a search agent leaves the search area, with commencement of subsequent iteration; this continues until the optimal solution is identified. Briefly, HGWWO is intended to identify the ideal search agent (i.e., cloud task) with the highest fitness value.

This scheduler uses the suggested multiobjective model for cloud task scheduling in the manner of earlier schedulers. Creation of an arbitrary group of search agents is the starting point, followed by task allocation to VMs according to their fitness value when the search agents look for prey. The fittest solution is established as the task with the highest value and is prioritized for allocation to an existing VM based on equation (16), taking into account makespan, resource use, cost, energy consumption, and degree of imbalance (DI).

6. Results and Discussion

A personal computer (Intel Core i-7 processor, 16 GB RAM, and Windows 10 operating system) was used to run CloudSim with Java to empirically assess how the proposed algorithm HGWWO performed. This algorithm was contrasted against WOA and GWO regarding makespan, cost, resource use, energy consumption, and DI.

Makespan and cost respectively refer to the total execution time needed for task implementation [64, 65] and the cost of implementing tasks on particular VMs. Task length, data transfer cost, and storage are determinants of cost [34, 65]. Cloud service providers benefit from expansion of resource utilization, so permitting customers to rent resources of restricted availability ensures full use of resources and hence profit maximization [34, 66]. Due the energy consumption which is the fourth evaluation Metrix, it is obvious that exploitation for CPU and resources directly possessions power ingestion by tasks, where energy consumption increase if a CPU is not busy also if resources expose for heavy demand [6769] and the last evaluation metric is DI which calculates the discrepancy through VMs [70], where the following equation is used to calculate it:where Tmax is the maximum execution time of VMs, Tmin is the minimum execution time of VMs, and Taverage is the average execution time of VMs.

The HGWWO outcomes were contrasted against those of GWO and WOA over a range of 100–500 autonomous cloudlets with 8, 16, and 32 VMs selected in earlier research. Table 2 presents the applied CloudSim configuration, with two hosts, 8, 16, and 32 VMs, two data centers, and 100, 200, 300, 400, and 500 cloudlets, where 30 runs are applied for each scenario then the average is calculated for them.

Regarding makespan, HGWWO performed better compared to traditional GWO and WOA for different number of VMs and cloudlets, Figures 46. The superior performance of HGWWO can be attributed to the effective exploration and exploitation capability of this algorithm. As can be seen in Figure 7, HGWWO employed, on average, 8% more resources compared to WOA and 10% more resources compared to GWO for 16 VMs and different number of cloudlets.

The cost of task scheduling associated with different number of cloudlets on 8, 16, and 32 VMs is detailed in Figures 810, respectively. Performance as well as the number of appropriate and available resources depend to a significant extent on the number of cloudlets. To put it differently, it is more challenging to attain a global optimal solution in cases with an excessive number of tasks. On the other hand, it is straightforward to attain a global optimal solution in cases with excessive amounts of available resources due to the fact that makespan, scheduling cost, and waiting time are all increased when there are numerous tasks but insufficient existing resources. By comparison to WOA, HGWWO achieved a decrease of 40% in the overall execution cost of cloudlet scheduling, whilst by comparison to GWO, HGWWO achieved a 44% decrease in the overall execution cost.

Due the average energy consumption evaluation matrix for HGWWO algorithm of 32 VMs, Figure 11 indicates that HGWWO consumes less energy than WOA and GWO algorithms by 57% and 54.3%, respectively. The overall execution time effects directly on the energy consumption, so HGWWO spends less energy because it has small makespan, but WOA and GWO algorithms have higher makespan, so they spend extra energy.

For tasks (100, 200, 300, 400, and 500) on 32 VMs tested for GWO, WOA, and HGWWO algorithms the DI metric experiment results show more proficient for HGWWO also has a lesser amount of degree of DI regardless of traditional GWO and WOA algorithms which shown in Figure 12.

For calculating percentage of enhancement of HGWWO over WOA and GWO algorithms by using the following equation [71],

Percentage enhancement is calculated for 32 VMs at 100, 200, 300, 400, and 500 numbers of tasks where result enhancements of HGWWO over WOA algorithm are 11.5%, 12.0%, 10.9%, 11.5%, and 13.0%, respectively, but the result enhancements of HGWWO over GWO algorithm are 9.6%, 9.3%, 12.6%, 8.0%, and 9.7%, respectively, due to the high exploration and exploitation of new proposed HGWWO algorithm, beside that exploration stage shows to the process of looking for the talented provinces of the exploration interplanetary as approximately as probable. In other hand showing the proficiency of local exploration around the talented provinces that attained in the exploration step happened during the exploitation phase. HGWWO achieves enhancement exploration and exploitation aptitude due to the supporters who strengthen globally and randomly the exploration regions for searching.

7. Conclusion

In the context of cloud computing, the problem of task scheduling can be addressed through a wide range of methods of metaheuristic optimization. In the present paper, the GWO and WOA algorithms were integrated into a new algorithm (HGWWO) proposed for solving task scheduling problem. Decreasing makespan, cost, and energy consumption and getting the most out of the resource use are the major goals for the new HGWWO algorithm. The factors considered for evaluating the application of the new algorithm were makespan (total execution time needed for task implementation), cost of implementing tasks on particular VMs, resources use, energy consumption, and degree of imbalance, while CloudSim was the software employed for HGWWO execution. Comparative analysis of HGWWO against the GWO and WOA algorithms in terms of performance revealed that improved results can be achieved with HGWWO than with the other two algorithms; regarding makespan, HGWWO performed better compared to GWO and WOA for different number of VMs and cloudlets because the effectiveness of exploration and exploitation capability of this algorithm also HGWWO has, on average, 8% and 10% more resources compared to WOA and GWO for 16 VMs and different number of cloudlets, respectively; finally, HGWWO has 40% and 44% enhancement in the overall execution cost of cloudlet scheduling compared to WOA and GWO, respectively.

Choosing fitness constraints and their values effect directly on the optimization solution, for insuring parameters values are optimal to guarantee lowest energy depletion and extreme utilization resource, which is the cons of this study. In short coming future, I intend to use evolutionary algorithms such PSO and GA, to solve the task scheduling problem.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The author declares that he has no conflicts of interest to report regarding the present study.

Acknowledgments

The author expresses his gratitude to the World Islamic Sciences and Education University, Jordan, for administrative and technical support and also to Dr. Raja Almasadeh.