be.ac.ua.broker.allocation.spot.model
Class SpotModelOptions

java.lang.Object
  extended by be.ac.ua.broker.allocation.spot.model.SpotModelOptions

public class SpotModelOptions
extends java.lang.Object

Constants used by the application, this can be extracted to an XML input file in the future. These constants specify the model that will be simulated by the application. Note that the time of a checkpoint, its overhead, the waiting and the recovery times are fixed here.

Author:
Vermeersch Kurt (Based on Sangho Yi c++ implementation of the spot model)

Field Summary
static int CENTRAL_W
          Task length (for W_inst, workload per instance)
static java.lang.String CHECKPOINTING_SCHEME
          Checkpointing scheme to use when determining the appropriate bid for the broker
static java.lang.Double CONFIDENCE_LEVEL
          Confidence level to use when determining the appropriate bid for the broker
static int HR_CKPT
          Hourly checkpointing
static java.lang.String INPUT_FOLDER
          Input folder where the spot price history can be found
static int INTERVAL_EX
          Each field of the distribution graph represents 60 minutes
static int INTERVAL_GW
          Each field of the distribution graph has 1 minute
static int INTERVAL_SIMU
          Interval of a simulation in minutes (default: 60)
static double INTERVAL_TC
          Each field of distribution graph has 0.01 USD
static int INTERVAL_W
          Interval to differentiate task length with
static int MAX_CHECKPOINT
          Number of available checkpointing schemes
static int MAX_DIST_AR
          Maximum availability ratio (AR=AT/ET) (default: 100 = 0.01 ~ 1.00 ratio)
static int MAX_DIST_EX
          Maximum execution time (default: 1000 = 60 mins = 1 hour
static int MAX_DIST_GW
          Maximum gross workload (default: 1000 = 1 mins ~ 1,000 mins)
static int MAX_DIST_TC
          Maximum total cost (default: 1000 = 0.01 USD ~ 10 USD)
static int MAX_DIST_UR
          Maximum utilization ratio (UR=T/ET) (default: 100 = 0.01 ~ 1.00 ratio)
static int MAX_GRAN_BID
          Maximum granularity of a bid (default: 2000 = 0.001 ~ 2.000)
static int MAX_RECORD
          Maximum number of records to process e.g.
static int MAX_SIMU_RECORD
          Maximum number of simulations (default: 1000 different starting time)
static int OPT_CKPT
          Optimal checkpointing
static java.lang.String OUTPUT_FOLDER
          Output folder where the results will be stored
static boolean PRINTOUTPUT
          Whether or not to print debug output
static int RANGE_W
          Maximum differentiation made from original task length (CENTRAL_W)
static int TIME_CHECKPOINT
          Checkpointing time in minutes (default = 5)
static double TIME_CHKOVERHEAD
          Checkpointing overhead time in minutes (default = 3 seconds)
static int TIME_RECOVERY
          Recovery time in minutes (default = 10)
static int TIME_WAITING
          Waiting time in minutes (default = 0)
 
Constructor Summary
SpotModelOptions()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_RECORD

public static final int MAX_RECORD
Maximum number of records to process e.g. 14400 minutes = 10 days

See Also:
Constant Field Values

MAX_GRAN_BID

public static final int MAX_GRAN_BID
Maximum granularity of a bid (default: 2000 = 0.001 ~ 2.000)

See Also:
Constant Field Values

MAX_SIMU_RECORD

public static final int MAX_SIMU_RECORD
Maximum number of simulations (default: 1000 different starting time)

See Also:
Constant Field Values

INTERVAL_SIMU

public static final int INTERVAL_SIMU
Interval of a simulation in minutes (default: 60)

See Also:
Constant Field Values

MAX_CHECKPOINT

public static final int MAX_CHECKPOINT
Number of available checkpointing schemes

See Also:
Constant Field Values

OPT_CKPT

public static final int OPT_CKPT
Optimal checkpointing

See Also:
Constant Field Values

HR_CKPT

public static final int HR_CKPT
Hourly checkpointing

See Also:
Constant Field Values

TIME_CHKOVERHEAD

public static final double TIME_CHKOVERHEAD
Checkpointing overhead time in minutes (default = 3 seconds)

See Also:
Constant Field Values

TIME_CHECKPOINT

public static final int TIME_CHECKPOINT
Checkpointing time in minutes (default = 5)

See Also:
Constant Field Values

TIME_WAITING

public static final int TIME_WAITING
Waiting time in minutes (default = 0)

See Also:
Constant Field Values

TIME_RECOVERY

public static final int TIME_RECOVERY
Recovery time in minutes (default = 10)

See Also:
Constant Field Values

MAX_DIST_AR

public static final int MAX_DIST_AR
Maximum availability ratio (AR=AT/ET) (default: 100 = 0.01 ~ 1.00 ratio)

See Also:
Constant Field Values

MAX_DIST_UR

public static final int MAX_DIST_UR
Maximum utilization ratio (UR=T/ET) (default: 100 = 0.01 ~ 1.00 ratio)

See Also:
Constant Field Values

MAX_DIST_EX

public static final int MAX_DIST_EX
Maximum execution time (default: 1000 = 60 mins = 1 hour

See Also:
Constant Field Values

INTERVAL_EX

public static final int INTERVAL_EX
Each field of the distribution graph represents 60 minutes

See Also:
Constant Field Values

MAX_DIST_GW

public static final int MAX_DIST_GW
Maximum gross workload (default: 1000 = 1 mins ~ 1,000 mins)

See Also:
Constant Field Values

INTERVAL_GW

public static final int INTERVAL_GW
Each field of the distribution graph has 1 minute

See Also:
Constant Field Values

MAX_DIST_TC

public static final int MAX_DIST_TC
Maximum total cost (default: 1000 = 0.01 USD ~ 10 USD)

See Also:
Constant Field Values

INTERVAL_TC

public static final double INTERVAL_TC
Each field of distribution graph has 0.01 USD

See Also:
Constant Field Values

CENTRAL_W

public static final int CENTRAL_W
Task length (for W_inst, workload per instance)

See Also:
Constant Field Values

INTERVAL_W

public static final int INTERVAL_W
Interval to differentiate task length with

See Also:
Constant Field Values

RANGE_W

public static final int RANGE_W
Maximum differentiation made from original task length (CENTRAL_W)

See Also:
Constant Field Values

INPUT_FOLDER

public static final java.lang.String INPUT_FOLDER
Input folder where the spot price history can be found

See Also:
Constant Field Values

OUTPUT_FOLDER

public static final java.lang.String OUTPUT_FOLDER
Output folder where the results will be stored

See Also:
Constant Field Values

CHECKPOINTING_SCHEME

public static final java.lang.String CHECKPOINTING_SCHEME
Checkpointing scheme to use when determining the appropriate bid for the broker

See Also:
Constant Field Values

CONFIDENCE_LEVEL

public static final java.lang.Double CONFIDENCE_LEVEL
Confidence level to use when determining the appropriate bid for the broker


PRINTOUTPUT

public static boolean PRINTOUTPUT
Whether or not to print debug output

Constructor Detail

SpotModelOptions

public SpotModelOptions()