IEEE Consumer Electronics Magazine - January/February 2022 - 75
propose to add an adaptive mutation and an
injection strategy to alleviate these problems.
Adaptive mutation solves the problem that
genes of excellent individuals with high adaptabilities
are destroyed and enters a random
search. If the mutation probability is too low,
then it is difficult to introduce new genes, which
makes the algorithm's later search stalled.17 The
injection strategy has a powerful supplementary
diversity mechanism, which alleviates the earlier
convergence in the algorithm and can make the
algorithm easier to avoid reaching the local optimal
solution.
GA for NP-Hard
The task scheduling problem of heterogeneous
multicore processors is an NP-hard problem.
How to quickly obtain the task scheduling
strategy of the multitask model is a key indicator
to evaluate the performance of the algorithm. Efficient
algorithms can reduce the time consumed
to solve the task scheduling strategy. The scheduling
strategy designed in this article improves
the GA to build the model. Selection, crossover,
and mutation in the GA are the key operations of
population iterative evolution. The final evolution
and optimization effects of the entire population
are related to the fitness function, crossover
probability, and mutation probability set in the
algorithm. Therefore, in order to solve the problem
of low efficiency and local optimal solution in
the GA, we add adaptive mutation and injection
strategies to improve the GA.
Tasks Prescheduling
To bind the execution relationship between
heterogeneous processing cores and various
types of tasks, we detect the computing capacities
of different cores by processing specified
tasks beforehand. We introduce an regulatory
factor g to adjust the proportion of tasks for testing,
where 0 < g < 1. Based on this, we calculate
the total completion time and find a minimum
one as the initial setting of the intelligence task
scheduling algorithm.
Steps of Intelligence Task Scheduling Strategy
We propose a swarm intelligence algorithm
that improves the GA using the following steps.
The flow chart is shown in Figure 2.
January/February 2022
Figure 2. Flow chart of GA modeling and solving.
Step 1: Initialize parameters of the intelligence
task scheduling strategy. Each individual in
the initial population denotes a scheduling
scheme. In this model, we combine the task
pre-scheduling and the dependencies
between tasks as follows:
(i) We first calculate the HðTiÞ, where
HðTiÞ denotes the height value of task
Ti based on the DAG diagram.
(ii) The tasks are allocated to GPU and CPU
based on the prescheduling strategy.
(iii) According to the HðTiÞ obtained in
step (i), the tasks randomly assigned
on each core are sorted in an increasing
order, and the sorting result is the
execution order of tasks on the processing
unit.
(iv) When the size of the initial population
does not meet the requirements, we
switch back to (ii); otherwise, we go to
step 2.
Step 2: We calculate the fitness function of all
individuals in the population, and all individuals
in the population are ranked based on
the fitness order. The selection of the fitness
function affects whether the algorithm can
find the optimal solution and the convergence
speed directly. We judge the quality
of the solution according to the value of the
fitness function.
We use Sca to denote the size of the current
population, and we use TtotalðSÞ to denote the
75
IEEE Consumer Electronics Magazine - January/February 2022
Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - January/February 2022
Contents
IEEE Consumer Electronics Magazine - January/February 2022 - Cover1
IEEE Consumer Electronics Magazine - January/February 2022 - Cover2
IEEE Consumer Electronics Magazine - January/February 2022 - Contents
IEEE Consumer Electronics Magazine - January/February 2022 - 2
IEEE Consumer Electronics Magazine - January/February 2022 - 3
IEEE Consumer Electronics Magazine - January/February 2022 - 4
IEEE Consumer Electronics Magazine - January/February 2022 - 5
IEEE Consumer Electronics Magazine - January/February 2022 - 6
IEEE Consumer Electronics Magazine - January/February 2022 - 7
IEEE Consumer Electronics Magazine - January/February 2022 - 8
IEEE Consumer Electronics Magazine - January/February 2022 - 9
IEEE Consumer Electronics Magazine - January/February 2022 - 10
IEEE Consumer Electronics Magazine - January/February 2022 - 11
IEEE Consumer Electronics Magazine - January/February 2022 - 12
IEEE Consumer Electronics Magazine - January/February 2022 - 13
IEEE Consumer Electronics Magazine - January/February 2022 - 14
IEEE Consumer Electronics Magazine - January/February 2022 - 15
IEEE Consumer Electronics Magazine - January/February 2022 - 16
IEEE Consumer Electronics Magazine - January/February 2022 - 17
IEEE Consumer Electronics Magazine - January/February 2022 - 18
IEEE Consumer Electronics Magazine - January/February 2022 - 19
IEEE Consumer Electronics Magazine - January/February 2022 - 20
IEEE Consumer Electronics Magazine - January/February 2022 - 21
IEEE Consumer Electronics Magazine - January/February 2022 - 22
IEEE Consumer Electronics Magazine - January/February 2022 - 23
IEEE Consumer Electronics Magazine - January/February 2022 - 24
IEEE Consumer Electronics Magazine - January/February 2022 - 25
IEEE Consumer Electronics Magazine - January/February 2022 - 26
IEEE Consumer Electronics Magazine - January/February 2022 - 27
IEEE Consumer Electronics Magazine - January/February 2022 - 28
IEEE Consumer Electronics Magazine - January/February 2022 - 29
IEEE Consumer Electronics Magazine - January/February 2022 - 30
IEEE Consumer Electronics Magazine - January/February 2022 - 31
IEEE Consumer Electronics Magazine - January/February 2022 - 32
IEEE Consumer Electronics Magazine - January/February 2022 - 33
IEEE Consumer Electronics Magazine - January/February 2022 - 34
IEEE Consumer Electronics Magazine - January/February 2022 - 35
IEEE Consumer Electronics Magazine - January/February 2022 - 36
IEEE Consumer Electronics Magazine - January/February 2022 - 37
IEEE Consumer Electronics Magazine - January/February 2022 - 38
IEEE Consumer Electronics Magazine - January/February 2022 - 39
IEEE Consumer Electronics Magazine - January/February 2022 - 40
IEEE Consumer Electronics Magazine - January/February 2022 - 41
IEEE Consumer Electronics Magazine - January/February 2022 - 42
IEEE Consumer Electronics Magazine - January/February 2022 - 43
IEEE Consumer Electronics Magazine - January/February 2022 - 44
IEEE Consumer Electronics Magazine - January/February 2022 - 45
IEEE Consumer Electronics Magazine - January/February 2022 - 46
IEEE Consumer Electronics Magazine - January/February 2022 - 47
IEEE Consumer Electronics Magazine - January/February 2022 - 48
IEEE Consumer Electronics Magazine - January/February 2022 - 49
IEEE Consumer Electronics Magazine - January/February 2022 - 50
IEEE Consumer Electronics Magazine - January/February 2022 - 51
IEEE Consumer Electronics Magazine - January/February 2022 - 52
IEEE Consumer Electronics Magazine - January/February 2022 - 53
IEEE Consumer Electronics Magazine - January/February 2022 - 54
IEEE Consumer Electronics Magazine - January/February 2022 - 55
IEEE Consumer Electronics Magazine - January/February 2022 - 56
IEEE Consumer Electronics Magazine - January/February 2022 - 57
IEEE Consumer Electronics Magazine - January/February 2022 - 58
IEEE Consumer Electronics Magazine - January/February 2022 - 59
IEEE Consumer Electronics Magazine - January/February 2022 - 60
IEEE Consumer Electronics Magazine - January/February 2022 - 61
IEEE Consumer Electronics Magazine - January/February 2022 - 62
IEEE Consumer Electronics Magazine - January/February 2022 - 63
IEEE Consumer Electronics Magazine - January/February 2022 - 64
IEEE Consumer Electronics Magazine - January/February 2022 - 65
IEEE Consumer Electronics Magazine - January/February 2022 - 66
IEEE Consumer Electronics Magazine - January/February 2022 - 67
IEEE Consumer Electronics Magazine - January/February 2022 - 68
IEEE Consumer Electronics Magazine - January/February 2022 - 69
IEEE Consumer Electronics Magazine - January/February 2022 - 70
IEEE Consumer Electronics Magazine - January/February 2022 - 71
IEEE Consumer Electronics Magazine - January/February 2022 - 72
IEEE Consumer Electronics Magazine - January/February 2022 - 73
IEEE Consumer Electronics Magazine - January/February 2022 - 74
IEEE Consumer Electronics Magazine - January/February 2022 - 75
IEEE Consumer Electronics Magazine - January/February 2022 - 76
IEEE Consumer Electronics Magazine - January/February 2022 - 77
IEEE Consumer Electronics Magazine - January/February 2022 - 78
IEEE Consumer Electronics Magazine - January/February 2022 - 79
IEEE Consumer Electronics Magazine - January/February 2022 - 80
IEEE Consumer Electronics Magazine - January/February 2022 - 81
IEEE Consumer Electronics Magazine - January/February 2022 - 82
IEEE Consumer Electronics Magazine - January/February 2022 - 83
IEEE Consumer Electronics Magazine - January/February 2022 - 84
IEEE Consumer Electronics Magazine - January/February 2022 - 85
IEEE Consumer Electronics Magazine - January/February 2022 - 86
IEEE Consumer Electronics Magazine - January/February 2022 - 87
IEEE Consumer Electronics Magazine - January/February 2022 - 88
IEEE Consumer Electronics Magazine - January/February 2022 - 89
IEEE Consumer Electronics Magazine - January/February 2022 - 90
IEEE Consumer Electronics Magazine - January/February 2022 - 91
IEEE Consumer Electronics Magazine - January/February 2022 - 92
IEEE Consumer Electronics Magazine - January/February 2022 - 93
IEEE Consumer Electronics Magazine - January/February 2022 - 94
IEEE Consumer Electronics Magazine - January/February 2022 - 95
IEEE Consumer Electronics Magazine - January/February 2022 - 96
IEEE Consumer Electronics Magazine - January/February 2022 - Cover3
IEEE Consumer Electronics Magazine - January/February 2022 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com