Repository navigation
[ObjectStore] Warn if object store is allocated < 50% of total memory for data workloads - #53857
Merged
alexeykudinkin merged 7 commits intoJun 18, 2025
Conversation
goutamvenkat-anyscale
force-pushed
the
goutam/warn_object_store_less_than_50perc
branch
from
June 16, 2025 19:23
4670c1c to
ec4c397
Compare
alexeykudinkin
approved these changes
Jun 16, 2025
…rkloads Signed-off-by: Goutam V <[email protected]>
Signed-off-by: Goutam V <[email protected]>
Signed-off-by: Goutam V <[email protected]>
Signed-off-by: Goutam V <[email protected]>
Signed-off-by: Goutam V <[email protected]>
goutamvenkat-anyscale
force-pushed
the
goutam/warn_object_store_less_than_50perc
branch
from
June 17, 2025 00:00
255e432 to
9bf908d
Compare
Signed-off-by: Goutam V <[email protected]>
Signed-off-by: Goutam V <[email protected]>
alexeykudinkin
enabled auto-merge (squash)
June 17, 2025 20:50
elliot-barn
pushed a commit
that referenced
this pull request
Jun 18, 2025
… for data workloads (#53857) <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? Logs a warning if the object store is given less < 50% memory for Data Workloads to minimize disk spilling ## Related issue number <!-- For example: "Closes #1234" --> ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [x] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [ ] Unit tests - [ ] Release tests - [ ] This PR is not tested :( --------- Signed-off-by: Goutam V <[email protected]> Signed-off-by: elliot-barn <[email protected]>
minerharry
pushed a commit
to minerharry/ray
that referenced
this pull request
Jun 27, 2025
… for data workloads (ray-project#53857) <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? Logs a warning if the object store is given less < 50% memory for Data Workloads to minimize disk spilling ## Related issue number <!-- For example: "Closes ray-project#1234" --> ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [x] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [ ] Unit tests - [ ] Release tests - [ ] This PR is not tested :( --------- Signed-off-by: Goutam V <[email protected]>
elliot-barn
pushed a commit
that referenced
this pull request
Jul 2, 2025
… for data workloads (#53857) <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? Logs a warning if the object store is given less < 50% memory for Data Workloads to minimize disk spilling ## Related issue number <!-- For example: "Closes #1234" --> ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [x] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [ ] Unit tests - [ ] Release tests - [ ] This PR is not tested :( --------- Signed-off-by: Goutam V <[email protected]> Signed-off-by: elliot-barn <[email protected]>
bveeramani
added a commit
that referenced
this pull request
Apr 7, 2026
…CT_STORE_MEMORY_PROPORTION` (#62387) #53857 introduced an unconditional warning instructing Ray Data users to increase `RAY_DEFAULT_OBJECT_STORE_MEMORY_PROPORTION` from 0.3 to 0.5. This is reasonable advice for pipelines bottlenecked on object store memory, where more buffer space genuinely helps throughput. However, for well-balanced streaming pipelines (e.g., offline inference), good performance doesn't require buffering large amounts of data. Over-allocating object store memory in these cases is counterproductive: - Reduced concurrency: More object store memory means less logical memory available for scheduling, which means fewer concurrent tasks. - OOM risk: If the system aggressively buffers data up to the object store limit, it eats into physical memory headroom. This PR removes the unconditional warning so it doesn't mislead users running common streaming workloads. Signed-off-by: Balaji Veeramani <[email protected]>
Lucas61000
pushed a commit
to Lucas61000/ray
that referenced
this pull request
May 15, 2026
…CT_STORE_MEMORY_PROPORTION` (ray-project#62387) ray-project#53857 introduced an unconditional warning instructing Ray Data users to increase `RAY_DEFAULT_OBJECT_STORE_MEMORY_PROPORTION` from 0.3 to 0.5. This is reasonable advice for pipelines bottlenecked on object store memory, where more buffer space genuinely helps throughput. However, for well-balanced streaming pipelines (e.g., offline inference), good performance doesn't require buffering large amounts of data. Over-allocating object store memory in these cases is counterproductive: - Reduced concurrency: More object store memory means less logical memory available for scheduling, which means fewer concurrent tasks. - OOM risk: If the system aggressively buffers data up to the object store limit, it eats into physical memory headroom. This PR removes the unconditional warning so it doesn't mislead users running common streaming workloads. Signed-off-by: Balaji Veeramani <[email protected]>
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.
Why are these changes needed?
Logs a warning if the object store is given less < 50% memory for Data Workloads to minimize disk spilling
Related issue number
Checks
git commit -s) in this PR.scripts/format.shto lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/under thecorresponding
.rstfile.