Next Article in Journal
On Numerical Analysis of Bio-Ethanol Production Model with the Effect of Recycling and Death Rates under Fractal Fractional Operators with Three Different Kernels
Previous Article in Journal
A New Hybrid Synchronization PLL Scheme for Interconnecting Renewable Energy Sources to an Abnormal Electric Grid
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Intelligent Chimp Optimizer for Scheduling of IoT Application Tasks in Fog Computing

by
Ibrahim Attiya
1,
Laith Abualigah
2,3,
Doaa Elsadek
1,
Samia Allaoua Chelloug
4,* and
Mohamed Abd Elaziz
5,6,7
1
Department of Mathematics, Faculty of Science, Zagazig University, Zagazig 44519, Egypt
2
Faculty of Computer Sciences and Informatics, Amman Arab University, Amman 11953, Jordan
3
School of Computer Sciences, Universiti Sains Malaysia, Pulau Pinang, George Town 11800, Malaysia
4
Department of Information Technology, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia
5
Faculty of Computer Science & Engineering, Galala University, Suze 435611, Egypt
6
Artificial Intelligence Research Center (AIRC), Ajman University, Ajman 346, United Arab Emirates
7
Faculty of Science, Zagazig University, Zagazig 44519, Egypt
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(7), 1100; https://doi.org/10.3390/math10071100
Submission received: 15 January 2022 / Revised: 24 February 2022 / Accepted: 21 March 2022 / Published: 29 March 2022

Abstract

:
The cloud computing paradigm is evolving rapidly to address the challenges of new emerging paradigms, such as the Internet of Things (IoT) and fog computing. As a result, cloud services usage is increasing dramatically with the recent growth of IoT-based applications. To successfully fulfill application requirements while efficiently harnessing cloud computing power, intelligent scheduling approaches are required to optimize the scheduling of IoT application tasks on computing resources. In this paper, the chimp optimization algorithm (ChOA) is incorporated with the marine predators algorithm (MPA) and disruption operator to determine the optimal solution to IoT applications’ task scheduling. The developed algorithm, called CHMPAD, aims to avoid entrapment in the local optima and improve the exploitation capability of the basic ChOA as its main drawbacks. Experiments are conducted using synthetic and real workloads collected from the Parallel Workload Archive to demonstrate the applicability and efficiency of the presented CHMPAD method. The simulation findings reveal that CHMPAD can achieve average makespan time improvements of 1.12–43.20% (for synthetic workloads), 1.00–43.43% (for NASA iPSC workloads), and 2.75–42.53% (for HPC2N workloads) over peer scheduling algorithms. Further, our evaluation results suggest that our proposal can improve the throughput performance of fog computing.

1. Introduction

The Internet of Things (IoT) consists of massive distributed nodes, in which each node comprises various sensors [1]. Each sensor inside a node realizes the differences that happened in the enclosing area inside its authorized bandwidth [2,3]. Subsequently, after clustering and evaluating the gathered data, the traditional decisions and the arranged actions are made [4]. IoT is a system discovered in different applications, such as manufacturing, healthcare, agriculture, urban area, etc. Cloud computing (CC) is a data access stage for data backup and processing because it has high storage and processing  [5,6,7]. The vast data produced by IoT devices (workload) is presented to CC for processing (task offloading) [8]. However, transferring the data straight to the cloud may cause network costs or, in another term, bandwidth overhead. The cloud typically delays the uploaded data processing latency because of the long response time [9]. Consequently, a new alternative, namely, fog computing (FC), was introduced to address the abilities of the IoT devices [10,11].
Cisco launched FC technology in 2012, which has appeared as an architecture to promote the quality of services afforded to employers by CC [12,13]. Fog nodes are not valuable in computing applications; thus, it is utilized together with CC. Lately, CC presents the ideal alternative for various employers to handle, archive, and process their data in internet data centers. Regrettably, the need for CC devices has grown to utilize tremendous computing devices with a convenient pricing paradigm that simulates pay-on-use [14]. The extreme demand for CC benefits increases latency and needs a wide-range network. The huge latency produced by the cloud can transform refinement into a blemish [15]. For illustration, creating a trustworthy real time is essential to the science of medicine, as it follows patients’ health. Hence, assistance is needed and must produce new data centers to satisfy their users’ objectives and guarantee the quality of services (QoSs) provided [16,17]. The FC structure is presented in Figure 1.
Task scheduling in modern environments, such as CC, has a large-scale processing system [18]. Still, some aspects affect assignment execution, such as nonequilibrium load and little aid usage [19]. This procedure consumes considerable uncertainty and increases the cloud data center load; thus, the appearance of FC is crucial. In FC, task scheduling is the most fundamental issue to balance the requests and resources [20,21]. In IoT backgrounds, the user’s requirements are different. Simultaneously, the FC platform’s assistance arrangement is much higher than the CC platform’s service performance. Hence, assigning the restricted resources effectively in FC and distributing them according to the consumers’ needs to obtain the optimal scheduling aim is a critical problem that should be tackled.
Merging fog with CC is a new case in modern IoT investigation [22,23]. As is known to all, CC, inclusive hybrid, and public clouds are devices and waitpeople linked to the Internet, usually assisting users in a wide area. Recently, the literature presented several methods attempting to address task scheduling problems in IoT environments [24,25]. For example, Wang et al. in [21] presented a novel task scheduling technique utilizing a new firework algorithm (I-FA) for decreasing the processing time of the task and resource in FC environments. The explosion radius discovery method is provided to the conventional firework algorithm in the proposed I-FA. Mtshali et al. in [26] introduced a task scheduling method using an intelligent approach to obtaining a practical method that can find the optimal power price with a lower uncertainty in FC backgrounds. The results of the given intelligent approach showed that it obtained better performance than other methods. Ghobaei-Arani et al. in [27] proposed a task scheduling approach based on the moth-flame optimizer to locate various tasks to FC nodes optimally. This approach attempted to obtain the QoSs satisfaction by reducing the total execution time. Yang et al. in [28] introduced a multi-objective strategy for solving task scheduling problems in FC environments. This method attempted to enhance the task computational needed time and find the optimal cost. In [29], a new intelligent task scheduling method was proposed in CC environments. The proposed method combined the Q-learning approach and deep neural network powers. The results of the proposed Q-learning approach are promising, and it obtained better performance than other comparative methods.
Chimp optimization algorithm (ChOA) is a novel search technique suggested by Khishe et al. [30]. The ChOA primary motivation is the general hunting performed by intelligent chimps. ChOA is devoted to solving several optimization problems according to these behaviors. For example, Khishe et al. [31] proposed a modified neural network (NN) using ChOA, which aims to determine the optimal weights for NN. This algorithm was evaluated by using it to classify the underwater acoustical dataset. However, this traditional ChOA algorithm suffers from some restrictions, such as being stuck in the local optimum and slow convergence, which impacts the quality of the solutions. Therefore, Kaur et al. [32] improved the behavior of ChOA by combining it with the sine–cosine algorithm. However, the modifications performed on ChOA still require further improvements. Additionally, several other optimizers can be used to solve these problems [33,34,35,36].
The proposed model depends on improving ChOA using the operators of the marine predators algorithm (MPA) [37] along with a disruption operator (DO). In the developed model, each of the MPA and DO has its own function, for example, MPA is used to enhance the local search process of ChOA and keep it from becoming stuck in the local point, whereas the DO is applied to improve the exploration ability of ChOA while maintaining the diversity of agents. In general, MPA has demonstrated its efficiency in solving different optimization problems, for example, forecasting cases of COVID-19 [38], power resources [39], photovoltaic array reconfiguration [40], and others [41].
In this study, an intelligent IoT task scheduling-based approach in FC environments is proposed. The proposed method improved the performance of the conventional ChOA, using external operators from the MPA and DO, so it is named CHMPAD. As the original method (ChOA) is safer from some issues during the optimization process in some cases, these issues are the low diversity of the candidate solutions. This problem hinders the development process from increasing the similarity in the available solutions, making it more difficult to find new and different solutions. The reason behind utilizing these operators is to incorporate their advantages together in order to develop an efficient method that can effectively address various task-scheduling-based problems. Comprehensive experiments with different numbers of tasks are conducted to evaluate the given CHMPAD method’s performance. The achieved results reveal that the presented CHMPAD obtained better results in overall test scenarios. It is a superior task scheduling method compared to other optimization-based intelligent scheduling methods.
The contributions stated in this research are presented as follows.
  • An intelligent task scheduling method is proposed, using an improved ChOA that depends on MPA and DO for IoT utilization in FC environments.
  • The makespan, performance improvement ratio, and throughput time measures are considered to confirm IoT devices’ QoSs requirements.
  • We validate the performance of the proposed CHMPAD method in terms of the evaluation measures by conducting a set of experiments with various numbers of tasks, using a comprehensive CloudSim toolkit platform.
The structure of this paper is given as follows: in Section 2, the background for the problem mathematical presentation, the chimp optimization algorithm and the marine predators algorithm are presented. In Section 3, the proposed IoT-based TS method utilizing the improved chimp optimizer (CHMPAD) is presented. The evaluations and comparisons are shown in Section 4. We seal the outcomes of this research and suggest future directions in Section 5.

2. Background

This section aims to present the essential information for the problem formulation, the mathematical concepts of the chimp optimization algorithm, the marine predators algorithm, and disruption operator.

2.1. Problem Formulation

The task scheduling in IoT is considered a decision-making optimization problem that aims to allocate appropriate resources to the users required to process/task during a specific time [42]. The techniques used to tackle this problem in FC must consider users and cloud providers’ perspectives, simultaneously.
The mathematical formulation of the IoT task scheduling (TS) in the fog environment can be defined by assuming there is a data center (DC) that consists of N p h number of physical servers (PS) that are connected by using links which have a high-speed transmission. Each of those PSs contains N v m virtual machines (VMs). These VMs are used to provide the services to the cloud customers’ tasks; each VM has its hardware and software configurations. Moreover, the availability of the VM and characteristics of the tasks of users are passed to the cloud broker, who has the responsibility to determine the optimal allocation of those tasks to suitable VMs. This process is formulated by considering that there are N T IoT tasks requested by users. Each of them has a specific length ( T l e n ), which represents the processing requirement, and millions of instructions (MI) measure it. Then the execution time for completing ( E T C ) a certain task on a specific VM is computed as
E T C i j = T l e n i V M P o w j , i = 1 , 2 , . . . , N T , j = 1 , 2 , . . . , N V M
In Equation (1), the E T C i j denotes the expected time to compute the task i on V M j . V M P o w j denotes the processing speed of the jth V M . Thereafter, the E T C for each task overall the VMs is given as
E T C = E T C 11 E T C 12 . . . E T C 1 N V M E T C 21 E T C 22 . . . E T C 2 N V M . . . . . . . . . . . . E T C N T 1 E T C N T 2 . . . E T C N T N V M
The scheduling of IoT tasks in FC is considered an optimization problem that reduces the completion time (or makespan). Then, the formulation of this problem is given as
F i t = min max j 1 , 2 , . . . , m i = 1 n E T C i j

2.2. Chimp Optimization Algorithm

The chimp optimization algorithm emulates the intelligent behaviors of chimps [30]. Mathematical models of an autonomous community are presented: driving, blocking, chasing, and attacking. It would then define the corresponding ChOA algorithm.

2.2.1. Chasing and Driving

During discovery and extraction processes, the prey is hunted. To model the chasing and driving of the prey mathematically, Equations (4) and (5) are suggested, respectively.
D = | c × X b ( t ) m × X c h i m p ( t ) |
X c h i m p ( t + 1 ) = X b ( t ) a × D
where t denotes the current iteration, X c h i m p stands for the position of chimp and X b denotes the prey position. a , m , and c denote the coefficients and they are updated as
a = 2 × f × r 1 f , c = 2 × r 2
m = C h a o t i c _ v a l u e
In Equation (6), f is decreased non-linearly through the iteration course, from 2.5 to 0. r 1 and r 2 are random vectors. m stands for a chaotic value formed using different chaotic maps that expresses the impact of chimp sexual motivation in the hunting phase in this vector.

2.2.2. Attacking Method (Exploitation Phase)

The behavior of the chimp to attack the prey can be simulated by exploring the search space (using driving, blocking and chasing) about X b followed by encircling it. Therefore, the mathematical modeling of these behaviors is performed using the best four positions and forcing the other chimps to follow them. This is formulated using Equations (8)–(10).
D A = | c 1 X b m 1 x | , D B = | c 2 X B m 2 x | , D C = | c 3 X C m 3 x | , D D = | c 4 X D m 4 x |
x 1 = X b a 1 ( D A ) , x 2 = X B a 2 ( D B ) , x 3 = X C a 3 ( D C ) , x 4 = X D a 4 ( D D )
X ( t + 1 ) = ( x 1 + x 2 + x 3 + x 4 ) / ( 4 )

2.2.3. Prey Attacking (Utilization)

The chimps will strike the prey in the final stage and end the chase at the time the prey stops running. To simulate the process of fighting, the f value is decreased and the a is updated according to the value of f inside [ 2 f , 2 f ] .

2.2.4. Searching for Prey (Exploration)

The mechanism of exploration between chimps is primarily carried out. They are diverging to hunt for the prey and to strike the prey in aggregate. This is simulated (i.e., divergence behavior) by using either ( a > 1 ) or ( a < 1 ) . This technique displays the process of exploration since the search solutions are forced to diverge and to separate themselves from the prey. Moreover, the value of parameter c [ 0 , 2 ] affects the exploration ability of chimps. The value of c represents random weights, which aims to increase ( c > 1 ) or decrease ( c < 1 ), the influence of the prey, to determine the distance as in Equation (10).

2.2.5. Social Incentive (Sexual Motivation)

In the final stage, gaining meetings and resulting social motivation (sex and grooming) allows chimps to alleviate the hunting duties. Following [30], there is a probability of (50 percent) to update the position either normally or using chaotic maps as formulated in Equation (11).
X c h i m p ( t + 1 ) = X b ( t ) a × D i f μ < 0.5 C h a o t i c _ v a l u e i f μ 0.5
where μ [ 0 , 1 ] is a random number.

2.3. Marine Predators Algorithm

The marine predators algorithm (MPA) [37], similar to other metaheuristics, is a population-based system. It begins by forming the population X as
X = L b i j + r a n d × ( U b i j L b i j )
where L b i j and U b i j are the variables’ lower and upper limits. r a n d stands for the random vector, ranging from 0 to 1. The elite matrix is formed as
E l i t e = X 11 1 X 12 1 . . . X 1 d 1 X 21 1 X 22 1 . . . X 2 d 1 . . . . . . . . . . . . X n 1 1 X n 2 1 . . . X n d 1 ,

2.3.1. Scenarios for MPA Optimization

The process of updating the solution using MPA is divided into three primary stages, which depends on a variant set of velocity ratios and parallel optimization phases as follows:
  • A high velocity ratio or whether X b runs quicker than the predator.
  • In the ratio of unit velocity or where both predator and X b travel at approximately the same time.
  • At a low velocity ratio, as the predator moves faster than X b .
A particular cycle of iteration is assigned for each given process. These measures are illustrated using the basis of rules regulating the essence of predator and prey motion while emulating predator and prey movement in nature.
Phase 1: High-speed proportion or whether the predator is running faster than the prey. In the initial optimization iterations, where the exploration occurs, this situation happens. With a high-speed ratio of ( v 10 ) , the strongest predator approach does not move at all. In this rule, the mathematical model is implemented as
w h i l e ( i t e r < 1 3 M a x I t e r ) s t e p s i z e i = R B ( E l i t e i R B X i ) , X i = X i + P × R s t e p s i z e i
where ⊗ displays entry-wise multiplications, R B contains random numbers according to the Brownian movement representing the normal distribution. The R B emulates the movement of X b . P = 0.5 represents a constant integer, and R [ 0 , 1 ] represents a random uniform number. In case the step size or movement for elevated exploration capacity occurs, velocity is high in the first third of iterations. The current iteration is Iter, while the limit is M a x i t e r .
Phase 2: In this phase, both exploitation and exploration are performed using half of the population. Brownian is the best tactic for the predator in the unit velocity ratio ( v 1 ) , as prey moves in Lévy. This is formulated as
W h i l e 1 3 M a x I t e r < I t e r < 2 3 M a x I t e r
For the first half of X
s t e p s i z e i = R L ( E l i t e i R L X i ) , i = 1 , . . . , N 2 X i = X i + P × R s t e p s i z e i
A vector of Lévy distribution-based random numbers reflecting the Lévy movement is R L . In the Lévy way, the multiplication of R L and prey represents the prey movement. In contrast, the prey movement is simulated by using the phase scale to the prey position. Since the large step size of the Levy distribution is correlated with small measures, exploitation is supported by this section. The second half of X is calculated by the following equation:
s t e p s i z e i = R B ( R B E l i t e i X i ) , i = N 2 , . . . , N . X i = E l i t e i + P × C F s t e p s i z e i
C F = ( 1 I t e r M a x I t e r ) ( 2 I t e r M a x I t e r )
While C F is considered to monitor the phase size for predator motion as an adaptive parameter. The multiplication of R B and elite simulates a Brownian-manner predator movement when the prey changes its location based on the predator movement in Brownian motion.
Phase 3: Low-speed ratio or whether the predator moves quicker than the prey. This represents the last stage of MPA, which is often correlated with high exploitation potential. Lévy is the perfect predator tactic for the low-speed ratio of ( v = 0.1 ) . This process is seen as
w h i l e ( i t e r > 2 3 M a x I t e r ) s t e p s i z e i = R L ( R L E l i t e i X i ) , i = 1 , . . . , N X i = E l i t e i + P × C F s t e p s i z e i
In the Lévy mechanism, the multiplication of elite and R L emulates the predator’s movement, while trying to apply the stage scale to the elite position emulates the movement of the predator to update the position of the predator further. The predator does not move at all in Phase 1, although it moves in Brownian motion in Phases 2 and 3, and it demonstrates the Lévy technique.

2.3.2. Eddy Formation and FAD’s Effect

Fish aggregating devices’ (FADs) impacts, as an environmental concern, are another point that induces a behavioral shift in marine predators. The FADs are treated as local optima with its trapping effect.Consideration of these longer hops eliminates inertia in local optima during the simulation. The influence of FADs is introduced as
X i = X i + C F × L b i j + R R A i j U i f ( r < F A D s ) X i + F A D s × ( 1 r ) + r × D r i f ( r > F A D s )
where R A i j = U b i j L b i j and D r = X r 1 X r 2 . U represents a binary vector with values of zero and one. r is the uniform random number for [ 0 , 1 ] . The vectors L b i j and U b i j contain the lower and upper dimensional boundaries. The subscripts r 1 and r 2 denote random prey matrix indexes.

2.3.3. Marine Memory

In remembering the location where they were active in foraging, marine predators have a clear memory. This capacity is simulated by the MPA memory storage. This matrix stands for the assessment of fitness to upgrade the elite after updating the prey and applying the FADs effect. The fitness of the current solution is contrasted with its value at the previous iteration. If it is fitter, the current one substitutes the solution. This approach also increases the efficiency of the solution with the iteration lapse. Additionally, it stimulates the return of predators with good foraging to the areas of the large prey area.

2.4. Disruption Operator

This section introduces the basics of the disruption operator (DO). In general, the DO is inspired by the astrophysics, and the mathematical formulation of DO is given as  [43]
D O = d i s t i , j × δ ( 1 2 , 1 2 ) i f d i s t i , b 1 1 + d i s t i , b × δ ( 10 16 2 , 10 16 2 ) o t h e r w i s e
In Equation (20), d i s t i , j denotes the Euclidean distance between the agent i and its nearest one j. Whereas the distance between i and X b is given by d i s t i , b . δ ( a , b ) is used to generate random value from [ a , b ] .
The disruption operator aims to improve the MH techniques’ searching process by making them emphasize the diversity of solutions. This leads to improving the exploration of the solutions and the quality of the final solution.

3. The Proposed Task Scheduler

The general structure of the developed task scheduler based on the modified chimp optimization algorithm (CHMPAD) is given in Figure 2. The chimp optimizer’s improvement is achieved by using the operators of MPA to enhance its exploitation ability. Simultaneously, the disruption operator is also applied to maintain the solution’s diversity during the searching process. This leads to increase the convergence rate and the efficiency of the final solution for the task scheduling problem.
The proposed CHMPAD begins by generating a set of N agents (X). Each one refers to a solution for the task scheduling problem. Next, the fitness function ( F i t i ) is used to assess the candidate solutions’ quality X i , i = 1 , 2 , . . . . . . , N . After that, the best solution ( X b ) is determined based on the smallest F i t b value.
The next step is to update X, using MPA operators to improve the exploitation ability and use the disruption operator (DO) to enhance the exploration ability. This process starts by updating the current agent ( X i ), using either the MPA steps or steps of ChOA according to random probability. This strategy allows the MPA and ChOA to be competitive in updating their agents. The last step in updating the agents is applying the DO to maintain the diversity of the solutions. The framework of CHMPAD for the IoT scheduling problem is shown in Figure 2. The following subsections illustrate with more stages of CHMPAD.

3.1. Initial Stage

Within this stage, a population (X) is formed using Equation (21).
X i j = f l o o r ( L b i j + α × ( U b i j L b i j ) ) , α [ 0 , 1 ] , j = 1 , 2 , . . . , n
where, the f l o o r ( . ) function is used to convert the real values to integer values, which belong to the interval [ L b , U b ] . L b = 1 and U b = m are the limits of the boundary. Note that Equation (21) represents the process of converting the original representation of ChOA from a continuous form to discrete form to be suitable for the task scheduling problem.

3.2. Updating Stage

The developed CHMPAD begins by evaluating the fitness value ( F i t i ) (as defined in Equation (3)) for each agent and then finding X b that has the smallest fitness value. This is followed by updating the value of each agent (i.e., X i ) according to the MPA (as in Equations (14)–(19)) or ChOA (as in Equations (4)–(11)) according to Equation (22).
X i ( t + 1 ) = U p d a t e X i u s i n g C h O A i f P r i 0.5 U p d a t e X i u s i n g M P A i f o t h e r w i s e .
In Equation (22), P r i [ 0 , 1 ] represents a random value used to control the updating of X according to either MPA and ChOA. After that, the DO is applied to the current population (X) by using Equation (20). However, since this process is time consuming, we apply the DO over 20 iterations and when δ > 0.5 , where δ [ 0 , 1 ] is a random number. Lastly, check the termination condition when it is satisfied, then stop the execution of the developed CHMPAD and return the best solution ( X b ); otherwise, repeat the steps of CHMPAD. The pseudo-code of the developed CHMPAD is illustrated in Algorithm 1.
Algorithm 1: CHMPAD scheduler
1:
Input: n No. of IoT tasks, m No. of group of VMs, t m a x No. of iterations, and number of solutions (N).
2:
Form the initial solutions (X).
3:
Put t = 1 .
4:
while   t < = t m a x do
5:
    Assess X i by computing its F i t i .
6:
    Determine X b that has the smallest F i t b .
7:
    for  i = 1 : N  do
8:
        Enhance X i using Equation (22).
9:
     t = t + 1 .
10:
Return X b .

3.3. Complexity of the Proposed CHMPAD

The time complexity of the proposed task scheduler-based CHMPAD depends on some main factors, such as number of iterations t m a x , number of used solutions N, dimension of problem D, and complexity of ChOA, MPA, and DO. Thus, the complexity of the proposed CHMPAD method is given as follows:
O ( C H M P A D ) = ( N ) + t × ( O ( C h O A ) + O ( M P A ) + O ( D O ) )
The time complexities of the ChOA, MPA, and DO are given in Equations (24)–(26).
O ( C h O A ) = O ( N C H × ( D i m + 1 ) )
O ( M P A ) = O ( N M P × D i m )
O ( D O ) = O ( N × D i m )
Finally, the complexity of the proposed CHMPAD method is presented as follows.
O ( C H M P A D ) = N + t × ( N C H ( D i m + 1 ) ) + N M P × D i m + N × D i m )
where N C H and N M P are the number of solutions updated using ChOA and MPA operators, respectively.

4. Experimental Results

This section describes the experimental configuration, results analysis, and discussions.

4.1. Experimental Settings

This sub-section describes the experimental environment, parameter configurations, and details of the workloads utilized in our experiments.
To investigate whether the development of CHMPAD was effectively accomplished, the performance evaluations of our algorithm were implemented using CloudSim toolkit [44]. CloudSim was chosen for our experiments because of its support for the modeling and simulation of large and complex computing environments. The experimental tests were carried out on a PC with an Intel Core i5 @ 2.40 GHz, 4 GB RAM, running Ubuntu 14.04 and CloudSim 3.0.3 toolkit. Table 1 offers a detailed configuration of the presented cloud–fog environment.
In the conducted experiments, the CHMPAD algorithm’s effectiveness was assessed, using synthetic and real workload instances. The synthetic workload utilized herein comprises 1000 tasks with lengths varying from 1000 to 20,000 MI that were generated from a uniform distribution. The description of the synthetic workload is presented in [45]. Additionally, the real datasets generated by the “Parallel Workload Archives” consisting of NASA Ames iPCS/860 and HPC2N were utilized in the experimentation. In particular, we utilized the cleaned versions of the real workload traces (i.e., NASA-iPSC-1993-3.1-cln.swf and HPC2N-2002-2.2-cln.swf) [46].

4.2. Performance Metrics

The metrics utilized to compare the CHMPAD algorithm against similar scheduling strategies in the literature are presented in this subsection.
Makespan is the most well-known criterion for assessing the quality and efficacy of scheduling strategies. It is defined as the finishing time of the last completed task [47].
Throughput refers to the total number of tasks that are implemented successfully within a given period of time. The cloud system must reach a high level of throughput to ensure that it takes a minimum amount of time to produce the results of the given job. Hence, the throughput can be computed by using the following equation:
T h r o u g h p u t = t i T a s k s E x e T i m e ( t i )
where E x e T i m e ( t i ) indicates the execution time of ith task.
Performance improvement rate (PIR) is a measure that estimates the percentage of improvement in performance for every developed method with regard to the comparison methods from the related literature as presented in Equation (29).
P I R ( % ) = ( Y Y ) Y × 100
where Y signifies the fitness value attained by CHMPAD, and Y signifies the fitness value achieved by either of the comparison methods.

4.3. Results and Discussions

This subsection describes and summarizes the experiments’ findings to validate our CHMPAD scheduling algorithm’s performance optimization. The criteria that are considered for performance assessment are the makespan time, throughput, and PIR rate. The results obtained are contrasted with the results of five popular scheduling algorithms, including the conventional ChOA algorithm [30], MPA algorithm [37], whale optimization algorithm (WOA) [48], HGSWC [49], chaos game optimization (CGO) [50], atomic orbital search (AOS) [51], and chameleon swarm algorithm (CSA) [52]. The specific parameter settings of HGSWC are given in [49], while those of CHMPAD and other comparative approaches are summarized in Table 2. The swarm size is set equal to 100 for all algorithms to ensure a fair comparison.
To assess the efficacy of the comparison algorithms, the results obtained by CHMPAD are compared and contrasted with those of the ChOA, MPA, CGO, AOS, CSA, WOA, and HGSWC algorithms, as given in Table 3, Table 4 and Table 5. The best, average and worst makespan values obtained by the comparison algorithms under 30 repetitions are listed in these Tables. Based on the tables’ findings, it is obvious that CHMPAD generates better results in most of the tested instances, compared to the other seven comparison scheduling algorithms. Specifically, in terms of the average makespan achieved, CHMPAD outperforms AOS in 14 out of 15 instances, outperforms MPA in 13 out of 15 instances, and significantly outperforms ChOA, WOA, HGSWC, CSA, and CGO in all 15 test instances. In a similar manner, CHMPAD outperforms both MPA and AOS in 9 out of 15 instances and outperforms ChOA and the other four existing metaheuristics in all the test instances for the best makespan gained. The trend when makespan is considered suggests that the presented CHMPAD strategy is an advancement over the traditional ChOA approach. Additionally, it outperforms its competitors in most instances. Hence, it can be concluded that CHMPAD is a very competitive method for solving medium to large cloud-task-scheduling problems.
Figure 3, Figure 4 and Figure 5 compare the achieved throughput between the CHMPAD, ChOA, MPA, CGO, AOS, CSA, WOA, and HGSWC algorithms using the synthetic and real workloads. From these figures, it can be observed that CHMPAD achieves better throughput than the other evaluated metaheuristic approaches for all the task sizes and datasets. This proves the CHMPAD algorithm’s stability and robustness in finding near-optimal solutions not only when synthetic tasks are used, but for real tasks as well.
In order to deliver a more accurate assessment of the achieved results, improvements of the average makespan (given in percentage) attained by CHMPAD method over its competitors are shown in Table 6. From Table 6, the results show that the CHMPAD can accomplish 19.89–28.46% average makespan time improvements over the ChOA algorithm when considering the synthetic workload. Similarly, the CHMPAD significantly outperforms the standard ChOA by approximately 21.66–28.10% for executing the NASA iPSC real workload. Moreover, the results also state that the performance improvement of the CHMPAD is 22.05–26.17% over the ChOA for the execution of the HPC2N real workload.
To further validate our proposed approach’s superiority, improvements of the average makespan achieved by CHMPAD over other existing approaches are also presented in Table 6. From the table, the results demonstrate that CHMPAD can acquire an improvement of 37.81–43.20% over the WOA, 12.12–17.61% over the CGO, 12.50–19.02% over the HGSWC, 4.65–7.09% over the CSA, and 1.12–3.61% over the AOS when the synthetic workload is considered. Additionally, CHMPAD produces performance improvement over MPA ranging 8.15–22.77% across the synthetic workload, except the test instance with 200 tasks. In this test instance, the average makespan found by MPA is 3.77% lower than that of CHMPAD. For the NASA iPSC workload, the reported results indicate that the CHMPAD algorithm can accomplish 38.15–43.43%, 13.40–20.99%, 12.89–22.71%, and 5.64–6.82% makespan time improvements over the WOA, CGO, HGSWC, and CSA approaches, respectively. We can also see that CHMPAD outperforms MPA and AOS on almost all of the NASA Ames workload instances, except the instance with 500 tasks. Furthermore, it is clear from Table 6 that the average makespan time found by CHMPAD is 38.64–42.53% lower than the WOA, 14.37–22.88% lower than the CGO, 18.31–21.57% lower than the HGSWC, 4.22–6.50% lower than the CSA, 10.97–40.56% lower than the MPA, and 2.75–5.86% lower than the AOS for the execution of HPC2N workload.
To further analyze the results obtained by the developed method, we utilized both the Wilcoxon rank test and Friedman test as non-parametric tests. Table 7 shows p-values obtained using the Wilcoxon rank test. It can be observed that most of the provided p-values are less than 0.05, and this indicates that there is a significant difference between the developed CHMPAD and each of the other comparison methods. However, there is no significant difference between CHMPAD and AOS for synthetic 400 and NASA iPSC 500. In addition, there is no significant difference between CHMPAD and MPA for NASA iPSC at 500.
Furthermore, the findings of performing the statistical Friedman test are given in Table 8. From this table, it can be noticed that CHMPAD has the best mean rank among the competitive algorithms. It is followed by AOS and CSA, which have the second and third best mean ranks of makespan of all the compared algorithms.
In conclusion, the experimental results reported here indicate a substantial improvement in the makespan time and throughput on most of the benchmark instances. Our proposed approach’s promising performance is mostly due to the integration of the MPA operators along with the disruption operator within the ChOA algorithm. We conclude that CHMPAD has proved to be a powerful and effective method for solving large-size and challenging task scheduling problems.

5. Conclusions

In this paper, we proposed a new intelligent algorithm that combines the chimp optimization algorithm (ChOA) with the marine predators algorithm (MPA) to defeat the fog scheduling problem. The presented CHMPAD method was intended to boost the exploitation ability of the basic ChOA. The performance of CHMPAD was evaluated under different evaluation criteria and contrasted with the conventional ChOA and other existing metaheuristics, such as MPA, whale optimization algorithm (WOA), Henry gas solubility optimization based on comprehensive opposition-based learning (HGSWC) algorithms, chaos game optimization (CGO), atomic orbital search (AOS), and chameleon swarm algorithm (CSA). The experimental findings demonstrate the efficiency and consistency of the CHMPAD approach. In particular, the simulation findings reveal that CHMPAD can provide average makespan time improvements of 1.12–43.20% (for synthetic workloads), 1.00–43.43% (for NASA iPSC workloads), and 2.75–42.53% (for HPC2N workloads) over peer scheduling algorithms. Moreover, the results also indicate that our approach can boost fog computing’s throughput. In the future, we plan to implement the CHMPAD scheduling algorithm in a real FC system. CHMPAD may also be improved further and extended to solve more complicated optimization problems, such as quadratic assignment, vehicle routing, assembly line balancing, and health care facility planning.

Author Contributions

Conceptualization, I.A., L.A., D.E., S.A.C. and M.A.E.; Methodology, I.A., L.A., D.E., S.A.C. and M.A.E.; Software, I.A., L.A., D.E. and M.A.E.; Validation, I.A., L.A., D.E. and M.A.E.; Formal Analysis, I.A., L.A., D.E. and M.A.E.; Investigation, I.A., L.A., D.E., S.A.C. and M.A.E.; Writing—original draft, I.A., L.A., D.E., S.A.C. and M.A.E.; Writing—review and editing, I.A., L.A., D.E., S.A.C. and M.A.E.; Visualization, I.A., L.A., D.E., S.A.C. and M.A.E.; Supervision, M.A.E.; Project administration, I.A., L.A., D.E., S.A.C. and M.A.E.; and Funding acquisition, S.A.C. All authors have read and agreed to the published version of the manuscript.

Funding

Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2022R239), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Acknowledgments

The authors would like to thank the support of the Deanship of Scientific Research at Princess Nourah bint Abdulrahman University. This research project was funded by Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2022R239), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abualigah, L.; Diabat, A. A novel hybrid antlion optimization algorithm for multi-objective task scheduling problems in cloud computing environments. Clust. Comput. 2021, 24, 205–223. [Google Scholar] [CrossRef]
  2. Boveiri, H.R.; Khayami, R.; Elhoseny, M.; Gunasekaran, M. An efficient Swarm-Intelligence approach for task scheduling in cloud-based internet of things applications. J. Ambient. Intell. Humaniz. Comput. 2019, 10, 3469–3479. [Google Scholar] [CrossRef]
  3. Forestiero, A. Metaheuristic algorithm for anomaly detection in Internet of Things leveraging on a neural-driven multiagent system. Knowl. Based Syst. 2021, 228, 107241. [Google Scholar] [CrossRef]
  4. Fu, J.S.; Liu, Y.; Chao, H.C.; Bhargava, B.K.; Zhang, Z.J. Secure data storage and searching for industrial IoT by integrating fog computing and cloud computing. IEEE Trans. Ind. Inform. 2018, 14, 4519–4528. [Google Scholar] [CrossRef]
  5. Darwish, A.; Hassanien, A.E.; Elhoseny, M.; Sangaiah, A.K.; Muhammad, K. The impact of the hybrid platform of internet of things and cloud computing on healthcare systems: Opportunities, challenges, and open problems. J. Ambient. Intell. Humaniz. Comput. 2019, 10, 4151–4166. [Google Scholar] [CrossRef]
  6. Anuradha, M.; Jayasankar, T.; Prakash, N.; Sikkandar, M.Y.; Hemalakshmi, G.; Bharatiraja, C.; Britto, A.S.F. IoT enabled cancer prediction system to enhance the authentication and security using cloud computing. Microprocess. Microsyst. 2021, 80, 103301. [Google Scholar] [CrossRef]
  7. Gill, S.S.; Tuli, S.; Xu, M.; Singh, I.; Singh, K.V.; Lindsay, D.; Tuli, S.; Smirnova, D.; Singh, M.; Jain, U.; et al. Transformative effects of IoT, Blockchain and Artificial Intelligence on cloud computing: Evolution, vision, trends and open challenges. Internet Things 2019, 8, 100118. [Google Scholar] [CrossRef] [Green Version]
  8. Shanthan, B.; Kumar, A.D.V.; Govindrajan, E.; Arockian, L. Scheduling for internet of things applications on cloud: A review. Imp. J. Interdiscip. Res. 2017, 3, 1649–1653. [Google Scholar]
  9. Yu, W.; Liang, F.; He, X.; Hatcher, W.G.; Lu, C.; Lin, J.; Yang, X. A survey on the edge computing for the Internet of Things. IEEE Access 2017, 6, 6900–6919. [Google Scholar] [CrossRef]
  10. Hossain, M.R.; Whaiduzzaman, M.; Barros, A.; Tuly, S.R.; Mahi, M.J.N.; Roy, S.; Fidge, C.; Buyya, R. A scheduling-based dynamic fog computing framework for augmenting resource utilization. Simul. Model. Pract. Theory 2021, 111, 102336. [Google Scholar] [CrossRef]
  11. Zamani, H.; Nadimi-Shahraki, M.H.; Gandomi, A.H. CCSA: Conscious neighborhood-based crow search algorithm for solving global optimization problems. Appl. Soft Comput. 2019, 85, 105583. [Google Scholar] [CrossRef]
  12. Yi, S.; Li, C.; Li, Q. A survey of fog computing: Concepts, applications and issues. In Proceedings of the 2015 Workshop on Mobile Big Data, Hangzhou, China, 22–25 June 2015; pp. 37–42. [Google Scholar]
  13. El Kafhali, S.; Salah, K. Efficient and dynamic scaling of fog nodes for IoT devices. J. Supercomput. 2017, 73, 5261–5284. [Google Scholar] [CrossRef]
  14. Li, S.; Li, W.; Liu, H.; Sun, W. A Stackelberg Game Approach toward Migration of Enterprise Applications to the Cloud. Mathematics 2021, 9, 2348. [Google Scholar] [CrossRef]
  15. Tan, K.; Zhang, Y.; Tong, X. Cloud extraction from Chinese high resolution satellite imagery by probabilistic latent semantic analysis and object-based machine learning. Remote Sens. 2016, 8, 963. [Google Scholar] [CrossRef] [Green Version]
  16. Abdel-Basset, M.; El-Shahat, D.; Elhoseny, M.; Song, H. Energy-Aware Metaheuristic Algorithm for Industrial-Internet-of-Things Task Scheduling Problems in Fog Computing Applications. IEEE Internet Things J. 2021, 8, 12638–12649. [Google Scholar] [CrossRef]
  17. Beloglazov, A.; Abawajy, J.; Buyya, R. Energy-aware resource allocation heuristics for efficient management of data centers for cloud computing. Future Gener. Comput. Syst. 2012, 28, 755–768. [Google Scholar] [CrossRef] [Green Version]
  18. Attiya, I.; Elaziz, M.A.; Abualigah, L.; Nguyen, T.N.; Abd El-Latif, A.A. An Improved Hybrid Swarm Intelligence for Scheduling IoT Application Tasks in the Cloud. IEEE Trans. Ind. Inform. 2022. [Google Scholar] [CrossRef]
  19. Chen, Z.G.; Zhan, Z.H.; Lin, Y.; Gong, Y.J.; Gu, T.L.; Zhao, F.; Yuan, H.Q.; Chen, X.; Li, Q.; Zhang, J. Multiobjective cloud workflow scheduling: A multiple populations ant colony system approach. IEEE Trans. Cybern. 2018, 49, 2912–2926. [Google Scholar] [CrossRef]
  20. Arri, H.S.; Khosa, R.S.; Jha, S.; Prashar, D.; Joshi, G.P.; Doo, I.C. Optimized Task Group Aggregation-Based Overflow Handling on Fog Computing Environment Using Neural Computing. Mathematics 2021, 9, 2522. [Google Scholar] [CrossRef]
  21. Wang, S.; Zhao, T.; Pang, S. Task scheduling algorithm based on improved firework algorithm in fog computing. IEEE Access 2020, 8, 32385–32394. [Google Scholar] [CrossRef]
  22. Lin, B.; Guo, W.; Xiong, N.; Chen, G.; Vasilakos, A.V.; Zhang, H. A pretreatment workflow scheduling approach for big data applications in multicloud environments. IEEE Trans. Netw. Serv. Manag. 2016, 13, 581–594. [Google Scholar] [CrossRef]
  23. Forestiero, A.; Mastroianni, C.; Meo, M.; Papuzzo, G.; Sheikhalishahi, M. Hierarchical approach for green workload management in distributed data centers. In European Conference on Parallel Processing; Springer: Berlin, Germany, 2014; pp. 323–334. [Google Scholar]
  24. Cheng, Y.; Xie, Y.; Wang, D.; Tao, F.; Ji, P. Manufacturing Services Scheduling With Supply–Demand Dual Dynamic Uncertainties Toward Industrial Internet Platforms. IEEE Trans. Ind. Inform. 2020, 17, 2997–3010. [Google Scholar] [CrossRef]
  25. Abd Elaziz, M.; Abualigah, L.; Ibrahim, R.A.; Attiya, I. IoT Workflow Scheduling Using Intelligent Arithmetic Optimization Algorithm in Fog Computing. Comput. Intell. Neurosci. 2021, 2021, 9114113. [Google Scholar] [CrossRef] [PubMed]
  26. Mtshali, M.; Kobo, H.; Dlamini, S.; Adigun, M.; Mudali, P. Multi-Objective Optimization Approach for Task Scheduling in Fog Computing. In Proceedings of the 2019 International Conference on Advances in Big Data, Computing and Data Communication Systems (icABCD), Winterton, South Africa, 5–6 August 2019; pp. 1–6. [Google Scholar]
  27. Ghobaei-Arani, M.; Souri, A.; Safara, F.; Norouzi, M. An efficient task scheduling approach using moth-flame optimization algorithm for cyber-physical system applications in fog computing. Trans. Emerg. Telecommun. Technol. 2020, 31, e3770. [Google Scholar] [CrossRef]
  28. Yang, M.; Ma, H.; Wei, S.; Zeng, Y.; Chen, Y.; Hu, Y. A Multi-Objective Task Scheduling Method for Fog Computing in Cyber-Physical-Social Services. IEEE Access 2020, 8, 65085–65095. [Google Scholar] [CrossRef]
  29. Tong, Z.; Chen, H.; Deng, X.; Li, K.; Li, K. A scheduling scheme in the cloud computing environment using deep Q-learning. Inf. Sci. 2020, 512, 1170–1191. [Google Scholar] [CrossRef]
  30. Khishe, M.; Mosavi, M.R. Chimp optimization algorithm. Expert Syst. Appl. 2020, 149, 113338. [Google Scholar] [CrossRef]
  31. Khishe, M.; Mosavi, M. Classification of underwater acoustical dataset using neural network trained by Chimp Optimization Algorithm. Appl. Acoust. 2020, 157, 107005. [Google Scholar] [CrossRef]
  32. Kaur, M.; Kaur, R.; Singh, N.; Dhiman, G. SChoA: An newly fusion of sine and cosine with chimp optimization algorithm for HLS of datapaths in digital filters and engineering applications. Eng. Comput. 2021, 1–29. [Google Scholar] [CrossRef]
  33. Abualigah, L.; Diabat, A.; Mirjalili, S.; Abd Elaziz, M.; Gandomi, A.H. The arithmetic optimization algorithm. Comput. Methods Appl. Mech. Eng. 2021, 376, 113609. [Google Scholar] [CrossRef]
  34. Abualigah, L.; Yousri, D.; Abd Elaziz, M.; Ewees, A.A.; Al-qaness, M.A.; Gandomi, A.H. Aquila Optimizer: A novel meta-heuristic optimization Algorithm. Comput. Ind. Eng. 2021, 157, 107250. [Google Scholar] [CrossRef]
  35. Abualigah, L.; Abd Elaziz, M.; Sumari, P.; Geem, Z.W.; Gandomi, A.H. Reptile Search Algorithm (RSA): A nature-inspired meta-heuristic optimizer. Expert Syst. Appl. 2022, 191, 116158. [Google Scholar] [CrossRef]
  36. Biondi, G.; Franzoni, V. Discovering correlation indices for link prediction using differential evolution. Mathematics 2020, 8, 2097. [Google Scholar] [CrossRef]
  37. Faramarzi, A.; Heidarinejad, M.; Mirjalili, S.; Gandomi, A.H. Marine Predators Algorithm: A nature-inspired metaheuristic. Expert Syst. Appl. 2020, 152, 113377. [Google Scholar] [CrossRef]
  38. Sahlol, A.T.; Yousri, D.; Ewees, A.A.; Al-Qaness, M.A.; Damasevicius, R.; Elaziz, M.A. COVID-19 image classification using deep features and fractional-order marine predators algorithm. Sci. Rep. 2020, 10, 15364. [Google Scholar] [CrossRef]
  39. Eid, A.; Kamel, S.; Abualigah, L. Marine predators algorithm for optimal allocation of active and reactive power resources in distribution networks. Neural. Comput. Appl. 2021, 33, 14327–14355. [Google Scholar] [CrossRef]
  40. Yousri, D.; Babu, T.S.; Beshr, E.; Eteiba, M.B.; Allam, D. A robust strategy based on marine predators algorithm for large scale photovoltaic array reconfiguration to mitigate the partial shading effect on the performance of PV system. IEEE Access 2020, 8, 112407–112426. [Google Scholar] [CrossRef]
  41. Ramezani, M.; Bahmanyar, D.; Razmjooy, N. A new improved model of marine predator algorithm for optimization problems. Arab J. Sci. Eng. 2021, 46, 8803–8826. [Google Scholar] [CrossRef]
  42. Attiya, I.; Zhang, X. D-Choices Scheduling: A Randomized Load Balancing Algorithm for Scheduling in the Cloud. J. Comput. Theor. Nanosci. 2017, 14, 4183–4190. [Google Scholar] [CrossRef]
  43. Liu, H.; Ding, G.; Wang, B. Bare-bones particle swarm optimization with disruption operator. Appl. Math. Comput. 2014, 238, 106–122. [Google Scholar] [CrossRef]
  44. Calheiros, R.N.; Ranjan, R.; Beloglazov, A.; De Rose, C.A.F.; Buyya, R. CloudSim: A toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Pract. Exp. 2011, 41, 23–50. [Google Scholar] [CrossRef]
  45. Abd Elaziz, M.; Abualigah, L.; Attiya, I. Advanced optimization technique for scheduling IoT tasks in cloud-fog computing environments. Future Gener. Comput. Syst. 2021, 124, 142–154. [Google Scholar] [CrossRef]
  46. Parallel Workloads Archive. Available online: http://www.cse.huji.ac.il/labs/parallel/workload/logs.html (accessed on 1 October 2021).
  47. Attiya, I.; Zhang, X.; Yang, X. TCSA: A dynamic job scheduling algorithm for computational grids. In Proceedings of the 2016 First IEEE International Conference on Computer Communication and the Internet (ICCCI), Wuhan, China, 13–15 October 2016; pp. 408–412. [Google Scholar]
  48. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  49. Abd Elaziz, M.; Attiya, I. An improved Henry gas solubility optimization algorithm for task scheduling in cloud computing. Artif. Intell. Rev. 2021, 54, 3599–3637. [Google Scholar] [CrossRef]
  50. Talatahari, S.; Azizi, M. Chaos Game Optimization: A novel metaheuristic algorithm. Artif. Intell. Rev. 2021, 54, 917–1004. [Google Scholar] [CrossRef]
  51. Azizi, M. Atomic orbital search: A novel metaheuristic algorithm. Appl. Math. Model. 2021, 93, 657–683. [Google Scholar] [CrossRef]
  52. Braik, M.S. Chameleon Swarm Algorithm: A bio-inspired optimizer for solving engineering design problems. Expert Syst. Appl. 2021, 174, 114685. [Google Scholar] [CrossRef]
Figure 1. The fog computing structure.
Figure 1. The fog computing structure.
Mathematics 10 01100 g001
Figure 2. Developed CHMPAD method.
Figure 2. Developed CHMPAD method.
Mathematics 10 01100 g002
Figure 3. Average throughput time—synthetic workload.
Figure 3. Average throughput time—synthetic workload.
Mathematics 10 01100 g003
Figure 4. Average throughput time—NASA iPSC workload.
Figure 4. Average throughput time—NASA iPSC workload.
Mathematics 10 01100 g004
Figure 5. Average throughput time—HPC2N workload.
Figure 5. Average throughput time—HPC2N workload.
Mathematics 10 01100 g005
Table 1. Configuration of empirical parameters.
Table 1. Configuration of empirical parameters.
EntityParameterValue
DatacenterNo. of datacenters2
HostNumber of hosts4
Cloud nodes:
VMNo. of VMs10
CPU power3000–5000 MIPS
RAM1 GB
Storage20 GB
Bandwidth capacity0.5 Gb/s
Fog nodes:
VMNo. of VMs15
CPU power100–2800 MIPS
RAM0.5 GB
Storage10 GB
Bandwidth capacity1 Gb/s
No. of CPUs1
Table 2. Parametric details of the comparison algorithms.
Table 2. Parametric details of the comparison algorithms.
AlgorithmParameterValue
CGO α , β [0, 1]
AOSMaximum number of Layers5
Foton Rate0.1
ChOAa[−1, 1]
f 2 0
WOAa2
b1
MPA F A D s 0.2
P0.5
CSA γ 2
α 4
ρ 1
β 3
CHMPADa[−1, 1]
f 2 0
F A D s 0.2
P0.5
Table 3. Makespan values of CHMPAD algorithm and compared algorithms—synthetic workload.
Table 3. Makespan values of CHMPAD algorithm and compared algorithms—synthetic workload.
TasksStatisticsCGOAOSCSAWOAHGSWCMPAChOACHMPAD
200Best38.6636.1538.2844.9337.3932.6042.9336.32
Average42.4338.2739.7452.7742.5836.4247.6137.85
Worst45.7340.4641.7568.6546.5745.9352.8438.95
400Best78.6869.7573.1586.2378.0366.6583.2471.41
Average84.4774.4276.80101.1084.3279.3594.2573.37
Worst92.3878.7480.85125.4593.1294.93103.5775.41
600Best111.73106.00106.76120.37117.18103.66118.09103.94
Average124.50110.75111.81147.89127.13119.94135.69106.84
Worst137.15116.58116.98180.13138.02143.57154.78108.34
800Best148.87136.54143.31161.34152.45149.91151.84134.94
Average161.72144.18148.93193.77165.53166.32172.45139.07
Worst170.69150.08154.16260.97177.09193.23199.96145.28
1000Best186.38170.66172.85214.48188.53178.89183.20167.95
Average200.69176.80179.69244.36201.45209.50204.59170.64
Worst223.70185.76190.90329.45219.51242.37240.83172.17
Table 4. Makespan values of CHMPAD algorithm and compared algorithms—NASA iPSC workload.
Table 4. Makespan values of CHMPAD algorithm and compared algorithms—NASA iPSC workload.
TasksStatisticsCGOAOSCSAWOAHGSWCMPAChOACHMPAD
500Best53.4348.6850.8858.8553.2144.6160.3250.76
Average58.7151.6855.0971.5358.4550.7165.7051.78
Worst62.4954.6458.3492.1967.5061.2673.5653.70
1000Best107.5295.22102.15125.42103.8492.28113.7597.59
Average114.40101.06106.67142.66116.52111.20128.18100.06
Worst121.24106.57112.31176.66125.86129.78147.94106.88
1500Best156.73143.49147.98174.49157.36161.31162.41145.40
Average173.07151.75157.99205.26178.16181.69182.64147.90
Worst191.08159.50167.97250.88194.67204.35202.27150.41
2000Best208.67193.65197.06234.45210.43222.25219.86191.07
Average234.59203.37207.24276.32235.84249.71244.14195.49
Worst254.45218.14215.31303.73256.30284.06268.32200.08
2500Best271.69244.97246.94306.25266.64298.14269.32240.66
Average295.32255.79257.85350.09299.53331.69296.97244.09
Worst322.06267.81267.50426.29329.11363.05337.96250.27
Table 5. Makespan values of CHMPAD algorithm and compared algorithms—HPC2N workload.
Table 5. Makespan values of CHMPAD algorithm and compared algorithms—HPC2N workload.
TasksStatisticsCGOAOSCSAWOAHGSWCMPAChOACHMPAD
500Best5587.415173.635347.636189.205843.565073.245784.755253.96
Average6142.085518.095654.957445.346353.315959.256775.715370.14
Worst6633.145764.365874.678626.607253.518121.818068.425455.81
1000Best12,322.7511,220.6811,664.6714,026.4512,498.2312,755.5512,484.8111,195.54
Average13,586.9811,783.5812,133.4015,864.3713,753.9214,314.3413,974.4411,392.63
Worst15,323.3812,238.5212,467.5618,423.0116,124.6916,058.3916,018.2911,560.03
1500Best20,085.6817,837.4917,925.1521,381.8720,151.2720,463.7919,880.1417,730.03
Average21,269.7318,841.3518,698.3125,571.5721,790.4224,319.4622,143.3117,940.78
Worst23,218.3120,001.5019,361.5431,233.2224,243.8328,299.3326,616.2118,160.03
2000Best29,022.4025,452.8525,116.2030,542.2629,316.2729,628.0727,733.1425,087.30
Average31,316.5326,775.4526,711.0735,579.6130,981.6034,678.1231,104.2725,484.77
Worst33,143.3728,080.3827,662.2143,729.8733,945.0340,197.7336,867.4526,122.76
2500Best36,804.5933,825.3734,020.7840,877.9536,593.9942,897.2436,529.2833,048.68
Average40,444.6435,404.8335,198.9947,468.2640,595.9647,010.5741,190.8433,445.82
Worst42,521.7236,716.8736,756.7260,882.0643,628.6751,432.0047,738.7234,176.51
Table 6. The P I R ( % ) of the average makespan for different workload traces.
Table 6. The P I R ( % ) of the average makespan for different workload traces.
InstanceNo. of TasksPIR (%) Over
CGOAOSCSAWOAHGSWCMPAChOA
Synthetic20012.121.124.9939.4412.50−3.7725.78
40015.131.444.6937.8114.948.1528.46
60016.523.664.6538.4218.9912.2627.00
80016.293.677.0939.3319.0219.6024.00
100017.613.615.3043.2018.0622.7719.89
NASA iPSC50013.40-0.186.4038.1512.89−2.0526.89
100014.331.006.6042.5716.4511.1328.10
150017.022.606.8238.7820.4622.8523.49
200020.004.036.0141.3420.6427.7324.88
250020.994.805.6443.4322.7135.8921.66
HPC2N50014.372.755.3038.6418.3110.9726.17
100019.263.436.5039.2520.7325.6522.66
150018.565.024.2242.5321.4635.5523.42
200022.885.064.8139.6121.5736.0722.05
250020.935.865.2441.9321.3840.5623.16
Table 7. Wilcoxon rank test.
Table 7. Wilcoxon rank test.
InstanceTasksCGOAOSCSAWOAHGSWCMPAChOA
Synthetic2005.46 × 10 11 0.1223014.97 × 10 9 3.02 × 10 11 8.89 × 10 10 0.0035013.02 × 10 11
4003 × 10 11 0.0250812.38 × 10 8 3.02 × 10 11 3.02 × 10 11 7.2 × 10 5 3.02 × 10 11
6003 × 10 11 1.1 × 10 6 1.17 × 10 9 3.02 × 10 11 3.02 × 10 11 3.82 × 10 9 3.02 × 10 11
8003 × 10 11 4.43 × 10 7 1.2 × 10 10 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
10003 × 10 11 1.69 × 10 9 3 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
NASA iPSC5003.32 × 10 11 0.5792414.1 × 10 7 3.02 × 10 11 3.34 × 10 11 0.3255273.02 × 10 11
10003 × 10 11 0.039142.14 × 10 10 3.02 × 10 11 3.34 × 10 11 5.97 × 10 9 3.02 × 10 11
15003 × 10 11 0.0027511.2 × 10 10 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
20003 × 10 11 7.66 × 10 8 4.94 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
25003 × 10 11 9.7 × 10 10 5.46 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
HPC2N5003 × 10 11 7.72 × 10 6 8.84 × 10 10 3.02 × 10 11 3.02 × 10 11 5.27 × 10 5 3.02 × 10 11
10003 × 10 11 5.84 × 10 6 3 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
15003 × 10 11 3.14 × 10 10 1.46 × 10 10 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
20003 × 10 11 1.6 × 10 10 5.94 × 10 9 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
25003 × 10 11 6.03 × 10 11 4.94 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11 3.02 × 10 11
Table 8. Friedman test.
Table 8. Friedman test.
CGOAOSCSAWOAHGSWCMPAChOACHMPAD
4.66672.26672.933385.26675.26676.40001.2000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Attiya, I.; Abualigah, L.; Elsadek, D.; Chelloug, S.A.; Abd Elaziz, M. An Intelligent Chimp Optimizer for Scheduling of IoT Application Tasks in Fog Computing. Mathematics 2022, 10, 1100. https://doi.org/10.3390/math10071100

AMA Style

Attiya I, Abualigah L, Elsadek D, Chelloug SA, Abd Elaziz M. An Intelligent Chimp Optimizer for Scheduling of IoT Application Tasks in Fog Computing. Mathematics. 2022; 10(7):1100. https://doi.org/10.3390/math10071100

Chicago/Turabian Style

Attiya, Ibrahim, Laith Abualigah, Doaa Elsadek, Samia Allaoua Chelloug, and Mohamed Abd Elaziz. 2022. "An Intelligent Chimp Optimizer for Scheduling of IoT Application Tasks in Fog Computing" Mathematics 10, no. 7: 1100. https://doi.org/10.3390/math10071100

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop