Added thermal model for hosts#238
Open
zohaib-c wants to merge 12 commits intoatlarge-research:masterfrom
Open
Conversation
* Changed how the rc model calculation is carried out
* Refactored code to include the new class * Exposed the parameters of the thermal model to the JSON topology front end.
* Added code for manufacturer approach
DanteNiewenhuis
requested changes
Jul 30, 2024
...mpute-service/src/main/java/org/opendc/compute/service/driver/telemetry/HostSystemStats.java
Show resolved
Hide resolved
opendc-compute/opendc-compute-simulator/src/main/kotlin/org/opendc/compute/simulator/SimHost.kt
Show resolved
Hide resolved
...opendc-compute-telemetry/src/main/kotlin/org/opendc/compute/telemetry/ComputeMetricReader.kt
Show resolved
Hide resolved
...lemetry/src/main/kotlin/org/opendc/compute/telemetry/export/parquet/ParquetHostDataWriter.kt
Show resolved
Hide resolved
...e/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/specs/TopologySpecs.kt
Show resolved
Hide resolved
opendc-experiments/opendc-experiments-scenario/build.gradle.kts
Outdated
Show resolved
Hide resolved
...imulator-compute/src/main/java/org/opendc/simulator/compute/thermal/ThermalModelFactories.kt
Show resolved
Hide resolved
DanteNiewenhuis
approved these changes
Aug 19, 2024
| */ | ||
| public static SimPsuFactory simple(CpuPowerModel model) { | ||
| return (machine, graph) -> new SimplePsu(graph, model); | ||
| public static SimPsuFactory simple(CpuPowerModel model, ThermalModel thermalModel) { |
Contributor
There was a problem hiding this comment.
Ideally, we would make the thermalModel variable nullable.
Currently, you always have to put in a thermalModel.
This is not ideal.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added the RC Thermal Model to simulate the temperature of hosts.
Implementation Notes ⚒️