A Hybrid Algorithm For Grid Task Scheduling Problem
A Hybrid Algorithm For Grid Task Scheduling Problem
A Hybrid Algorithm For Grid Task Scheduling Problem
\
|
=
=
+ =
t
i
m
j
m
j
t
i
ct makespan
0 0
) ( max
(2)
3. PROPOSED ALGORITHM
In this paper a new method for solving task scheduling in Grid computing system is proposed by combining Genetic
Algorithm with Tabu Search Algorithm that will describe in this section. For displaying chromosomes a 1 t vector is
used[15], where t is equal by the number of all available tasks for processing. Each chromosome in the proposed
algorithm shows apossible mappingfor all tasks of users. In the proposed algorithm parents are selected using
therankingmethod, and the chosen operator for generating new children is single point crossover. After generating new
children the mutation operator is used for making diversity in children population. Swap and Transfer are two types of
methods that selected for mutation. The main purpose of these mutations is changing tasks between different machines to
process the tasks with more suitable machines.
In Population Optimizations step, some percentages of available chromosomes optimized by Tabu Search algorithm and
added to the genetic population as new children. Tabu Search algorithm receive one genetic chromosome as base solution,
and try to optimize the chromosome with its operators in some iterations.
In the proposed Tabu Search algorithm, at first a solution will create in neighborhood of current solution. Then, the index
of tasks that has a role in generating the new neighbor will locate in the tabu list, to forbidden these tasks to participate in
generating new neighbors. In following, if the generated neighbor be better than the best solution produced so far, the
generated neighbor will select as the best solution and the structures of memory will updated. This cycle of generating
neighborhood will repeat in numbers that was determined before, and finally the Tabu Search algorithm will return its
best solution to Genetic Algorithm.
The proposed algorithm get terminated if no improvement observed in chromosomes in a predefine number of generation.
Figure 1 shows the flowchart of the proposed algorithm.
Figure1: Flowchart of the proposed algorithm
4. EXPERIMENTAL RESULTS
To evaluate the performance of the proposed algorithm, it is compared with other heuristic algorithms in [11]. The
proposed algorithm was implemented in C# 2010 and the tests were made on a Pentium IV 3.00GHz processor with 1.00
GB of RAM.For testing the proposed algorithm in simulated environment, 9 test data set based on different type of ETC
matrices are designed, each of them consisting of 100 instances. They are labeled as Test_X_YZ_N where X is the type of
ETC matrices(C - consistent, I inconsistent and p means partially consistent), Y and Z indicate the task and machine
heterogeneity. Their value could be H for maximum heterogeneity and L for the minimum heterogeneity. N is used to
number the corresponding test. For example, if a test labeled as Test_C_HH_10, it means that, in this test a consistent
matrices is used with maximum heterogeneity for tasks and machines.In test of the proposed algorithm, all test data sets
are composed from 512 jobs and 16 machines. Various GA and TS options used are:
Population size =100
Crossover probability =0.75
International Journal of Application or Innovation in Engineering& Management (IJAIEM)
Web Site: www.ijaiem.org Email: editor@ijaiem.org, editorijaiem@gmail.com
Volume 2, Issue 10, October 2013 ISSN 2319 - 4847
Volume 2, Issue 10, October 2013 Page 345
Mutation probability =0.25
Tabu Search neighborhood size =20
tabu_tenure =5
The proposed algorithm for any test performed 100 times and the average of fitness values is calculated by the proposed
algorithm. Figure 2 shows the output of Test_C_HH_1 in Gant chart. This Chart is consisting of 16 rows and 512 colorful
rectangles that any one of them is showing one of the 16 machines and 512 works in the simulated system.
Figure2: Gant chart of Test_C_HH_1
In Figure 3 the chart of movements of best chromosome in genetic population is shown,that represents high speed of
algorithm in achieving to optimal solution. In this chart tilt of curve will decrease during the time, and finally its stopped
in local optima.
Figure3: Fitness of the best chromosome in Genetic Population
Table1 shows the result of several tests that obtained to optimal solutions. In Table 1, the first column presents test name,
and other results such as the best iteration that optimal solution obtained, the total running time for the proposed
algorithm, the time that optimal solution obtained, and fitness of the optimal solution are presented in other columns
respectively.
Table 1: The result of some tests
Test Data Best Iteration Run Time Best time Best fitness
Test_C_HH_
1
40115 785 767 7234264
Test_I_HH_1 69897 1358 1339 3103133
International Journal of Application or Innovation in Engineering& Management (IJAIEM)
Web Site: www.ijaiem.org Email: editor@ijaiem.org, editorijaiem@gmail.com
Volume 2, Issue 10, October 2013 ISSN 2319 - 4847
Volume 2, Issue 10, October 2013 Page 346
Test_P_HH_1 57390 1104 1086 4425099
Figure 4 shows the chart of average running time for the proposed algorithm and other heuristic algorithms [11]. In
Figure 4 the average running time of proposed algorithm shown with red color.
Figure4: Average run time of the proposed and other heuristic algorithms
Figure 5 shows the comparison of makespan obtained by the proposed algorithm and other heuristic algorithms [11]. As
you can see in Figure 5 the proposed algorithm obtained better optimal solution in comparison with other heuristic
algorithms.
Figure5: Comparison of makespan versus other algorithms in the literature
5. CONCLUSION
In this paper a new method for solving task scheduling in Grid computing system is proposed by combining Genetic
Algorithm with Tabu Search Algorithm. The goal of proposed algorithm is to minimizing the execution time of all tasks
and dividing the computational load of the whole system between all resources equally. To evaluate the performance of
the proposed algorithm, it is compared with other heuristic algorithms, and experimental results showed that the proposed
algorithm has high performance for solving task scheduling in Grid computing. For future works, the effect of selecting
other type of operations and parameters on the quality of solving problem in proposed algorithm could be examine.
References
[1] H. Casanova, and J. Dongarra,Applying NetSolve's network-enabled server,Computational Science &Engineering,
Vol. 5, No. 3, pp. 57-67, 1998.
[2] J. P. Goux, S. Kulkarni, J. Linderoth, and M. Yoder, An enabling framework for master-worker applications on the
computational grid,In Proceedings Ninth IEEE International Symposium on High-Performance Distributed
Computing, pp. 43-50, 2000.
[3] S. J. Wright, Solving optimization problems on computational grids,Optima, 65(ANL/MCS/JA-38869), 2001.
[4] J.Linderoth, and S.Wright, Decomposition algorithms for stochastic programming on a computational grid,
Computational Optimization and Applications, Vol. 24,No. 2-3, pp. 207-250, 2003.
[5] H. B.Newman, M. H.Ellisman, and J. A.Orcutt, Data-intensive e-science frontier research, Communications of the
ACM, Vol. 46, No. 11, pp. 68-77,2003.
International Journal of Application or Innovation in Engineering& Management (IJAIEM)
Web Site: www.ijaiem.org Email: editor@ijaiem.org, editorijaiem@gmail.com
Volume 2, Issue 10, October 2013 ISSN 2319 - 4847
Volume 2, Issue 10, October 2013 Page 347
[6] F. Xhafa, C. Paniagua, L. Barolli, and S. Caballe, A parallel grid-based implementation for real-time processing of
event log data of collaborative applications, International Journal of Web and Grid Services, Vol. 6, No. 2, pp. 124-
140, 2010.
[7] M. D. Beynon, A. Sussman, U. Catalyurek, T. Kurc, and J. Saltz, Performance optimization for data intensive grid
applications, In Proceedings Third IEEE Annual International Workshop on Active Middleware Services, pp. 97-
105, 2001.
[8] I. Foster, C. Kesselman (Eds.), The Grid: Blueprint for a Future ComputingInfrastructure, Morgan Kaufmann, San
Francisco, USA, 1999.
[9] D. Fernndez-Baca,Allocating modules to processors in a distributed system, In Proceedings of the IEEE
Transactions on Software Engineering, Vol. 15, No. 11, pp. 1427-1436, 1989.
[10] O. H.Ibarra, and C. E.Kim,Heuristic algorithms for scheduling independent tasks on nonidentical processors,
Journal of the ACM (JACM), Vol. 24, No. 2, pp. 280-289, 1977.
[11] T. D.Braun, H. J.Siegel,N.Beck, L. L.Blni, M.Maheswaran, A. I.Reuther, and R. F.Freund,A comparison of
eleven static heuristics for mapping a class of independent tasks onto heterogeneous distributed computing systems,
Journal of Parallel and Distributed computing, Vol. 61, No. 6, pp. 810-837, 2001.
[12] J.Carretero, F.Xhafa, and A.Abraham,Genetic algorithm based schedulers for grid computing systems,
International Journal of Innovative Computing, Information and Control, Vol. 3, No. 6, pp. 1-19, 2007.
[13] Y. Jia-bin, L.Jiao-min, and S. Zhen-yu,Strategy for tasks scheduling in grid combined neighborhood search with
improved adaptive genetic algorithm based on local convergence criterion,In Proceedings of IEEE International
Conference on Computer Science and Software Engineering, Vol. 3, pp. 9-13, 2008.
[14] X. Zhang, and W. Zeng,Grid Workflow Scheduling based on improved genetic algorithm, In Proceedings IEEE
International Conference on Computer Design and Applications (ICCDA), Vol. 5, pp. 270-273, 2010.
[15] Z.Pooranian, M.Shojafar, R.Tavoli,M.Singhal, and A.Abraham,A Hybrid Meta-Heuristic Algorithm for Job
Scheduling on Computational Grids,Inform J,Vol. 37, No. 2, pp. 157164, 2013.
[16] R.Subrata, A. Y.Zomaya, and B.Landfeldt,Artificial life techniques for load balancing in computational grids,
Journal of Computer and System Sciences, Vol. 73,No. 8, pp. 1176-1190,2007.
[17] SH. Benedict,V. Vasudevan,Improving scheduling of scientic workows using tabu search for computational
grids, Inf Technol J, Vol. 7, No. 1, pp. 9197, 2008.
[18] F.Xhafa, and A. Abraham,Computational models and heuristic methods for Grid scheduling problems,Future
generation computer systems, Vol. 26, No. 4, pp. 608-621, 2010.
AUTHOR
AtenaShahkolaei received her B.S. in IT Engineering from University of Ghaemshahr, Iran and received her
M.S. degree in Software Engineering from Science and Research University of Amol, Iran. She is a reader in
Grid Computing, Cloud Computing and she has done a lot of researches about Grid Computing in recent years.
Hamid Jazayeriy is a lecturer at the faculty of electrical and computer engineering, NIT, IRAN. He received
his B.Sc. of computer engineering from university of Tehran in 1996 and his master of software engineering
from university of Isfahan in 2000. In 2011, he received his Ph.D. from university Putra Malaysia, UPM. He is
a reader in multi-agent systems, swarm intelligence and graph theory.