Professional Documents
Culture Documents
Alam Siddique 2020
Alam Siddique 2020
978-1-6654-0489-1/20/$31.00©20XX IEEE
Authorized licensed use limited to: BOURNEMOUTH UNIVERSITY. Downloaded on June 27,2021 at 06:27:46 UTC from IEEE Xplore. Restrictions apply.
discusses the conclusion and future work respectively. parameters. Also plotting the results graphically would aid
the users to make a quick and efficient decision to fulfill their
II. R ELATED W ORKS demands.
Most of the existing works in literature deal with generating
III. OVERVIEW OF S ELECTED TASK S CHEDULING
new scheduling algorithms. However, very few works have
A LGORITHMS
been done to provide analysis and comparison among the
task scheduling algorithms. In [4], a comparative study of We have described the scheduling processes, parameters,
Min-Min and Max-Min algorithms is based on the makespan and other features of our task scheduling algorithms imple-
parameter that was conducted by the authors. A static method mented and compared in the cloud computing environment in
and task-independent and batch mode scheduling are used by this section. There are three main strategies in task scheduling.
both methods. Sanjay et al. in [5], the Min-Min and Max-Min Firstly, in-network properties and their associated state data
algorithms have been used for job scheduling in the cloud will be collected. Then, based on various criteria, the target
environment. They have used time-shared and space-shared resource is chosen. Finally, it submits the task to the chosen
virtual machines models. Tested in CloudSim, they would resource [2].
like to demonstrate that the Max-min approach is more A. First Come First Serve(FCFS)
effective than other strategies in space-shared mode, and the
Min-Min approach provides minimal task processing delays First Come First Serve means that the jobs are done
and Max-Min gives appropriate load balancing. according to the time of arrival of the task order. The FCFS
scheduling strategy for internal job scheduling is supported by
M. Joundy et al. [7] have shown a comparative study the CloudSim toolkit. A clear policy that assigns a VM to the
among two hybrids, SJF, RR, Max-Min, and Min-Min host on an FCFS basis is the default policy enforced by VM
scheduling algorithms in graphically. To determine their provisioning [15]. The queue is handled by the (first in first to
efficiency, they checked those methods using 3 distinct data go) FIFO process. Quick jobs at the end of a queue can wait
sets. Their experimental findings ensure that the Min-Min until a large task is done at the front of the queues [20] . It is
algorithm’s dominance over state-of-the-art algorithms and straightforward and simple to understand and non-preemptive.
SJF demonstrates a reasonable waiting period, but there is B. Shortest Job First(SJF)
more response time. In [8] a comparative analysis among SJF,
Shortest Job First Scheduling is used by putting the shorter
FCFS, Max-Min, and Min-Min scheduling algorithms has
task in front of the queue and the longer tasks at the end of
done based on mean, max, and variance execution time and
a queue to order a series of tasks. This minimizes the overall
load balancing graphically. They further show that Min-Min
waiting period. It also suffers from starvation for longer tasks
achieves better makespan compared to other methods.
when a large number of small jobs are open. It will not execute
if a job with a greater burst time has the highest priority as it
In papers [9] [10] [11] [12] [13] [14] [15] [16] a number
is a non-preemptive scheduling algorithm. In severe situations,
of existing algorithms (FCFS, SJF, RR, PSO etc.) for job
the tasks with big service time can never be served if the
scheduling are compared and tabulated with each other
system has little idle time [7].
through their effects or evaluated theoretically [17]. It helps
to consider the wide variety of choices for scheduling for C. Round Robin Scheduling Algorithm(RR)
selecting one for a particular environment. However, graphical One of the easiest, most traditional, and most used task
observation is absent here. scheduling is known to be the Round Robin algorithm. It
transfers the load to all the resources evenly. The big advantage
Valarmathi et al in [18] detailed theme was given about the is that tasks are performed wisely in a series of turns and there
Particle Swarm Optimization (PSO) based algorithm and its is a necessity to late until the past tasks is executed. Therefore,
several task allocation variants in a cloud environment. PSO it has no starvation problem. But the poor hand is, it consumes
produces better results for task Scheduling Problems. This a lot of effort to achieve all the jobs if the workload is high
paper offers the researchers insight into different dimensions and the queue is filled, and a perfectly appropriate quantum
of PSO and Task Scheduling. In [19], centered on the of time is difficult to determine [9]. The use of too short
PSO methodology, they proposed a multi-objective process quantum time induces too many context switches and reduces
scheduling scheme. An effective encoding method with the performance of the CPU. Using too long time quantum,
a weighted linear transforming fitness value that contains poor response time like FCFS in some situations [7].
two metrics of scheduling, i.e. make-pan and utilization of
resources. They showed that the scheduling of workflows D. Min-Min scheduling Algorithm
based on PSO outshines GA over multiple parameters. This algorithm is split into 2 stages. The estimated com-
pletion time of each assignment in a metatask is determined
While these works provide comparison and analysis of for each resource in the first stage. In the second stage, the
different task scheduling algorithms, in this work we aim task is chosen and assigned to the corresponding element by
to analyze them by implementing them based on different shortest estimated completion time. Then the chosen task is
Authorized licensed use limited to: BOURNEMOUTH UNIVERSITY. Downloaded on June 27,2021 at 06:27:46 UTC from IEEE Xplore. Restrictions apply.
erased from the meta-list. This process is repeated before cloudlet length is generated randomly so the value of all
you map all the tasks in the metatask [4]. This raises the performance metrics is changed randomly in a certain range
cumulative completion time of all the tasks and thereby raises based on specific algorithm’s processes. For this cause, we
the makespan. To finish their operation, the long tasks have to determine the average value for all performance metrics for
pause for smaller tasks. It causes for unbalancing load in Min- doing the comparative analysis. For getting the average value,
Min [20]. The min-min method is easy, but at the time of the we run each algorithm 10 to 3000 times. For the simulation
number of tasks in the metatask is small relative to large tasks, analysis, we observe the throughput, waiting time, makespan,
it gives instant results. On the other hand, if the number of turnaround time and load balancing by varying the number
smaller tasks is overlaid by large-size, it offers bad utilization of tasks, and virtual machines.
of resources and bot good makespan since large tasks have to
pause until all low size tasks to be done [4]. Throughput is calculated as the total number of tasks per
second that are completed. The average throughput of all
E. Max-Min Scheduling Algorithm compared task scheduling is shown in Figure 1. In comparison
Max-Min resolves some problem of the Min-Min algorithm to the remaining methods, higher throughput is found for PSO
(when the number of large tasks is higher than the small task and Min-Min. Max-Min also provides medium-throughput as
then larger makespan). The Max-Min algorithm works the compared to the other five. Here, the PSO executes 19 tasks
same procedures except in the second level, the key difference per 10 seconds and Min-Min executes 17 tasks per 10 seconds
is that a task is chosen that has the largest time of completion considering 5 VM and 15 tasks for each algorithm. PSO can
rather than the minimum completion time as in min-min and find near-optimal solutions for mapping all tasks to the set of
allocated to a element that offers the less time of completion. available resources so it achieves high throughput. For Min-
This procedure is iterated until all the tasks are mapped or the Min, there are only smaller tasks on quicker machines and the
meta task becomes null [4]. Therefore, the larger tasks can be throughput is improved here. Among those methods, FCFS,
performed first on quicker machines in max-min, and smaller SJF and RR achieve less throughput.
tasks can be performed on other possible machines in parallel,
resulting in a better make-pan and balanced workload than the
previous process [11].
Authorized licensed use limited to: BOURNEMOUTH UNIVERSITY. Downloaded on June 27,2021 at 06:27:46 UTC from IEEE Xplore. Restrictions apply.
TABLE II
AVERAGE M AKESPAN T IME ( VARYING THE NUMBER OF VM’ S )
Authorized licensed use limited to: BOURNEMOUTH UNIVERSITY. Downloaded on June 27,2021 at 06:27:46 UTC from IEEE Xplore. Restrictions apply.
V. C ONCLUSION
In this research, we compared six traditional but widely
used task scheduling algorithms in the cloud computing en-
vironment. Finally, from the experimental assessment, we
can infer that the PSO performed successfully and won the
competition against the six existing methods implemented,
taking into account the average waiting time, turnaround
time, makespan, load balancing, and throughput. When we
consider load balancing then the Max-min, PSO and RR can be
better choices. Since the execution of the task is performed a
cyclic way, so RR achieves acceptable load balancing and less
Fig. 6. Average waiting time Comparison by changing the number of VMs response time but it is not considering other criteria. Min-Min
and SJF showing the good waiting time but its bottleneck is
a starvation problem. Max-Min also provides better makespan
We have also observed the turnaround time that indicates
and turnaround time. In the future, in the cloud computing
the summation of waiting time and the execution time for
world, we want to conduct performance analysis and com-
a specific task. Figure 7 and Figure 8 shows the average
parative study of newly developed and successful scheduling
turnaround time of all the compared algorithms. For getting
algorithms.
this we run our code 3000 times in a loop. Figure 7 has shown
by changing the number of tasks and Figure 8 has shown by R EFERENCES
changing the number of VMs. It is observed from the results
in Figure 7 and Figure 8, PSO outperforms compared to the [1] Peter Mell and Tim Grance, “The nist definition of cloud computing”,
2011.
other five algorithms. Max-Min also provides less turnaround [2] A. Gupta, H. S. Bhadauria, A. Singh and J. C. Patni, ”A theo-
time since smaller jobs are executed concurrently while other retical comparison of job scheduling algorithms in cloud computing
longer jobs are executed. On contrary, the FCFS, SJF, RR and environment”, 2015 1st International Conference on Next Generation
Computing Technologies (NGCT), Dehradun, 2015, pp. 16-20, doi:
Min-Min give the highest turnaround time. 10.1109/NGCT.2015.7375074.
[3] Malhotra, Agarwal, and Jaiswal, “Virtualization in cloud com-
puting”, Journal of Information Technology Software Engineering,
doi:10.4172/2165-7866.1000136, vol. 04, 2014.
[4] Neha Sharma and D. Sanjay Tyagi, “A comparative analysis of min-min
and max-min algorithms based on the makespan parameter”, Interna-
tional Journal of Advanced Research in Computer Science, vol. 8, no.
03, April 2017.
[5] Sanjay Kumar and Atul Mishra, “Application of min-min and max-
min algorithm for task scheduling in cloud environment under time
shared and space shared vm models”, International Journal of Computing
Academic Research (IJCAR), vol. 04, no. 06, pp. 182–190, December
2015.
[6] R. Jemina Priyadarsini and L. Arockiam, “Performance evaluation of
min-min and max-min algorithms for job scheduling in federated cloud”,
International Journal of Computer Applications (0975 â 8887), vol. 99,
no. 18, August 2014.
Fig. 7. Average turnaround time Comparison by changing the number of [7] M. Joundy, S. Sarhan, and S. Elmougy, “Task scheduling algorithms
tasks in cloud computing: A comparative study”, International Journal of
Intelligent Computing And Information Science.
[8] Essaies Meriam and Nabil Tabbane, “A survey on cloud computing
scheduling algorithms”, 2016 Global Summit on Computer Information
Technology, DOI: 10.1109/GSCIT.2016.6, 2017.
[9] Abhishek Gupta, H. S. Bhadauriay, Annapurna Singhz, and Jagdish
Chandra Patnix, “A theoretical comparison of job scheduling algorithms
in cloud computing environment”, 2015 1st International Conference on
Next Generation Computing Technologies (NGCT-2015), 4-5 September
2015.
[10] Arnav Wadhonkar and Deepti Theng, “A survey on different schedul-
ing algorithms in cloud computing”, International Conference on Ad-
vances in Electrical, Electronics, Information, Communication and Bio-
Informatics (AEEICB16), 2016.
[11] Teena Mathew, K. Chandra Sekaran, and John Jose, “Study and
analysis of various task scheduling algorithms in the cloud comput-
ing environment”, International Conference on Advances in Comput-
ing,Communications and Informatics (ICACCI), IEEE, 2014.
[12] Aswathy B Namboothiri and D. R. Joshua Samuel Raj, “A comparative
Fig. 8. Average turnaround time Comparison by changing the number of study on job scheduling algorithm augmenting load balancing in cloud”,
VMs Second International Conference on Science Technology Engineering
And Management(ICONSTEM), IEEE, 2016.
Authorized licensed use limited to: BOURNEMOUTH UNIVERSITY. Downloaded on June 27,2021 at 06:27:46 UTC from IEEE Xplore. Restrictions apply.
[13] V.Seethalakshmi, D. V. Govindasamy, D. V. Akila, G. Sivaranjini, K.
Sindhuja, and K. Prasanth, “A survey of different workflow scheduling
algorithms in cloud computing”, International Conference on Compu-
tation of Power,Energy, Information and Communication (ICCPEIC),
IEEE, 2019.
[14] Arghavan Keivani and Jules-Raymond Tapamo, “Task scheduling in
cloud computing: A review”, IEEE, 2019.
[15] Kavyasri M N and D. B. Ramesh, “Comparative study of scheduling
algorithms to enhance the performance of virtual machines in cloud
computing”, 2016.
[16] Yash P. Dave, Avani S. Shelat, Dhara S. Patel, and Rutvij H. Jhaveri,
“Various job scheduling algorithms in cloud computing: A survey”, in
ICICES2014 - S.A.Engineering College, Chennai, Tamil Nadu, India,
IEEE, 2014.
[17] Graves and Alex, “Load balancing strategy using round robin algo-
rithm”, Asia-pacific Journal of Convergent Research Interchange, vol.
02, no. 03, pp. 1–10, September 30, 2016.
[18] R. Valarmathi and D. T. Sheela, “A comprehensive survey on task
scheduling for parallel workloads based on particle swarm optimisation
under cloud environment”, Second International Conference On Com-
puting and Communications Technologies(ICCCT-17), 2017.
[19] Shubham, R. Gupta, V. Gajera, and P. K. Jana, “An effectivemulti-
objective workflow scheduling in cloud computing: A pso based ap-
proach”, Ninth International Conference on Contemporary Computing
(IC3), 2016, pp. 1–6.
[20] Ruba Abu Khurma, Heba Al Harahsheh, and Ahmad Sharieh, “Task
scheduling algorithm in cloud computing based on modified round robin
algorithm”, Journal of Theoretical and Applied Information Technology,
vol. 96, no. 17, pp. 5869–5888, 15th September 2018.
Authorized licensed use limited to: BOURNEMOUTH UNIVERSITY. Downloaded on June 27,2021 at 06:27:46 UTC from IEEE Xplore. Restrictions apply.