Professional Documents
Culture Documents
net/publication/329073318
CITATIONS READS
0 59
3 authors:
Pratyay Kuila
National Institute of Technology Sikkim
33 PUBLICATIONS 724 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Pratyay Kuila on 06 December 2018.
The MCS may consist of several processors which are heterogeneous in nature in
terms of resources capacity, working platform, topology, etc. Let, an application is
submitted to the system and one core or processor is not sufficient to execute the
application. Then, the computationally challenged application is distributed among
the multiple cores so the system as a single coherent unit to execute the assigned
application as early as possible. Based on the characteristic of an application, the
execution is performed in two different ways like static and dynamic scheduling
[1–6]. The main aim of task scheduling is to how well task assignment is done to
the processors? The assignment of task should be done in such a way that it should
lead to faster possible completion time. If the tasks are assigned to the processors
in an uneven manner, then one or two processors became heavily loaded. Moreover,
it may also happen that some of the resources are extensively used and some of
the costly resources remain unused. As a result, the performance of the system may
be degraded in terms of overall completion time, response time, resource utilization,
load balancing, speedup factor, etc. [1–3, 7–9]. Therefore, we are motivated to design
a scheduling algorithm for a multi-core system by addressing makespan, utilization
of resources, and speedup ratio. It should be noted that the scheduling on a multi-
core systems (MC S) is a NP-complete problem. In this paper, we proposed a genetic
algorithm based scheduling technique with the following objectives: minimization
of makespan, maximization of resource utilization, and maximization of speedup
ratio. Our main contributions in this paper are summarized as follows.
2 Related Works
according to the size and then assign to the processors by using genetic algorithm.
It considered one objective, i.e., minimization of makespan.
The above algorithms considered minimization of makespan or maximization
of resource utilization. Our proposed work, genetic algorithm based scheduling for
independent task over multi-core system is done by considering three objectives, min-
imization of makespan, maximization of utilization, and maximization of speedup
ratio.
Fig. 1 Representation of
chromosome
• The finish time F T (θi ) means the sum of the execution time and the actual start
time of the task θi on processor λr which is given as follows:
4 Proposed Work
The proposed work genetic algorithm based scheduling in multi-core system consists
of the following sections as discussed below.
The chromosome should always give a complete solution to the problem. Here, a
chromosome is a string of randomly generated processor number. Initial population
is created by randomly generated PS I Z E of chromosomes, where PS I Z E is the pop-
ulation size. Let us assume a system with a set of 10 tasks θ = {θ1 , θ2 , θ3 , . . . , θ10 }
and 3 processors λ = {λ1 , λ2 , λ3 }. It can be observed from Fig. 1 that the 2nd gene
position is one, which indicates that the θ2 is assigned to λ1 . Accordingly, θ1 , θ3 , and
θ5 is assigned to λ2 , λ3 and λ2 respectively.
To derive the fitness value, we have considered three objectives like minimization
of makespan, maximization of processor utilization, and maximization of speedup
ratio. Here, each chromosome is evaluated by the fitness value and finds out the
best solution for our problem. The detailed derivation of the fitness function is given
below.
• Minimization of Makespan: Each task θi ∈ θ should be assigned to the processors
so that the execution can be completed within the shortest possible time. Therefore,
the first objective can be described as follows:
A Novel Genetic Algorithm Based Scheduling for Multi-core Systems 49
• Maximization of Speedup: The speedup factor can be defined as the ratio between
sequential execution time by makespan (parallel schedule length) as given below.
n
ξ T (θi , λr )
SP = i=1
(9)
Mks
Note that the above objectives are conflicting with each other. Here, we have used
weighted sum approach (WSA) [13] to compute the fitness function. WSA is a
classical approach for optimizing the multi-objective task scheduling problem,
where each objective is assigned a weight. Our goal is to choose the solution
with minimum fitnessvalue. Let the weight value of the parameters be β1 , β2 , β3 ,
respectively, where 3j=1 β j = 1. The fitness function of the proposed work is as
follows:
(a)
(b)
We have done the simulations to demonstrate our proposed work on a system which
is running on Intel i7 3.4 GHz CPU with 4 GB of RAM. The proposed work is
implemented by using C programming on Ubuntu 14.04 operating system. We have
used a robust selection mechanism, Roulette Wheel selection procedure, that selects
parents based on their fitness values. Here, we have used the weighted sum approach
(WSM) for calculating the fitness of a chromosome by considering the mentioned
conflicting objectives. Our algorithm is analyzed and validated by the synthetic as
well as benchmark data set [10] as follows.
(a)
(b)
(c)
Fig. 3 Simulation results on synthetic data sets a makespan, b utilization, and c speedup ratio
The proposed work is simulated by considering four randomly generated data sets
like, (1) 100 tasks with 3 processors (100 × 3), (2) 200 tasks with 3 processors
(200 × 3), (3) 500 tasks with 5 processors (500 × 5), and (4) 1000 tasks with 10
processors (1000 × 10). Here, the size of the tasks is also randomly generated and
the used weight values 0.5, 0.3, 0.2 for the calculation of fitness value. The pictorial
representation of the simulation results is shown in Fig. 3a–c. To show the effective-
ness of the proposed work, we have also validated our work by benchmark data set
[10] as discussed below.
Here, two data sets 256 tasks on 8 processors (256 × 8) and 512 tasks on 16 proces-
sors (512 × 16) have been considered to validate the work. The data sets contain 12
instances which helps in scheduling [10]. The instances are expressed as u_x_yyzz
where u denotes instances generated by the uniform distribution, x denotes the con-
sistency as follows, consistent (c), inconsistent (i), or semi-consistent (s)]. The yy
shows heterogeneity [i.e., high (hi) or low (lo)] of the task and zz shows the hetero-
geneity [i.e., high (hi) or low (lo)] of the processor. The u_c_hihi, u_c_hilo, u_c_lohi,
u_c_lolo, u_i_hihi, u_i_hilo, u_i_lohi, u_i_lolo, u_s_hihi, u_s_hilo, u_s_lohi, and
52 A. Bose et al.
(a)
(b)
(c)
Fig. 4 Simulation results on benchmark data sets a makespan, b processor utilization, and c speedup
ratio
A Novel Genetic Algorithm Based Scheduling for Multi-core Systems 53
u_s_lolo are the generated 12 different instances of the set. We have evaluated our
work by considering the sets based on makespan, utilization, and speedup ration.
It has been observed that the proposed algorithms Pr o − G A perform better than
GAHDCS [11], HGAAP [12], and PGA [16] in terms of considered objectives.
It observed that the proposed algorithm produces lesser makespan due to adjust-
ment of tasks to the available processors based on the earliest finish time. Therefore,
before assigning a task to the processor, the actual start time is calculated which
helps in finding the EFT. So, the overall execution is minimized by utilization of the
cores and improve the speedup ratio. We have shown the pictorial representation of
performance study of the proposed work as in Fig. 4a–c.
6 Conclusions
In this paper, we have designed a genetic algorithm based independent task schedul-
ing for multi-core system. The experimental results show that the proposed algorithm
has considerable improvements over the GAHDCS, HGAAP, and PGA in terms of
the considered objectives. To show the effectiveness, the proposed work is validated
by synthetic and benchmark data set. However, the proposed algorithm does not con-
sider dependency of the tasks and energy optimization of the processor. In future,
our attempt will be to develop a new energy-efficient scheduling algorithm with
dependency constraints.
References
1. Jiang, J., Lin, Y., Xie, G., Fu, L., Yang, J.: Time and energy optimization algorithms for the
static scheduling of multiple workflows in heterogeneous computing system. J. Grid Comput.
1–22 (2017)
2. Gogos, C., Valouxis, C., Alefragis, P., Goulas, G., Voros, N., Housos, E.: Scheduling inde-
pendent tasks on heterogeneous processors using heuristics and column pricing. Future Gener.
Comput. Syst. 60, 48–66 (2016)
3. AlEbrahim, S., Ahmad, I.: Task scheduling for heterogeneous computing systems. J. Super-
comput. 73(6), 2313–2338 (2017)
4. Biswas, T., Kuila, P., Kumar Ray, A.: Multi-level queue for task scheduling in heterogeneous
distributed computing system. In: 2017 4th International Conference on Advanced Computing
and Communication Systems (ICACCS), pp. 1–6. IEEE (2017)
5. Amalarethinam, D.G., Kavitha, S.: Priority based performance improved algorithm for meta-
task scheduling in cloud environment. In: 2017 2nd International Conference on Computing
and Communications Technologies (ICCCT), pp. 69–73. IEEE (2017)
6. Alkayal, E.S., Jennings, N.R., Abulkhair, M.F.: Efficient task scheduling multi-objective parti-
cle swarm optimization in cloud computing. In: 2016 IEEE 41st Conference on Local Computer
Networks Workshops (LCN Workshops), pp. 17–24. IEEE (2016)
7. Liu, Y., Zhang, C., Li, B., Niu, J.: Dems: a hybrid scheme of task scheduling and load balancing
in computing clusters. J. Netw. Comput. Appl. 83, 213–220 (2017)
54 A. Bose et al.
8. Vasile, M.-A., Pop, F., Tutueanu, R.-I., Cristea, V., Kołodziej, J.: Resource-aware hybrid
scheduling algorithm in heterogeneous distributed computing. Future Gener. Comput. Syst.
51, 61–71 (2015)
9. Biswas, T., Kumar Ray, A., Kuila, P., Ray, S.: Resource factor-based leader election for ring
networks. In: Advances in Computer and Computational Sciences, pp. 251–257. Springer
(2017)
10. Braun, T.D., Siegel, H.J., Beck, N., Bölöni, L.L., Maheswaran, M., Reuther, A.I., Robertson,
J.P., Theys, M.D., Yao, B., Hensgen, D.: A comparison of eleven static heuristics for mapping
a class of independent tasks onto heterogeneous distributed computing systems. J. Parallel
Distrib. Comput. 61(6), 810–837 (2001)
11. Jooyayeshendi, A., Akkasi, A.: Genetic algorithm for task scheduling in heterogeneous dis-
tributed computing system. Int. J. Sci. Eng. Res. 6(7), 1338 (2015)
12. Ding, S., Wu, J., Xie, G., Zeng, G.: A hybrid heuristic-genetic algorithm with adap-
tive parameters for static task scheduling in heterogeneous computing system. In: Trust-
com/BigDataSE/ICESS, 2017 IEEE, pp. 761–766. IEEE (2017)
13. Yuming, X., Li, K., Jingtong, H., Li, K.: A genetic algorithm for task scheduling on heteroge-
neous computing systems using multiple priority queues. Inf. Sci. 270, 255–287 (2014)
14. Friese, R.D.: Efficient genetic algorithm encoding for large-scale multi-objective resource allo-
cation. In: 2016 IEEE International Parallel and Distributed Processing Symposium Workshops,
pp. 1360–1369. IEEE (2016)
15. Sheng, X., Li, Q.: Template-based genetic algorithm for qos-aware task scheduling in cloud
computing. In: 2016 International Conference on Advanced Cloud and Big Data (CBD), pp.
25–30. IEEE (2016)
16. Kwok, Y.-K., Ahmad, I.: Efficient scheduling of arbitrary task graphs to multiprocessors using
a parallel genetic algorithm. J. Parallel Distrib. Comput. 47(1), 58–77 (1997)