Research Article
[Retracted] Sustainable Technical Debt-Aware Computing Model for Virtual Machine Migration (TD4VM) in IaaS Cloud
| Input: Current Utility set (cu) | | Predicted Utility set (pu) | | Output: Decision of VM migration, if migrate then at which time stamp. | | // t is the timestamp and T is the time-period of 3 time-stamps (t1, t2, t3) | | VM Migration (cu set, pu set) //function receiving current and predicted utility datasets as parameters | | 1. Initialize: time stamp t =0 | | 2. while ( t <= n-1) //n is the total no of time stamps | | 3. if (t = = 0) | | 4. cuavg= cut | | 5. else if (t = = 1) | | 6. cuavg= (cut + cut-1)/2 | | 7. else | | 8. cuavg= (cut + cut-1 + cut-2)/3 | | 9. T1 = put+1 | | 10. T2 = (put+1+ put+2)/2 | | 11. T3 = (put+1 + put+2 + put+3)/3 | | 12. if (t = = n - 2) | | 13. T3 = - ∞ | | 14. else if (t = = n-1) | | 15. T3 = - ∞ | | 16. T2 = - ∞ | | 17. end if | | 18. Migrate (t, cuavg, T1, T2, T3)//calling Migrate function | | 19. t = t+1 | | 20. End while |
|