Research Article

Task Classification Based Energy-Aware Consolidation in Clouds

Algorithm 4

Task classification based energy-aware consolidation algorithm.
() for all , where , ;
()  Task_Classifier ( )
()  Assign_Task ( )
() end for
() Update the status of each task;
() Store monitored status information;
() for all , where , ;
()  Monitor the status of host;
()   if CPU utilization is higher than
()    ;
()   else if CPU utilization is lower than
()    ;
()   else
()    ;
()   end if
()  Store monitored status information;
() end for
() Consolidate_VM ( )