An Improved Min-Min Task Scheduling Algorithm For Load Balancing in Cloud Computing
An Improved Min-Min Task Scheduling Algorithm For Load Balancing in Cloud Computing
Volume: 4 Issue: 4
ISSN: 2321-8169
60 - 64
________________________________________________________________________________________________________
Abstract Cloud computing is a model that uses computing resources (CPU, memory, processor etc.) which are delivered as a service over a
network internet. It is a new field for large scale distributed computing. In cloud computing, one of the major task is to execute large number of
tasks with given available resources to achieve high performance, minimal total time for completion, Minimum response time, effective
utilization of resources etc. Keeping all these perspective, we need to design, develop and propose a scheduling algorithm to develop an
allocation map to represent the set of tasks on appropriate resources. Though traditional Min-Min algorithm is a simple, yet efficient algorithm
that provides a better scheduling to minimize the total time for completion of tasks compared to the other algorithms. However the drawback of
this algorithm is the load imbalanced, which is one of the major issue for cloud provider. In this paper, we introduce an improved load balancing
algorithm keeping Min-Min algorithm as base in order to reduce the makespan and increase the resource utilization (ILBMM). The proposed
method has two different phases, in the first phase traditional min-min algorithm is executed and in second phase it selects the task with
maximum completion time and assigns it to appropriate resource to produce better makespan and utilize resource effectively
Keywords-Cloud Computing; Load Balance; Min-Min Algorithm; Task Scheduling
__________________________________________________*****_________________________________________________
I.
INTRODUCTION
60
IJRITCC | April 2016, Available @ http://www.ijritcc.org
____________________________________________________________________________________________________________________
ISSN: 2321-8169
60 - 64
________________________________________________________________________________________________________
decrease jobs completion time and improve the load balance in
in the system and n is the number of submitted tasks which
the cloud
should be scheduled [4], [6]
II.
RELATED WORK
III.
MET assigns each task to the resource that performs it in the least
amount of execution time, no matter whether this resource is
available or not at thattime[10]. This heuristic can cause a severe load
imbalance across the resources. However, this is one of the heuristics
that is implemented in SmartNet. The aim behind MET is to give
each task to its best machine
MCT assigns each task to the resource which obtains earliest
completion time for that task, which causes some of the tasks to be
assigned to the resources whose execution time is not minimum for
them [9]. The intension of MCT is to combine the benefits of OLB
and MET while avoiding the drawbacks of these two algorithms.
Min-Min algorithm starts with the set of all the unmapped tasks.
Machine with the least or minimum completion time for all jobs will
be selected. Next the job whose overall completion time is minimum
will be selected and will be mapped to the respective resource. Ready
time of the resource will then be updated. Repeat this process until all
the unmapped tasks are assigned. This algorithm considers all jobs at
any time compared to the MCT, which shows that it produces a better
makespan.
Max-Min is similar to Min-Min algorithm. The machine that has the
minimum completion time for all jobs is selected. Then the job with
the overall maximum completion time is selected and will be mapped
to the resource. Next the ready time of the resource is updated.
Repeat this process until all the unmapped tasks are alocated. The
basic idea of this algorithm is to reduce the overall waiting time of
the large jobs
SaeedParsa et al.proposed a new task scheduling algorithm called
RASA [4]. It takes advantage of both Max-min and Min-min
algorithm. RASA uses the Min-min strategy to execute small tasks
before large ones and applies the Max-min strategy to avoid delays in
the execution of the large tasks and to support concurrency in the
execution of large and small tasks
Each of Max-min and Min-min algorithms have running time
complexity of (mn2), where m is the number of resources currently
ISSN: 2321-8169
60 - 64
________________________________________________________________________________________________________
A. Algorithm
//Rescheduling to balance the load sort resources in order
of completion time
7. Do while the most heavy load resource is considered no
//Calculate the completion time matrix for all task on each
need for rescheduling
resource
8.
Find task Ti that cost minimum execution time on the
1. For all submitted tasks in task set; T i
heavy load resource Rj
1.1. For all resources; Rj
9.
Find the minimum completion time of T i produced by
1.1.1. Ctij = Etij + rtj // Ctij means expected
resource Rk
completion time of task i on resource j
10. If such minimum completion time <makespan
2. Do while tasks set is not empty
11. Reassign Task Ti to Resource Rk
3. Find task Tkthat cost minimum execution time
12. Update the ready time of both Rj and Rk
4. Assign task Tk to resource Rj which gives minimum
13. End If
Expected completion time
14. End Do
5. Remove task Tk from tasks set.
//where Makespan represents maximum completion time
5.1. Update rtj for selected Rj.
of all tasks which equals to the completion time of the
5.2. Update Cij for all Ti
most heavy load resource
6. End do
IV.
62
IJRITCC | April 2016, Available @ http://www.ijritcc.org
____________________________________________________________________________________________________________________
ISSN: 2321-8169
60 - 64
________________________________________________________________________________________________________
V. THEORETICAL ANALYSIS
Assume that task scheduler has meta-tasks and resource as
given below. Table 1 represents the volume of instruction and
data of task T1to T4. Instruction volume is specified in MI
(Millions instructions) Unit and data volume is specified in
MB.
Table 1 Task specification
Task
Instruction
volume (MI)
Data volume
(MB)
T1
8178
137
T2
11295
258
T3
12109
182
T4
6107
137
Resource
Processing
speed (MIPS)
Bandwidth
(Mbps)
R1
100
70
R2
350
60
Resources
R1
R2
T1
81.78
23.36
T2
112.95
32.27
T3
121.09
34.59
T4
61.07
17.45
63
IJRITCC | April 2016, Available @ http://www.ijritcc.org
____________________________________________________________________________________________________________________
ISSN: 2321-8169
60 - 64
________________________________________________________________________________________________________
[7] Braun, Tracy D, et al. "A comparison of eleven static heuristics
for mapping a class of independent tasks onto heterogeneous
distributed computing systems" Journal of Parallel and
Distributed computing , Volume 61, Issue 6, Pages 810 837,
2001
[8] AnjuBala, Dr.InderverChana, "A Survey of Various Workflow
Scheduling Algorithm in Cloud Environment",2nd national
conference
on
information
and
communication
technology(NCICT)2011
[9] George Amalarethinam. D.I, VaaheedhaKfatheen .S, Max-min
Average Algorithm for Scheduling Tasks in Grid Computing
Systems, International Journal of Computer Science and
Information Technologies, Vol. 3 (2) , 2012 ,3659-3663
[10] Elzeki, O. M., M. Z. Reshad, and M. A. Elsoud. "Improved MaxMin Algorithm in Cloud Computing", International Journal of
Computer Applications, Volume 50, Issue 12, Pages 22-27, 2012
[11] S.-C.Wang, K.-Q. Yan, S.-S.Wang, C.-W. Chen, A three-phases
scheduling in a hierarchical cloud computing network, in:
[12]
[13]
[14]
[15]
64
IJRITCC | April 2016, Available @ http://www.ijritcc.org
____________________________________________________________________________________________________________________