diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-17 22:03:02 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-28 15:01:55 +0200 |
| commit | d5aed4b1e6e5548728c5978e3b46d1472b62e791 (patch) | |
| tree | 5ceb12076922ab5e3c724a451150b2b74791314b /opendc-experiments/opendc-experiments-compute/src | |
| parent | eb105ae96191d99745c145e5ef0959f5e5c77fc4 (diff) | |
refactor(compute/sim): Use workload chaining for boot delay
This change updates the implementation of `SimHost` to use workload
chaining for modelling boot delays. Previously, this was implemented by
sleeping 1 millisecond using Kotlin coroutines. With this change, we
remove the need for coroutines and instead use the `SimDurationWorkload`
to model the boot delay.
In the future, we envision a user-supplied stochastic boot model to
model the boot delay for VM instances.
Diffstat (limited to 'opendc-experiments/opendc-experiments-compute/src')
| -rw-r--r-- | opendc-experiments/opendc-experiments-compute/src/main/kotlin/org/opendc/experiments/compute/HostsProvisioningStep.kt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/opendc-experiments/opendc-experiments-compute/src/main/kotlin/org/opendc/experiments/compute/HostsProvisioningStep.kt b/opendc-experiments/opendc-experiments-compute/src/main/kotlin/org/opendc/experiments/compute/HostsProvisioningStep.kt index 292be929..16a57236 100644 --- a/opendc-experiments/opendc-experiments-compute/src/main/kotlin/org/opendc/experiments/compute/HostsProvisioningStep.kt +++ b/opendc-experiments/opendc-experiments-compute/src/main/kotlin/org/opendc/experiments/compute/HostsProvisioningStep.kt @@ -58,7 +58,6 @@ public class HostsProvisioningStep internal constructor( spec.uid, spec.name, spec.meta, - ctx.coroutineContext, graph, machine, hypervisor, |
