Skip to content

simulation parameters

Thomas Rausch edited this page Sep 29, 2020 · 2 revisions

Scheduler

The Simulation class creates the skippy Scheduler through a factory method create_scheduler(env: Environment), which you can overwrite:

scheduler_params = {
    'percentage_of_nodes_to_score': 50,
    'priorities': [(1.0, BalancedResourcePriority())]
}

sim = Simulation(topology, benchmark)
sim.create_scheduler = lambda env: Scheduler(env.cluster, **scheduler_params)
sim.run()

Clone this wiki locally