Skip to content

Commit a8cc702

Browse files
authored
Add batch workers for small scale simulator (#743)
1 parent 2a5147c commit a8cc702

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

production.tfvars

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ small_scale_simulator_daemon_workers = {
3434
cpu = 4096
3535
memory = 8192
3636
}
37-
num_workers_per_task = 2
37+
num_workers_per_task = 4
3838
queues = ["high", "medium"]
3939
num_worker_tasks = 1
4040
autoscaler = {
4141
enabled = true
4242
max_num_worker_tasks = 10
4343
}
4444
capacity_provider_strategy = [
45-
{ capacity_provider = "FARGATE_SPOT", weight = 100 }
45+
{ capacity_provider = "FARGATE", weight = 100 }
4646
]
4747
}
4848
large = {
@@ -51,18 +51,36 @@ small_scale_simulator_daemon_workers = {
5151
memory = 32768
5252
}
5353
num_workers_per_task = 12
54-
queues = ["high", "medium", "low"]
54+
queues = ["medium", "low"]
5555
num_worker_tasks = 1
56-
autoscaler = {
57-
enabled = true
58-
max_num_worker_tasks = 10
59-
}
6056
capacity_provider_strategy = [
6157
{ capacity_provider = "FARGATE", weight = 100 },
6258
]
6359
}
6460
}
65-
small_scale_simulator_batch_workers = {}
61+
62+
small_scale_simulator_batch_workers = {
63+
circuit_sim = {
64+
task_size = {
65+
cpu = 8192
66+
memory = 16384
67+
}
68+
num_workers_per_task = 4
69+
queues = ["low"]
70+
max_worker_tasks = 4
71+
capacity_provider = "FARGATE_SPOT"
72+
}
73+
mesh_skeletonization = {
74+
task_size = {
75+
cpu = 16384
76+
memory = 32768
77+
}
78+
num_workers_per_task = 1
79+
queues = ["mesh_skeletonization"]
80+
max_worker_tasks = 8
81+
capacity_provider = "FARGATE"
82+
}
83+
}
6684

6785
virtual_lab_manager_task_size = {
6886
cpu = 1024

0 commit comments

Comments
 (0)