Research Article
Energy-Efficient Scientific Workflow Scheduling Algorithm in Cloud Environment
Algorithm 3
Pseudocode to schedule the task on existing VMs (alreadyDeployedVM).
1. initialize findFlag | 2. sort the deployed VMs based on energy consumption rate in increasing order; | 3. for all deployed | 4. then | 5. Eq. (5); | 6. schedule on after time and remove it from ; | 7. | 8. findFlag; break; | 9. end if | 10. end for | 11. if findFlag then | 12. call scaleUp(); | 13. end if |
|