diff options
| author | Niels Thiele <noleu66@posteo.net> | 2025-07-15 15:53:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 15:53:37 +0200 |
| commit | a5f3c19200026b9476edc39b951eb1003cff0831 (patch) | |
| tree | 785201fc58893902c15d691eff252ac91f08f690 /opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare | |
| parent | b2dc97dc84f56174ede9f273999ade2ed059d431 (diff) | |
Add configurable resource distribution at host level (#355)
Diffstat (limited to 'opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare')
| -rw-r--r-- | opendc-experiments/opendc-experiments-base/src/test/resources/topologies/DistributionPolicies/fixedShare/multi_gpu_host.json | 40 |
1 files changed, 40 insertions, 0 deletions
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 + } + } + ] + } + ] +} |
