| Literature DB >> 26357510 |
Xuejun Li1, Jia Xu2, Yun Yang2.
Abstract
Cloud workflow system is a kind of platform service based on cloud computing. It facilitates the automation of workflow applications. Between cloud workflow system and its counterparts, market-oriented business model is one of the most prominent factors. The optimization of task-level scheduling in cloud workflow system is a hot topic. As the scheduling is a NP problem, Ant Colony Optimization (ACO) and Particle Swarm Optimization (PSO) have been proposed to optimize the cost. However, they have the characteristic of premature convergence in optimization process and therefore cannot effectively reduce the cost. To solve these problems, Chaotic Particle Swarm Optimization (CPSO) algorithm with chaotic sequence and adaptive inertia weight factor is applied to present the task-level scheduling. Chaotic sequence with high randomness improves the diversity of solutions, and its regularity assures a good global convergence. Adaptive inertia weight factor depends on the estimate value of cost. It makes the scheduling avoid premature convergence by properly balancing between global and local exploration. The experimental simulation shows that the cost obtained by our scheduling is always lower than the other two representative counterparts.Entities:
Mesh:
Year: 2015 PMID: 26357510 PMCID: PMC4556880 DOI: 10.1155/2015/718689
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Small example of workflow.
Execution Time (hrs.) of Task on VM.
| VM Type | Tasks | ||||
|---|---|---|---|---|---|
| A | B | C | D | E | |
| Small | 3.2 | 8.0 | 4.8 | 1.6 | 4.8 |
| Medium | 2.6 | 6.5 | 3.9 | 1.3 | 3.9 |
| Large | 2.0 | 5.0 | 3.0 | 1.0 | 3.0 |
Figure 2Gantt charts of scheduling plans.
Figure 3Comparison of fitness between PSO and CPSO.
Figure 5Cost with deadline.
Speed and price of Amazon VMs.
| VM type | Speed | Reserved | On-demand | |
|---|---|---|---|---|
| Per-term ($) | Per-hour ($) | Per-hour ($) | ||
| Small | 1.00 | 97.50 | 0.07 | 0.12 |
| Medium | 1.30 | 390.00 | 0.28 | 0.48 |
| Large | 1.60 | 780.00 | 0.56 | 0.96 |
Figure 4Comparison of cost among ACO, PSO, and CPSO.
Theoretical value of deadline.
| Deadline | Tasks | |||||
|---|---|---|---|---|---|---|
| 50 | 100 | 150 | 200 | 250 | 300 | |
| deadlinemin | 4.2 | 9.2 | 15.9 | 21.4 | 26.1 | 30.4 |
| deadlinemax | 9.8 | 20.3 | 32.0 | 45.5 | 62.0 | 72.1 |
(a) PSO Initialization
| Search variable | Tasks | ET | Cost | ||||
|---|---|---|---|---|---|---|---|
| A | B | C | D | E | |||
|
| 0.6 | 0.8 | 0.4 | 0.2 | 0.9 | 11.1 | 5.6 |
|
| 0.2 | −0.3 | 0.1 | 0.4 | −0.2 | ||
| Plan1 0 | 2 | 3 | 2 | 1 | 3 | ||
|
| |||||||
|
| 0.8 | 0.7 | 0.1 | 0.3 | 0.9 | 10 | 5.5 |
|
| 0 | 0.2 | 0.5 | 0.1 | −0.2 | ||
| Plan2 0 | 3 | 3 | 1 | 1 | 3 | ||
|
| |||||||
|
| 0.3 | 0.8 | 0.7 | 0.5 | 0.9 | 20.5 | 6.0 |
|
| 0.5 | −0.4 | −0.3 | 0 | −0.3 | ||
| Plan3 0 | 1 | 3 | 3 | 2 | 3 | ||
|
| |||||||
| Best0 | 3 | 3 | 1 | 1 | 3 | 10 | 5.5 |
(b) CPSO initialization
| Search variable | Tasks | ET | Cost | ||||
|---|---|---|---|---|---|---|---|
| A | B | C | D | E | |||
|
| 0.5 | 0.9 | 0.7 | 0.6 | 0.8 | 20.5 | 6.0 |
|
| 0.2 | −0.3 | −0.6 | −0.2 | −0.6 | ||
| Plan1 0 | 1 | 3 | 3 | 2 | 3 | ||
|
| |||||||
|
| 0.3 | 0.5 | 0.7 | 0.6 | 0.1 | 15.8 | 4.3 |
|
| 0.5 | 0.1 | −0.4 | −0.2 | 0 | ||
| Plan2 0 | 1 | 2 | 3 | 2 | 1 | ||
|
| |||||||
|
| 0.2 | 0.3 | 0.7 | 0.5 | 0.3 | 17.3 | 4.5 |
|
| 0.5 | 0.1 | −0.1 | −0.2 | 0.4 | ||
| Plan3 0 | 1 | 1 | 3 | 2 | 1 | ||
|
| |||||||
| Best0 | 1 | 3 | 3 | 2 | 1 | 15.8 | 4.3 |
(c) PSO first iteration
| Search variable | Tasks | ET | Cost | ||||
|---|---|---|---|---|---|---|---|
| A | B | C | D | E | |||
|
| 0.8 | 0.5 | 0.5 | 0.6 | 0.7 | 16.7 | 4.3 |
|
| 0.1 | 0.2 | −0.2 | −0.3 | 0.1 | ||
| Plan1 1 | 3 | 2 | 2 | 2 | 3 | ||
|
| |||||||
|
| 0.8 | 0.5 | 0.6 | 0.4 | 0.7 | 16.7 | 4.3 |
|
| −0.1 | 0.1 | 0 | 0.2 | 0.2 | ||
| Plan2 1 | 3 | 2 | 2 | 2 | 3 | ||
|
| |||||||
|
| 0.8 | 0.4 | 0.4 | 0.5 | 0.6 | 18.7 | 4.7 |
|
| 0.1 | 0.2 | 0.1 | −0.1 | 0.2 | ||
| Plan3 1 | 3 | 2 | 2 | 2 | 2 | ||
|
| |||||||
| Best1 | 3 | 2 | 2 | 2 | 3 | 16.7 | 4.3 |
(d) CPSO first iteration
| Search variable | Tasks | ET | Cost | ||||
|---|---|---|---|---|---|---|---|
| A | B | C | D | E | |||
|
| 0.7 | 0.6 | 0.1 | 0.4 | 0.2 | 14.6 | 3.9 |
|
| 0.1 | 0 | 0 | 0.2 | 0 | ||
| Plan1 1 | 3 | 2 | 1 | 2 | 1 | ||
|
| |||||||
|
| 0.8 | 0.6 | 0.3 | 0.4 | 0.1 | ||
|
| −0.1 | 0 | −0.2 | 0.2 | 0 | 14.6 | 3.9 |
| Plan2 1 | 3 | 2 | 1 | 2 | 1 | ||
|
| |||||||
|
| 0.7 | 0.4 | 0.6 | 0.4 | 0.7 | ||
|
| 0.2 | 0 | −0.4 | 0.2 | −0.6 | 16.7 | 4.3 |
| Plan3 1 | 3 | 2 | 2 | 2 | 3 | ||
|
| |||||||
| Best1 | 3 | 2 | 1 | 2 | 1 | 14.6 | 3.9 |
(e) PSO last iteration
| Search variable | Tasks | ET | Cost | ||||
|---|---|---|---|---|---|---|---|
| A | B | C | D | E | |||
|
| 0.9 | 0.7 | 0.3 | 0.3 | 0.8 | 16.7 | 4.3 |
|
| −0.1 | −0.1 | 0 | 0.1 | 0.2 | ||
| Plan1 2 | 3 | 2 | 2 | 2 | 3 | ||
|
| |||||||
|
| 0.7 | 0.6 | 0.6 | 0.6 | 0.9 | 16.7 | 4.3 |
|
| 0.7 | 0.1 | −0.2 | −0.3 | 0.1 | ||
| Plan2 2 | 3 | 2 | 2 | 2 | 3 | ||
|
| |||||||
|
| 0.9 | 0.6 | 0.5 | 0.4 | 0.8 | ||
|
| 0.1 | 0.4 | −0.2 | −0.1 | −0.3 | 16.7 | 4.3 |
| Plan3 2 | 3 | 2 | 2 | 2 | 3 | ||
|
| |||||||
| Best2 | 3 | 2 | 2 | 2 | 3 | 16.7 | 4.3 |
(f) CPSO last iteration
| Search variable | Tasks | ET | Cost | ||||
|---|---|---|---|---|---|---|---|
| A | B | C | D | E | |||
|
| 0.8 | 0.6 | 0.1 | 0.6 | 0.2 | 14.6 | 3.9 |
|
| −0.1 | −0.2 | 0.1 | 0 | 0.2 | ||
| Plan1 2 | 3 | 2 | 1 | 2 | 1 | ||
|
| |||||||
|
| 0.7 | 0.6 | 0.1 | 0.6 | 0.1 | 14.6 | 3.9 |
|
| 0.1 | 0 | 0.2 | −0.1 | 0.1 | ||
| Plan2 2 | 3 | 2 | 1 | 2 | 1 | ||
|
| |||||||
|
| 0.9 | 0.4 | 0.3 | 0.6 | 0.1 | 14.6 | 3.9 |
|
| 0.1 | 0 | −0.2 | −0.2 | 0 | ||
| Plan3 2 | 3 | 2 | 1 | 2 | 1 | ||
|
| |||||||
| Best2 | 3 | 2 | 1 | 2 | 1 | 14.6 | 3.9 |