summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-09Merge pull request #14 from atlarge-research/fix-web-server-errorFabian Mastenbroek
Fix web server crash in Docker environment
2018-11-09Fix web server crash in Docker environmentGeorgios Andreadis
The current web server fails on my machine when I run the Docker setup. I found out that this was a more common issue with a fix, so I've applied this fix to our setup. This was the crash: https://github.com/etingof/pyasn1/issues/108
2018-08-17Merge pull request #62 from atlarge-research/update-opendc-teamGeorgios Andreadis
Update OpenDC team responsibilities in team section
2018-08-17Update OpenDC team in team sectionGeorgios Andreadis
2018-08-14Merge pull request #13 from atlarge-research/feature/sc18-experimentsFabian Mastenbroek
feat: Implement Scheduler Reference Architecture
2018-08-14feat: Add job metricsFabian Mastenbroek
2018-08-14feat: Add support for both wall and cpu timeFabian Mastenbroek
2018-08-14feat: Add job id to DB schemaGeorgios Andreadis
2018-08-14feat: Add task metrics to DB schemaGeorgios Andreadis
2018-08-14feat: Add stage measurements to schemaFabian Mastenbroek
2018-08-14feat: Add GWF conversion scriptGeorgios Andreadis
This change adds a conversion script that allows users to import traces from the Grid Workload Archive (see http://gwa.ewi.tudelft.nl/) into the OpenDC database.
2018-08-14feat: Implement Scheduler Reference ArchitectureFabian Mastenbroek
This change implements the parts of the Datacenter Scheduling Reference Architecture as published in SC18. This commit consists of changes to the database schema such as: - **Removal of `parallelizability` column in `Task`** This field was not used by the simulator and we opted to use a field describing the amount of cores the task can run on instead. - **Removal of `task_id` column in `MachineState`** This field did not make sense anymore now that a machine can run multiple tasks. Fortunately, this field is not used in the frontend.
2018-08-14Merge pull request #10 from atlarge-research/feature/sc18-experimentsGeorgios Andreadis
feat: Implement Scheduler Reference Architecture
2018-08-14chore: Automatically import database schema in Docker imageFabian Mastenbroek
This change will make the database image automatically import the schema and test data.
2018-07-20feat: Implement Scheduler Reference ArchitectureFabian Mastenbroek
This change implements the changes needed in the webserver for implementing parts of the Datacenter Scheduling Reference Architecture as published in SC18. This change reflects the following changes in the database schema: - **Removal of `parallelizability` column in `Task`** This field was not used by the simulator and we opted to use a field describing the amount of cores the task can run on instead. - **Removal of `task_id` column in `MachineState`** This field did not make sense anymore now that a machine can run multiple tasks. Fortunately, this field is not used in the frontend.
2018-07-19refactor: Improve exception handling in processes (#29)Fabian Mastenbroek
This change will improve exception handling of processes. At the moment, when a process throws an uncaught exception, the kernel will catch and log the exception, stop the offending process and then continue. This approach however might cause the user to overlook possible exceptions in processes and does not give any ability to the user for handling these exception. This change modifies the kernel implementation and specification such that the `step()` method (and consequently `run()`) must propagate uncaught exceptions that occur in processes. This allows the caller to control the way exceptions are handled.
2018-07-17bug: Fix crashed processes from being resumed (#28)Fabian Mastenbroek
This change fixes a bug where a process would be resumed again after it had crashed, bringing down the kernel. Fixes #27
2018-07-12refactor: Use top-level coroutineContext (#24)Fabian Mastenbroek
This change refactors the calls to the recently deprecated `CoroutineScope.coroutineContext` to use top-level `coroutineContext` property instead. This deprecation is the result of moving to the latest version of the `koltinx-coroutines` library. See https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md for more information.
2018-07-12docs: Update download instructions in README (#25)Fabian Mastenbroek
This change updates download instructions for the source code in the README. The instructions reference an old branch that does not exist anymore since the transition to the Kotlin codebase.
2018-07-11chore: Update build toolchain (#23)Fabian Mastenbroek
This pull requests updates the project as follows: 1. **Update Gradle version to 4.8** This allows us to make use of new features such as native JUnit 5 integration and the build cache. 2. **Update Gradle build configuration according to new changes** This change allows us to share configuration across modules and easily change the versions for shared dependencies. In addition, we now make use of the `java-library` plugin which allows for various optimizations. See https://docs.gradle.org/current/userguide/java_library_plugin.html 3. **Add support for Jacoco** We add support code coverage tracking via the latest version of Jacoco which has increasing support for Kotlin. Closes #22
2018-07-11chore: Add support for JacocoFabian Mastenbroek
This change adds support for Jacoco in the build toolchain.
2018-07-11chore: Update Gradle build configurationFabian Mastenbroek
This change updates the Gradle build configuration in order to make use of the native JUnit 5 integration and the newest Kotlin and Dokka plugins.
2018-07-11chore: Update Gradle wrapper versionFabian Mastenbroek
This change updates the Gradle wrapper version included in the repository to version 4.8 which includes native JUnit 5 integration.
2018-07-11feat: Interpolate machine state and task progress (#21)Fabian Mastenbroek
This pull request implements interpolation of task progress (represented as the `TaskState` and `MachineState` class) via the Interpolation helpers implemented in #20. The model assumes that tasks progress linearly between two measurements (since the time between measurements is usually small).
2018-05-17Update README.mdGeorgios Andreadis
2018-05-17Delete .bithoundrcGeorgios Andreadis
BitHound as a service is going to shutdown end of this month, meaning that we unfortunately cannot make use of its analysis, anymore.
2018-04-22feat(#12): Implement Instrumentation APIFabian Mastenbroek
These changes contain the specification of the new Instrumentation API for the simulator, in addition to the implementation for the Omega kernel. As an example, the API allows users to measure data from processes in simulation and interpolate data points between the measurements. Closes #11, #12
2018-04-22feat(#12): Buffer instrumentation measurementsFabian Mastenbroek
This change will make the simulator by default buffer all measurements of attached instruments to prevent strange situations where certain measurements are not recorded due to the processing running on another thread.
2018-04-22feat(#12): Allow closing of instrument streamsFabian Mastenbroek
This change in Instrumentation API allows the user to close the data stream of an instrument by introducing a new concept: Port. A user can open a `Port` for a `Simulation` object and attach an arbitrary amount of instruments to this port. The data streams are closed by calling `Port#close()`.
2018-02-23feat(#12): Add support for measurement interpolationFabian Mastenbroek
This change adds interpolation functionality to the standard library for instrumentation devices.
2018-02-23feat(#12): Implement Instrumentation API in Omega kernelFabian Mastenbroek
These changes implement the Instrumentation API described in issue #11 into the Omega simulation kernel.
2018-02-23feat(#11): Create Instrumentation APIFabian Mastenbroek
This commit creates the interfaces for the new Instrumentation API described in issue #11. This interface allows users to plug an instrumentation device into a (live) simulation in order extract measurements from the simulation.
2018-02-23refactor(#18): Redesign core simulation APIFabian Mastenbroek
This change contains the redesign of the core simulation API and provides a cleaner interface for developing simulation models for the users. Closes #18
2018-02-19refactor(#18): Simplify Context interfaceFabian Mastenbroek
This change simplifies the `Context` interface to reduce the amount of methods required to implement by implementors.
2018-02-19refactor(#18): Refactor unused transformation receive methodsFabian Mastenbroek
This change removes the unused transformation receive methods from the `Context` class as this functionality can now be easily implemented in the standard library using the newly introduced `sender` property.
2018-02-19bug: Make message priority queue stableFabian Mastenbroek
This change fixes the bug where the insertion order into the message queue was not guaranteed for messages arriving at the same time, causing some non-deterministic behaviour.
2018-02-18refactor(#18): Optimize importsFabian Mastenbroek
2018-02-18refactor(#18): Provide access to process context in nested callsFabian Mastenbroek
This change provides a method in the standard library to access the process context in nested suspending function calls.
2018-02-16refactor(#18): Provide access to latest senderFabian Mastenbroek
This change adds a `sender` property to the `Context` interface to provide processes access to the sender of the latest received message. Please note that methods like `hold()` and `interrupt()` may change the value of this property.
2018-02-16refactor(#18): Fix broken receive() timeoutFabian Mastenbroek
This change fixes the broken implementation of the `receive()` method with a timeout due to an invalid condition.
2018-02-16Merge branch 'bug/task-machine' into 'master'Georgios Andreadis
bug: Fix model according to new schema See merge request opendc/opendc-web-server!10
2018-02-16bug: Fix model according to new schemaFabian Mastenbroek
These changes fixes the `machine_state` model to use the new schema where a machine can run multiple tasks at the same time.
2018-02-15Merge branch 'chore/database-schema' into 'master'Georgios Andreadis
chore: Automatically import database schema in Docker image See merge request opendc/opendc!13
2018-02-15chore: Automatically import database schema in Docker imageFabian Mastenbroek
This change will make the database image automatically import the schema and test data.
2018-02-15refactor(#18): Handle process launch using a kernel processFabian Mastenbroek
This change will make the kernel handle the launch of processes using a kernel process that is launched at the start of the simulation and launches processes when it receives `Launch` messages.
2018-02-14refactor(#18): Create distinction between kernel and simulationFabian Mastenbroek
This change creates a distinction between a kernel and a simulation. A single simulation is represented by a `Simulation` object which provides control over the simulation, while the `Kernel` interface allows users to create a new simulation using that kernel as backend.
2018-02-13refactor(#18): Fix OpenDC model deploymentFabian Mastenbroek
This change fixes the deployment of the OpenDC simulation model.
2018-02-12refactor(#18): Launch processes at initial runFabian Mastenbroek
This change will make the simulation kernel launch the processes at the initial run instead of when the processes are registered.
2018-02-12refactor(#18): Align formatting with official Kotlin Style GuideFabian Mastenbroek
This change aligns the code formatting of the project with the official Kotlin Style Guide. They can be found at http://kotlinlang.org/docs/reference/coding-conventions.html.
2018-02-12refactor(#18): Update dependenciesFabian Mastenbroek
This change bumps the version of the dependencies used by the project.