[data] Set default actor pool scale up threshold to 1.75#59512
Merged
alexeykudinkin merged 3 commits intoray-project:masterfrom Dec 19, 2025
Merged
[data] Set default actor pool scale up threshold to 1.75#59512alexeykudinkin merged 3 commits intoray-project:masterfrom
alexeykudinkin merged 3 commits intoray-project:masterfrom
Conversation
Signed-off-by: iamjustinhsu <jhsu@anyscale.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request adjusts the default actor pool upscaling threshold from 2.0 to 1.75. As detailed in the description, this allows the actor pool to scale up before it is fully saturated, which should improve the responsiveness of autoscaling and help prevent performance bottlenecks. The change is a simple modification of a default value and is implemented correctly. The surrounding logic, including validation checks for this threshold, appears to handle this new default value appropriately. The change looks good.
alexeykudinkin
approved these changes
Dec 17, 2025
Yicheng-Lu-llll
pushed a commit
to Yicheng-Lu-llll/ray
that referenced
this pull request
Dec 22, 2025
…#59512) ## Description Currently, we actor pool util is calculated as the following: - `max_tasks_in_flight / (num_actors_running * max_concurrency)` Since `max_tasks_in_flight_per_actor = 2 * max_concurrency` and because The default value for scaling up `RAY_DATA_DEFAULT_ACTOR_POOL_UTIL_UPSCALING_THRESHOLD` is 2.0, the only way for the actor pool util to reach 200% is if the actor pool is fully saturated. ## Related issues None ## Additional information None --------- Signed-off-by: iamjustinhsu <jhsu@anyscale.com>
lee1258561
pushed a commit
to pinterest/ray
that referenced
this pull request
Feb 3, 2026
…#59512) ## Description Currently, we actor pool util is calculated as the following: - `max_tasks_in_flight / (num_actors_running * max_concurrency)` Since `max_tasks_in_flight_per_actor = 2 * max_concurrency` and because The default value for scaling up `RAY_DATA_DEFAULT_ACTOR_POOL_UTIL_UPSCALING_THRESHOLD` is 2.0, the only way for the actor pool util to reach 200% is if the actor pool is fully saturated. ## Related issues None ## Additional information None --------- Signed-off-by: iamjustinhsu <jhsu@anyscale.com>
peterxcli
pushed a commit
to peterxcli/ray
that referenced
this pull request
Feb 25, 2026
…#59512) ## Description Currently, we actor pool util is calculated as the following: - `max_tasks_in_flight / (num_actors_running * max_concurrency)` Since `max_tasks_in_flight_per_actor = 2 * max_concurrency` and because The default value for scaling up `RAY_DATA_DEFAULT_ACTOR_POOL_UTIL_UPSCALING_THRESHOLD` is 2.0, the only way for the actor pool util to reach 200% is if the actor pool is fully saturated. ## Related issues None ## Additional information None --------- Signed-off-by: iamjustinhsu <jhsu@anyscale.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently, we actor pool util is calculated as the following:
max_tasks_in_flight / (num_actors_running * max_concurrency)Since
max_tasks_in_flight_per_actor = 2 * max_concurrencyand because The default value for scaling upRAY_DATA_DEFAULT_ACTOR_POOL_UTIL_UPSCALING_THRESHOLDis 2.0, the only way for the actor pool util to reach 200% is if the actor pool is fully saturated.Related issues
None
Additional information
None