Skip to content

Support for cgroups v2 and respect soft limits - #7051

Merged
gjoseph92 merged 2 commits into
dask:mainfrom
shughes-uk:shughes/cgroups
Sep 21, 2022
Merged

gjoseph92 merged 2 commits into
dask:mainfrom
shughes-uk:shughes/cgroups

Conversation

@shughes-uk

@shughes-uk shughes-uk commented Sep 21, 2022 •

Copy link
Copy Markdown
Contributor

Closes #6894

  • Tests added / passed
  • Passes pre-commit run --all-files

@GPUtester

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.

@github-actions

github-actions Bot commented Sep 21, 2022 •

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       15 files  ±  0         15 suites  ±0   6h 26m 18s ⏱️ + 6m 40s
  3 111 tests +  4    3 025 ✔️ +  5    85 💤  - 1  1 ❌ ±0 
23 026 runs  +29  22 119 ✔️ +31  906 💤  - 2  1 ❌ ±0 

For more details on these failures, see this check.

Results for commit 2d8e0cc. ± Comparison against base commit 2b23840.

♻️ This comment has been updated with latest results.

@gjoseph92

Copy link
Copy Markdown
Collaborator

Thanks @shughes-uk, I also think using the soft limits is a good idea (as you describe in #6177 (comment)). Dask's memory limit is, itself, a soft limit anyway (that's what #6177 is all about)—whether or not processes exceed it, and by how much, comes down to timing. So I think it makes more sense to use any soft limits specified as the target for dask as well.

Comment thread distributed/system.py Resolved
@gjoseph92
gjoseph92 merged commit 76c6b55 into dask:main Sep 21, 2022
gjoseph92 pushed a commit to gjoseph92/distributed that referenced this pull request Oct 31, 2022
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.

Support cgroups memory limit detection for cgroups V2

3 participants