-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/air] Fix release test timeout for `tune_scalability_network_…
…overhead` (#36360) There are 2 versions of the test: a smoke test version with 20 nodes/trials and a full version with 100 nodes/trials. The smoke test version timed out recently. The test setups is slightly different: - Smoke test runs with m5a.large (2 cpus) x 20 nodes. - Full version runs with m5a.4xlarge (16 cpus) head node + 99 x m5a.large worker nodes - The smoke test takes **longer** than the full run due to syncing overhead at the end caused by the smaller head node instance (since all the syncing is going there). This PR bumps the smoke test's head node instance size, and forces trials to run on worker nodes -- the head node is purely meant to handle syncing in this test. This also fixes a problem that existed before, where the full 100 trial release test would schedule 8 trials on the head node, rather than utilize every node in the cluster. See #36346 for more context. Signed-off-by: Justin Yu <justinvyu@anyscale.com>
- Loading branch information
Showing
6 changed files
with
45 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
cloud_id: {{env["ANYSCALE_CLOUD_ID"]}} | ||
region: us-west-2 | ||
|
||
max_workers: 99 | ||
max_workers: 100 | ||
|
||
head_node_type: | ||
name: head_node | ||
instance_type: m5a.4xlarge | ||
# See `tune_scalability_network_overhead` | ||
# Don't schedule any trials to run on the head node. | ||
# The head node is only used for synchronization purposes. | ||
resources: | ||
cpu: 0 | ||
|
||
worker_node_types: | ||
- name: worker_node | ||
instance_type: m5a.large | ||
min_workers: 99 | ||
max_workers: 99 | ||
min_workers: 100 | ||
max_workers: 100 | ||
use_spot: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
cloud_id: {{env["ANYSCALE_CLOUD_ID"]}} | ||
region: us-west-2 | ||
|
||
max_workers: 19 | ||
max_workers: 20 | ||
|
||
head_node_type: | ||
name: head_node | ||
instance_type: m5a.large | ||
instance_type: m5a.4xlarge | ||
# See `tune_scalability_network_overhead` | ||
# Don't schedule any trials to run on the head node. | ||
# The head node is only used for synchronization purposes. | ||
resources: | ||
cpu: 0 | ||
|
||
worker_node_types: | ||
- name: worker_node | ||
instance_type: m5a.large | ||
min_workers: 19 | ||
max_workers: 19 | ||
min_workers: 20 | ||
max_workers: 20 | ||
use_spot: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
cloud_id: cld_tPsS3nQz8p5cautbyWgEdr4y | ||
region: us-west1 | ||
allowed_azs: | ||
allowed_azs: | ||
- us-west1-c | ||
|
||
max_workers: 99 | ||
max_workers: 100 | ||
|
||
head_node_type: | ||
name: head_node | ||
# See `tune_scalability_network_overhead` | ||
# Don't schedule any trials to run on the head node. | ||
# The head node is only used for synchronization purposes. | ||
instance_type: n2d-standard-16 | ||
resources: | ||
cpu: 0 | ||
|
||
worker_node_types: | ||
- name: worker_node | ||
instance_type: n2d-standard-2 | ||
min_workers: 99 | ||
max_workers: 99 | ||
min_workers: 100 | ||
max_workers: 100 | ||
use_spot: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters