summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenchen Lai <wenchen.lai@hotmail.com>2021-05-07 13:43:11 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-09 16:31:08 +0200
commit85182421ea7af0ec750a01c17888bc7cf4405a7c (patch)
treefebeba192b3e9d2069ee77dac2997c0b4e79b6be
parent1387e68a48a00758ae2634de6eb81944d565aec4 (diff)
exp: Add TensorFlow experiment setup
This change adds the initial experiment setup for the TensorFlow on OpenDC experiments.
-rw-r--r--opendc-experiments/opendc-experiments-tf20/README.md7
-rw-r--r--opendc-experiments/opendc-experiments-tf20/build.gradle.kts44
-rw-r--r--settings.gradle.kts1
3 files changed, 52 insertions, 0 deletions
diff --git a/opendc-experiments/opendc-experiments-tf20/README.md b/opendc-experiments/opendc-experiments-tf20/README.md
new file mode 100644
index 00000000..ddbff945
--- /dev/null
+++ b/opendc-experiments/opendc-experiments-tf20/README.md
@@ -0,0 +1,7 @@
+TensorFlow with OpenDC
+=================
+
+This module contains a reproduction of the experiments of Wenchen Lai's MSc Computer Science thesis:
+Modeling and Simulation of the Google TensorFlow Ecosystem [1]
+
+[1] https://atlarge-research.com/pdfs/lai2020thesis.pdf
diff --git a/opendc-experiments/opendc-experiments-tf20/build.gradle.kts b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts
new file mode 100644
index 00000000..51e167cc
--- /dev/null
+++ b/opendc-experiments/opendc-experiments-tf20/build.gradle.kts
@@ -0,0 +1,44 @@
+/*
+ * Copyright (c) 2021 AtLarge Research
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+description = "Experiments with the OpenDC TensorFlow model"
+
+/* Build configuration */
+plugins {
+ `experiment-conventions`
+ `testing-conventions`
+}
+
+dependencies {
+ api(platform(projects.opendcPlatform))
+ api(projects.opendcHarness.opendcHarnessApi)
+ implementation(projects.opendcSimulator.opendcSimulatorCore)
+ implementation(projects.opendcSimulator.opendcSimulatorCompute)
+ implementation(projects.opendcTelemetry.opendcTelemetrySdk)
+ implementation(libs.kotlin.logging)
+
+ implementation(libs.parquet)
+ implementation(libs.hadoop.client) {
+ exclude(group = "org.slf4j", module = "slf4j-log4j12")
+ exclude(group = "log4j")
+ }
+}
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 3e6d6087..d09e2912 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -34,6 +34,7 @@ include(":opendc-format")
include(":opendc-experiments:opendc-experiments-capelin")
include(":opendc-experiments:opendc-experiments-energy21")
include(":opendc-experiments:opendc-experiments-serverless20")
+include(":opendc-experiments:opendc-experiments-tf20")
include(":opendc-web:opendc-web-api")
include(":opendc-web:opendc-web-ui")
include(":opendc-web:opendc-web-runner")