|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.selector.site.Abstract
edu.isi.pegasus.planner.selector.site.Heft
public class Heft
The HEFT based site selector. The runtime for the job in seconds is picked from the pegasus profile key runtime in the transformation catalog for a transformation. The data communication costs between jobs if scheduled on different sites is assumed to be fixed. Later on if required, the ability to specify this value will be exposed via properties. The number of processors in a site is picked by the attribute idle-nodes associated with the vanilla jobmanager for a site in the site catalog.
Algorithm.AVERAGE_BANDWIDTH,
Algorithm.RUNTIME_PROFILE_KEY,
Algorithm.DEFAULT_NUMBER_OF_FREE_NODES,
Algorithm.AVERAGE_DATA_SIZE_BETWEEN_JOBS,
org.griphyn.cPlanner.classes.JobManager#IDLE_NODES| Field Summary | |
|---|---|
private Algorithm |
mHeftImpl
An instance of the class that implements the HEFT algorithm. |
| Fields inherited from class edu.isi.pegasus.planner.selector.site.Abstract |
|---|
mBag, mLogger, mProps, mSiteStore, mTCMapper |
| Fields inherited from interface edu.isi.pegasus.planner.selector.SiteSelector |
|---|
SITE_NOT_FOUND, VERSION |
| Constructor Summary | |
|---|---|
Heft()
The default constructor. |
|
| Method Summary | |
|---|---|
String |
description()
This method returns a String describing the site selection technique that is being implemented by the implementing class. |
void |
initialize(PegasusBag bag)
Initializes the site selector. |
void |
mapWorkflow(ADag workflow,
List sites)
Maps the jobs in the workflow to the various grid sites. |
void |
mapWorkflow(Graph workflow,
List sites)
Maps the jobs in the workflow to the various grid sites. |
void |
mapWorkflow(Graph workflow,
List sites,
String label)
Maps the jobs in the workflow to the various grid sites. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Algorithm mHeftImpl
| Constructor Detail |
|---|
public Heft()
| Method Detail |
|---|
public void initialize(PegasusBag bag)
initialize in interface SiteSelectorinitialize in class Abstractbag - the bag of objects that is useful for initialization.
public void mapWorkflow(ADag workflow,
List sites)
mapWorkflow in interface SiteSelectormapWorkflow in class Abstractworkflow - the workflow.sites - the list of String objects representing the
execution sites that can be used.
public void mapWorkflow(Graph workflow,
List sites)
workflow - the workflow in a Graph form.sites - the list of String objects representing the
execution sites that can be used.
public void mapWorkflow(Graph workflow,
List sites,
String label)
workflow - the workflow in a Graph form.sites - the list of String objects representing the
execution sites that can be used.label - the label of the workflowpublic String description()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||