-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathexperiment_list.py
More file actions
109 lines (103 loc) · 3.05 KB
/
experiment_list.py
File metadata and controls
109 lines (103 loc) · 3.05 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
from experiment import Experiment
from scaling_experiment_setting import ScalingExperimentSetting
NUM_ITERATIONS = 2
# prometheus_url = "http://130.149.158.130:32426" # actual ip of prometheus node
# prometheus_url = "http://host.minikube.internal:9090" # for minikube usage
prometheus_url = "http://192.168.1.219:9090"
namespace = "tea-bench"
scale = ScalingExperimentSetting.BOTH
exps = [
Experiment(
name="baseline",
target_branch="vanilla",
# patches=[],
namespace=namespace,
colocated_workload=True,
prometheus_url=prometheus_url,
autoscaling=scale,
),
# Experiment(
# name="serverless",
# target_branch="serverless-auth",
# # patches=[],
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# critical_services=["teastore-registry", "teastore-webui"],
# infrastrcutre_namespaces=["knative-serving"]
# ),
# Experiment(
# name="monolith",
# target_branch="monolith",
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# critical_services=["teastore-all"],
# target_host="http://teastore-all/tools.descartes.teastore.webui",
# ),
Experiment(
name="jvm",
target_branch="runtime-replacement",
# patches=[],
namespace=namespace,
colocated_workload=True,
prometheus_url=prometheus_url,
autoscaling=scale,
),
Experiment(
name="norec",
target_branch="service-reduction",
# patches=[],
namespace=namespace,
colocated_workload=True,
prometheus_url=prometheus_url,
autoscaling=scale,
),
# Experiment(
# name="lessrec",
# target_branch="feature/lessrecs",
# # patches=[],
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# ),
# Experiment(
# name="obs",
# target_branch="feature/object-storage",
# # patches=[],
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# ),
# Experiment(
# name="dbopt",
# target_branch="feature/db-optimization",
# # patches=[],
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# ),
# Experiment(
# name="car",
# target_branch="Carbon-Aware-Retraining",
# # patches=[],
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# ),
# Experiment(
# name="sig",
# target_branch="ssg+api-gateway",
# # patches=[],
# namespace=namespace,
# colocated_workload=True,
# prometheus_url=prometheus_url,
# autoscaling=scale,
# ),
]