A Genetic Algorithm For Optimal Job Scheduling and Load Balancing in Cloud Computing
A Genetic Algorithm For Optimal Job Scheduling and Load Balancing in Cloud Computing
Research paper
Abstract
Cloud Computing is a new concept for pool of virtualized computer resources. There are many approaches available to improve the job
scheduling and load balancing in cloud environment. However, this research focused on the Job scheduling in cloud computing environ-
ment at Virtual Machines level by considering their bandwidth and RAM size. Three (3) traditional scheduling techniques are employed
(min-min, max-min, and suffrage) to find the minimum completion time possible for a given job(s) for each Virtual Machine (VM). The
Genetic Algorithm (GA) is applied after the job scheduling is completed for load balancing and to attained the Quality of Service (QoS)
required by properly utilizing the resources available. A CloudSim simulator is used to test the efficiency of the proposed technique. We
found that the proposed technique called Random Make Genetic Optimizer (RMGO) can minimize the makespan as compared to classi-
cal job scheduling techniques.
efficient task execution. The algorithm was then compared with 3. Proposed Random Make Genetic Optimizer
First Come First Serve (FCFS) and Round Robin Scheduling in
terms of their performances. The test was conducted in CloudSim
toolkit and the result shows that it gives better performance com- 3.1 Basic structure of Random Make Genetic Optimizer
pared to other traditional scheduling algorithm. However, research
The proposed technique focuses on job scheduling and load bal-
in [11] proposed a resource dispatched mechanism using genetic
ancing on virtual machines. There are three scheduling approaches
algorithm based on Support Vector Regression (SVR) for re-
known as Min-min, Min-max and Suffrage being employed in the
scheduling of resources. The objective of the research is to design
Random Make Genetic Optimizer (RMGO) as shown in Figure 1.
a sub-optimal resource scheduling system in cloud computing
Its goal is to achieve quality of service by proper scheduling of a
environment to accomplish tasks with lowest possible cost.
job to an appropriate machine that has the shortest completion
The proposed optimization system can estimate the number of
time. The primary objective is to choose the one that produce the
resource utilization according to Service Level Agreement (SLA)
shortest completion time when the jobs are scheduled. After which
more accurately. In another research [6], a strategy for effective
the result will be encoded as parameters of genetic algorithm.
load balancing using genetic algorithm is proposed with the aim of
facilitating load balancing and reducing migration cost. Mean-
while in [12] a novel load balancing strategy based on genetic
algorithm is proposed that will thrive in load balancing of cloud
infrastructure and minimize makespan of a given task. When this
algorithm was tested, the results show that it outperformed the
existing approaches such as FCFS, Round Robin (RR) and Sto-
chastic Hill Climbing (SHC). Research in [13] is a review of some
algorithms suggested in some research works on Virtual Machine
Management.
The paper reviewed the impact of all the stated algorithms with
regards to various performance matrices and provides an overview
of their impact on the latest approach in the field of VM manage-
ment. The research focuses it review on renewable energy and
parameters that include bandwidth and latency delay. In another
research paper [14], the used of Artificial Bee Colony (ABC) for
VM scheduling management in cloud computing environment was
proposed. The research aimed to propose an algorithm that would
enhance the performance of cloud tasks scheduling, increase the
makespan and performance of resource utilization. The result of
simulation using CloudSim tools shows that ABC algorithm per-
formed significantly in changing the environment, load balancing Fig. 1: Basic Structure of RMGO
and makespan of data processing. In addition, [15] proposed a
meta-heuristic based scheduling algorithm by merging two exist- 3.2. RMGO Algorithm
ing techniques i.e. Shortest Cloudlet Fastest Processor (SCFP) and
Longest Cloudlet Fastest Processor (LCFP) with GA. The aim of 1. Input all the parameters
this research is to propose an algorithm that will minimize execu- a. No. of Physical Machine (i)
tion time and cost of a given task in cloud computing environment. b. No. of Virtual Machines (j) in each Physical Machine
The simulation results show that the proposed algorithm exhibit a (i)
good performance under heavy loads. Moreover, in [16], an algo- c. MIPS of each Virtual Machine (j)
rithm is proposed that can find a fast mapping for tasks scheduling d. Cloudlet(s) size/File size of submitted jobs
using genetic algorithm. The research aimed to propose an algo- e. No. of Cloudlets (k)
rithm to improve system performance and quality of service. Sim- 2. While No. of physical machine (i) is not exceeded do
ulation results show that the proposed algorithm increases the 3. For all Virtual Machine (j)
mapping time by using the throughput as objective function. 4. For all Cloudlet (k)
In a nutshell, almost all the papers that were reviewed have some 5.
similarities in aims and objectives with this research. Though
some credit must be given to the researchers for their framework 6. End For
and the proposed algorithms and for their contributions to address 7. End For
the work on job scheduling and load balancing. However, there 8.
are still some needs for improvements in terms of management of 9. Begin Function (Min – Min)
resources because not only proper job scheduling is required to 10. For all Cloudlets (k)
achieve the target, but also the load balancing. Load balancing 11. For all Virtual Machines (j)
alone cannot address the issue of enhancing resource management 12.
in a cloud computing environment. 13. End For
In this research, the proposed algorithm coined as Random Make 14.
Genetic Optimizer (RMGO) which composes of three techniques 15.
i.e. Min-min, Max-min and Suffrage combine with genetic algo-
16.
rithm can improve the job scheduling and load balancing in the
system. When the RMGO was tested on CloudSim tool-kit, the 17
result shows that better performance has been accomplished. Hav- 18. End For
ing a harmonized algorithm that can inherit all the features of the 19. )
reviewed algorithms and their functions, but in different and en- 20. End Function (Min – Min)
hanced manner is already a considerable contribution. 21. Begin Function (Max – Min)
22. For all Cloudlets (k)
23. For all Virtual Machines (j)
24.
292 International Journal of Engineering & Technology
- CL 3 2000 5. Conclusion
- CL 4 7000
- CL 5 6800
- CL 6 6600 There are many researchers conducted on jobs scheduling and
- CL 7 5800 load balancing but none of the research uses the integrated min-
- CL 8 5400 min, max-min, suffrage and GA. The reason for this integration is
- CL 9 5000 because each technique might likely outperform each other at a
- CL 10 4800 given period of time. Considering the uniqueness and capability of
Cloudlet Scheduler Policy CPU Space-Shared
each technique depending on the nature and size of the jobs (tasks)
Utilisation Model RAM Utilisation Full
Model Bandwidth Utilisation Model Full submitted to the system hence, an integrated technique has been
Full proposed.
The proposed algorithm can enhance job scheduling by producing
Figure 3 shows the overall execution time of each individual VM the minimum execution time in the first phase of the algorithm.
for Test 1. It shows that RMGO has the lowest completion time When the result is put in to genetic algorithm, it will balance the
and it is having the least distance of completion time than others, loads using a fitness function. The impact of this algorithm cannot
hence it performed better in term of completion time and load be over emphasized considering the requirement of proper re-
balancing. source management in cloud computing environment in which this
research has laid its priority. The fitness function used in the pro-
posed algorithm is to enhance load balancing among the virtual
machines.
There are a number of issues that need to be addressed in order to
fully enhance and improve the performance of cloud services that
are not covered in this paper. As a result, much work needs to be
done for addressing the problems in the future. Meanwhile, our
future research will intend to focus on the remaining issues of
maintenance in cloud computing environment, especially availa-
bility of data storage, power consumption and green computing.
Our future work will focus more on resource selection and data
replication in the cloud computing environment to improve re-
sponse time and availability of the system.
Acknowledgement
The authors gratefully acknowledge financial support from the
Fig. 3: Comparison of the three algorithms with FCFS and RMGO for Ministry of Higher Education, under the project FRGS-2-2013-
Test 1 ICT07-UniSZA-0201. The authors also would like to convey an
appreciation to Research Management, Innovation and Commer-
Figure 4 shows the execution time of each individual VM for Test cialization Center (RMIC), UniSZA for providing full support
2. Based on this figure, RMGO has the lowest completion time towards this study.
and the least distance of completion time than other techniques
being the default technique. Hence, RMGO performed better in
terms of completion time and load balancing. References
[1] Google. www.google.com/trends.
[2] Erkoc M F, Kert S B. Cloud computing for distributed university
campus: A prototype suggestion. Proceedings of the International
Conference the Future of Education, 2014, pp. 1-5.
[3] Srichandana S, Kumar T A, Bibhudatta S. Task scheduling for
cloud computing using multi-objective hybrid bacteria foraging
algorithm. Future Computing and Informatics Journal, 2018, 1-21,
2018.
[4] Bittencourt L F, Goldman A, Madeira E R M, Fonseca N L S,
Sakellariou R. Scheduling in distributed systems: A cloud
computing perspective. Computer Science Review, 30, 31-54, 2018.
[5] Huth A, Cebula J. The basics of cloud computing. United States
Computer, 2011.
[6] Keshanchia B, Souria A, Navimipour N J. An improved genetic
algorithm for task scheduling in the cloud environments using the
priority queues: Formal verification, simulation, and statistical
Fig. 4: Comparison of the three algorithms with FCFS and RMGO for testing. Journal of Systems and Software, 124, 1-21, 2017.
Test 2 [7] Goyal T, Agrawal A. Host scheduling algorithm using genetic
algorithm in cloud environment. International Journal of Research
The simulation and testing of the algorithms in Test 1 and Test 2 in Engineering and Technology, 1(1), 7-12, 2013.
parameters had been successfully completed. The results show [8] Gu J, Hu J, Zhao T, Sun G. A new resource scheduling strategy
based on genetic algorithm cloud computing environment. Journal
that in all the techniques with exception of the RMGO, the VMs
of Computers, 7(1), 42–52, 2012.
with smallest MIPS are over utilized and are having the highest [9] Katyal M, Mishra A. Application of selective algorithm for
execution time but in RMGO the reverse is the case and this will effective resource provisioning in cloud computing environment.
increase the response time. It shows that RMGO is a better alter- International Journal on Cloud Computing: Services and
native for implementation optimal job scheduling and load balanc- Architecture, 4(1), 1-10, 2014.
ing in cloud environment. [10] Agarwal A, Jain S. Efficient optimal algorithm of task scheduling
in cloud computing environment. International Journal of Computer
Trends and Technology, 9(7), 344-349, 2014.
[11] Huang C, Guan C, Chen H, Wang Y, Chang S, Li C, Wang C. An
adaptive resource management scheme in cloud computing.
294 International Journal of Engineering & Technology