From a5f3c19200026b9476edc39b951eb1003cff0831 Mon Sep 17 00:00:00 2001 From: Niels Thiele Date: Tue, 15 Jul 2025 15:53:37 +0200 Subject: Add configurable resource distribution at host level (#355) --- .../fixedShare/multi_gpu_host.json | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare/multi_gpu_host.json (limited to 'opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare') diff --git a/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare/multi_gpu_host.json b/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare/multi_gpu_host.json new file mode 100644 index 00000000..2aa3a057 --- /dev/null +++ b/opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare/multi_gpu_host.json @@ -0,0 +1,40 @@ +{ + "clusters": [ + { + "name": "C01", + "hosts": [ + { + "name": "DualGpuHost", + "cpu": { + "coreCount": 4, + "coreSpeed": 2000 + }, + "memory": { + "memorySize": 140457600000 + }, + "cpuPowerModel": { + "modelType": "linear", + "power": 400.0, + "idlePower": 100.0, + "maxPower": 200.0 + }, + "gpu": { + "count": 2, + "coreCount": 1, + "coreSpeed": 2000 + }, + "gpuPowerModel": { + "modelType": "linear", + "power": 400.0, + "idlePower": 100.0, + "maxPower": 200.0 + }, + "gpuDistributionPolicy": { + "type": "FIXED_SHARE", + "shareRatio": 0.5 + } + } + ] + } + ] +} -- cgit v1.2.3