jtriley/StarCluster — Issue #69: Load balancer slot calculations
Author: dmachi
Created: 2012-02-02 20:42:45+00:00
State: open

The calculations for the # of slots available is based on the number of cpus on a node instead of getting slots from sge. This makes the cluster thing there are more slots than actually exist (or can anyway), and doesn't spawn new nodes accordingly. Additionally, the node addition check looks to see if the #of queued jobs > total number of slots. This should be #slots requested by the queued jobs > total number of slots, or perhaps even avoid this check altogether.

Avoiding the check, means that whether it would like to add a node is based purely on how long jobs have been queued and not whether slots are available. The available slots and slots per node are useful for determining how many nodes to add though, so the data is still useful in that context.