combined_sim_job_centered: Combinations of Predictions of Background Jobs and Foreground...

Description Usage Arguments Value

View source: R/combine_sim_pred.R

Description

Sequentially training and testing by predicting the availability of CPU resource at next windows.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
combined_sim_job_centered(
  load_foreground_result = NULL,
  param_setting_sim = NULL,
  additional_param_sim = list(),
  foreground_x = NULL,
  foreground_xreg = NULL,
  sim_length = 200,
  load_background_result = NULL,
  param_setting_pred = NULL,
  additional_param_pred = list(),
  background_x = NULL,
  background_xreg = NULL,
  bins = c(0, 1, 2, 6, 10, 14, 18, 22, 26, 30, 50, 80, 205),
  cores = parallel::detectCores(),
  write_type = "none",
  result_loc = getwd()
)

Arguments

load_foreground_result

A character value representing the location of the previously run foregound simulation results. Default value is NULL.

param_setting_sim

A dataframe representing a specific parameter setting for sim object.

additional_param_sim

A list containing additional arguments to be passed into param_sim.

foreground_x

A matrix of size n by m representing the target dataset for scheduling and evaluations.

foreground_xreg

A matrix of size n by m representing the target dataset for scheduling and evaluations, or NULL.

sim_length

A numeric integer representing the length of time for simulation, training size excluded.

load_background_result

A character value representing the location of the previously run foregound simulation results. Default value is NULL.

param_setting_pred

A dataframe representing a specific parameter setting for pred object.

additional_param_pred

A list containing additional arguments to be passed into param_pred.

background_x

A matrix of size n by m representing the target dataset for scheduling and evaluations.

background_xreg

A matrix of size n by m representing the dataset that target dataset depends on for predicting.

bins

A numeric vector representing the discretization will be used on background job length, the first value representing the lower bound such as 0, last value representing the upper bound such as 205.

cores

A numeric value representing the number of threads for parallel programming for multiple traces, not supported for windows users.

write_type

A character that represents how to write the result of simulation, can be "detailed", "summary" or "none". Default value is "none".

result_loc

A character that specify the path to which the result of simulations will be saved to. Default is your work directory.

constraint_prob

A numeric value representing the cut off for survival probability of a job to be scheduled.

heartbeats_percent

A numeric value representing the percentage of sampled machines will periodically send "heat beats", which is the availability information to the scheduler. Default value is 1.

machines_full_indicator

An numeric value that is used to identify whether all machines are full. The scheduler believes the machines are full after machines_full_indicator successive failures in scheduling.

Value

A dataframe containing the decisions made by scheduler.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.