Research Article

User Demand Aware Grid Scheduling Model with Hierarchical Load Balancing

Algorithm 3

State allocation for machine.
Begin
  For all resources
    For all machines
      if (MLoad < TMac)
        m.state = “underloaded”
        Add the machine to m.underloaded list
      else if (MLoad > TMac)
        m.state = “heavilyloaded”
        Add the machine to m.heavily loaded list
      else
        m.state = “normallyloaded”
    End for
  End for
End