Research Article

User Demand Aware Grid Scheduling Model with Hierarchical Load Balancing

Algorithm 2

State allocation for resource.
Begin
  For all resources
    if (RLoad < TRes)
      r.state = “underloaded”
      Add the resource to r.underloaded list
    else if (RLoad > TRes)
      r.state = “heavilyloaded”
      Add the resource to r.heavilyloaded list
    else
      r.state = “normallyloaded”
  End for
End