Research Article

User Demand Aware Grid Scheduling Model with Hierarchical Load Balancing

Algorithm 4

State allocation for PE.
Begin
  For all resources
    For all machines
      For all PEs
        if (PELoad < TPE)
          pe.state = “underloaded”
          Add it to underloaded list
        else if (PELoad > TPE)
          pe.state = “heavilyloaded”
          Add it heavilyloaded list.
        else
          pe.state = “normallyloaded”
      End for
    End for
  End for
End