Professional Documents
Culture Documents
XinLi Huang
School of Computer Science and technology
East China Normal University
Shanghai, China
E-mail: xlhuang@cs.ecnu.edu.cn
characteristics of cloud computing, this paper did a greater
improvement on ant colony optimization algorithm to
improve the ability of optimization and speed of execution .
AbstractCloud
computing
environments
facilitate
applications by providing virtualized resources that can be
provisioned dynamically. So how to schedule applications to
cloud resources and the execution time should be taken into
account. In this paper, we propose a scheduling strategy based
on ant colony optimization (ACO) and two-way ants
mechanism is introduced .Setting the pheromone threshold is
to avoid the premature phenomenon, in addition, taking a twotier search strategy and introducing pre-execution time is to
avoid the local optimum so that tasks can be assigned to
highest efficient computing resources. The simulation results
show that the algorithm can greatly shorten the time to find
the computing resource in cloud computing environment and
significantly improve the efficiency.
II.
INTRODUCTION
III.
RELATED WORK
57
FORWARD-ANT
Ant ID
Ant ID
Ns
TABLE II.
BACK-ANT
Ant ID
Nodes on the
path
pre-execution
time
pheromone of the
available
resource
Ant ID
NS
ETe
Where
is the pheromone of the node at ,
represents the pheromone of the node at when the task
runs to completion or failure, is the adjustment factor and
.
When the task runs to completion successfully on the
node of which the pheromone will increase, if the task runs
to failure, the pheromone of the node will reduce. Therefore,
on the basis of the above formula, adding the factor 2 to
update the pheromone of the node, formula (9)
The pheromone of storage:
The pheromone of node i is calculated according the
formula (6) :
Where
is the pheromone of the node at ,
represents the pheromone of the node at .If the task runs
to completion successfully, 0<2<1, else -1<2<0.
b) Update the pheromone of node on the path
The available node produces the Back-Ant with the
pheromone. The Back-Ant returns the Master-Node and
leaves the pheromone to the node in the path. The
pheromone of the node in the path is updated according to
the formula (10).
Where is the pheromone of the node at ,
represents the pheromone of the node at
.
adjustment factor and
.
is the
58
Where
is the probability the ant on the node selects
the next node , represents the pre-execution time of the
node j, represents the importance of the pheromone,
represents the importance of the pre-execution time.
is the
set of nodes which is next to node , the node is one the ,
represents the set of nodes which is next to the node ,
is the adjustment factor and
.
is the pre-execution time of a task.
Where
represents
the number of the tasks which is predicted,
p
represents the previous number of the tasks,
stands for the real execution time,
stands
for the previous ppre-execution time, is the adjustment
factor and
.
IV.
59
7
8
9
10
11
12
1
1
2
1
1
2
1
2
1
1
2
1
2.5
2.5
2.5
3
3
3
VI.
SUMMARY
TABLE IV.
algorithm
ACON
ACO
AS
ACS
ACS
Total time
1
1
1
1
2
2
2
2
2.5
2.5
2.5
2.5
3.671
3.683
3.713
3.693
, the time of
scheduling is the least. We repeat the experiment above with
different size of job, we get the same result. So the value of
, , is set to 1, 2, 2.5. Refer to TABLE III.
TABLE III.
Experiments
1
2
3
4
5
6
Total time
1
1
2
1
1
2
1
2
1
1
2
1
1.5
1.5
1.5
2
2
2
3.756
3.744
3.730
3.733
3.720
3.711
3.698
3.671
3.699
3.715
3.703
3.714
60
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
61