# ###########################################################################
# Name:        wp1-maxIncrementII
# Description: Max Increment and the Round Robin Policy
#              (for randomized MaxHResItems)
# ###########################################################################

source("simulate-version14.R")

# ====== Simulation Settings ================================================
simulationDirectory <- "wp1-maxIncrementII"
simulationRuns <- 24
simulationDuration <- 120
simulationStoreVectors <- FALSE
simulationExecuteMake <- TRUE
simulationScriptOutputVerbosity <- 3
simulationSummaryCompressionLevel <- 9
simulationSummarySkipList <- c("lan.")
# -------------------------------------
source("computation-pool.R")
# -------------------------------------

# ###########################################################################

simulationConfigurations <- list(
   list("targetSystemUtilization", 0.60),
   list("puToPERatio", 2),
   list("scenarioNumberOfCalcAppPoolElementsVariable", 10, 24),
   list("registrarRandomizeMaxHandleResolutionItems", "true"),
   list("registrarMaxHandleResolutionItems", 999),
   list("registrarMaxIncrement", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24),
   list("calcAppPoolElementSelectionPolicy", "RoundRobin"),
   list("calcAppPoolUserServiceJobSizeVariable", 1e7)
)

# ###########################################################################

createSimulation(simulationDirectory, simulationConfigurations, rspsim5DefaultConfiguration)
