summaryrefslogtreecommitdiff
path: root/opendc-experiments/opendc-experiments-base/src/test/resources/topologies
diff options
context:
space:
mode:
authorDante Niewenhuis <d.niewenhuis@hotmail.com>2024-10-25 13:32:41 +0200
committerGitHub <noreply@github.com>2024-10-25 13:32:41 +0200
commit5a365dbc068f2a8cdfa9813c39cc84bb30e15637 (patch)
tree72716d562787b85e03cdc7fe1d30c827054d25a0 /opendc-experiments/opendc-experiments-base/src/test/resources/topologies
parent27f5b7dcb05aefdab9b762175d538931face0aba (diff)
Rewrote the FlowEngine (#256)
* Removed unused components. Updated tests. Improved checkpointing model Improved model, started with SimPowerSource implemented FailureModels and Checkpointing First working version midway commit first update All simulation are now run with a single CPU and single MemoryUnit. multi CPUs are combined into one. This is for performance and explainability. * fixed merge conflicts * Updated M3SA paths. * Fixed small typo
Diffstat (limited to 'opendc-experiments/opendc-experiments-base/src/test/resources/topologies')
-rw-r--r--opendc-experiments/opendc-experiments-base/src/test/resources/topologies/multi.json59
-rw-r--r--opendc-experiments/opendc-experiments-base/src/test/resources/topologies/single.json23
2 files changed, 82 insertions, 0 deletions
diff --git a/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/multi.json b/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/multi.json
new file mode 100644
index 00000000..c3a060cc
--- /dev/null
+++ b/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/multi.json
@@ -0,0 +1,59 @@
+{
+ "clusters":
+ [
+ {
+ "name": "C01",
+ "hosts" :
+ [
+ {
+ "name": "H01",
+ "cpu":
+ {
+ "coreCount": 32,
+ "coreSpeed": 3200
+ },
+ "memory": {
+ "memorySize": 256000
+ }
+ }
+ ]
+ },
+ {
+ "name": "C02",
+ "hosts" :
+ [
+ {
+ "name": "H02",
+ "count": 6,
+ "cpu":
+ {
+ "coreCount": 8,
+ "coreSpeed": 2930
+ },
+ "memory": {
+ "memorySize": 64000
+ }
+ }
+ ]
+ },
+ {
+ "name": "C03",
+ "hosts" :
+ [
+ {
+ "name": "H03",
+ "count": 2,
+ "cpu":
+ {
+ "coreCount": 16,
+ "coreSpeed": 3200
+ },
+ "memory": {
+ "memorySize": 128000
+ }
+ }
+ ]
+ }
+ ]
+}
+
diff --git a/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/single.json b/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/single.json
new file mode 100644
index 00000000..de66bfc2
--- /dev/null
+++ b/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/single.json
@@ -0,0 +1,23 @@
+{
+ "clusters":
+ [
+ {
+ "name": "C01",
+ "hosts" :
+ [
+ {
+ "name": "H01",
+ "cpu":
+ {
+ "coreCount": 12,
+ "coreSpeed": 3300,
+ "count": 1
+ },
+ "memory": {
+ "memorySize": 140457600000
+ }
+ }
+ ]
+ }
+ ]
+}