Skip to content

Remove memory quota enforcement from actors#11480

Merged
ericl merged 4 commits intoray-project:masterfrom
ericl:heap-limit-remove
Oct 21, 2020
Merged

Remove memory quota enforcement from actors#11480
ericl merged 4 commits intoray-project:masterfrom
ericl:heap-limit-remove

Conversation

@ericl
Copy link
Copy Markdown
Contributor

@ericl ericl commented Oct 19, 2020

Why are these changes needed?

Remove memory quota enforcement for actors, which prevents straightforward usage of the memory hint for scheduling without risk of killing workloads due to mis-estimation. This is backwards compatible since enforcement was always best-effort.

Related issue number

#11299

Checks

  • 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 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 :(

Copy link
Copy Markdown
Collaborator

@edoakes edoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, it's a bit strange to enforce resource limits for only one resource and not others (and best-effort at that).

@edoakes
Copy link
Copy Markdown
Collaborator

edoakes commented Oct 20, 2020

@ericl looks like you need to update test_memory_scheduling:
https://travis-ci.com/github/ray-project/ray/jobs/402236894#L2372

@ericl ericl merged commit e8c77e2 into ray-project:master Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants