summaryrefslogtreecommitdiff
path: root/sources/config_files.tex
blob: e959942e39e1f0d35530f205560cfbc9d4e8713a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\begin{lstlisting}[caption=The default experiment configuration. Here the trace is set to WhatsApp's.]
{
    "name": "greenifier-demo-scaling",
    "topologies": [
        {
            "pathToFile": "resources/topologies/surf.json"
        }
    ],
    "workloads": [
        {
            "pathToFile": "resources/workloads/surf_month",
            "type": "ComputeWorkload"
        }
    ],
    "failureModels" : [
        {
            "type": "trace-based",
            "pathToFile" : "resources/failures/Whatsapp_user_reported.parquet"
        }
    ],
    "exportModels": [
        {
            "exportInterval": 3600
        }
    ]
}\end{lstlisting}
\begin{lstlisting}[caption=The default toplogy used in all experiments.]
{"clusters": [
        {
            "name": "C01",
            "hosts" : [
                {
                    "name": "H01",
                    "cpu": {
                        "coreCount": 16,
                        "coreSpeed": 2100
                    },
                    "memory": {
                        "memorySize": 128000000
                    },
                    "count": 277
                }],
            "powerSource": {
                "carbonTracePath": "resources/carbon_traces/NL_2021-2024.parquet"
            }
}]}\end{lstlisting}