Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output folder structure #225

Merged

Conversation

Radu-Nicolae
Copy link
Contributor

@Radu-Nicolae Radu-Nicolae commented Apr 26, 2024

Summary

Simulations are now stored in an output folder, with a well-defined structure. The simulations are tracked by ID.
Each simulation ID is tracked into the trackr.json.

Implementation Notes ⚒️

During the process of getting scenarios, we define a folder with the following structure.

_- outputFolderName

    • scenarioName
      • trackr.json
      • raw-output
        • 0
          • seed=0
            • host.parquet
            • server.parquet
            • service.parquet
        • .... // and so on for each simulation, for each seed
      • simulation-analysis
        • emissions-analysis
          • // features of the emissions-analysis are to be implemented
        • energy-analysis
          • // features of the energy-analysis are to be implemented

External Dependencies 🍀

N/A

Breaking API Changes ⚠️

Yes, the output folders were changed.

@Radu-Nicolae Radu-Nicolae deleted the output-folder-structure branch April 28, 2024 13:31
@Radu-Nicolae Radu-Nicolae restored the output-folder-structure branch April 29, 2024 11:49
@Radu-Nicolae Radu-Nicolae reopened this Apr 29, 2024
@Radu-Nicolae Radu-Nicolae force-pushed the output-folder-structure branch 2 times, most recently from d3cf1ee to 05b8656 Compare May 1, 2024 10:12
unversioned filed pushed

spotless applied

code cleaned up

commit before pr

spotless applied

setupOutputFolder moved before getting the scenarios

specific topology added

pretty tracking

given scenarios are kept track by id

code runnable

output name for scenario updated

python folder and src document connected

simulationOutputFolder structure prepared

base for python script integration in simulations

output contents into a folder defined by the simulation name

output contents into a folder defined by the simulation name
import ScenarioTopologySpec
import WorkloadSpec
import org.opendc.experiments.base.models.scenario.ScenarioWriter
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is an incorrect inport, it should be base.scenario.ScenarioWriter

@DanteNiewenhuis DanteNiewenhuis merged commit 7c0691e into atlarge-research:master May 1, 2024
4 checks passed
@Radu-Nicolae Radu-Nicolae deleted the output-folder-structure branch May 8, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants