|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kwfgrid.gwes.prorater.ResourceQualityCalculator
public class ResourceQualityCalculator
This class contains methods for the calculation of resource qualities based on monitoring information.
| Method Summary | |
|---|---|
static float |
calculateBatchQueueQuality(int runningJobs,
int waitingJobs)
Calculate the quality of a Batch Queue resource, such as PBS and LSF. |
static float |
calculateForkQuality(int load,
int cpus)
Calculate the quality of a Fork resource. |
static float |
calculateWaittimeQuality(float queueWaittime)
Calculate the quality of a PBS resource that supports waiting time estimation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static float calculateBatchQueueQuality(int runningJobs,
int waitingJobs)
runningJobs - The number of running jobs in all queues.waitingJobs - The number of waiting jobs in all queues.
public static float calculateWaittimeQuality(float queueWaittime)
queueWaittime - The estimated queue waiting time in minutes
public static float calculateForkQuality(int load,
int cpus)
load - The load of the resource (as defined in the linux program "top").cpus - The number of cpus.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||