[8.0] Add cgroup2 limit support#8110
Merged
fstagni merged 1 commit intoDIRACGrid:rel-v8r0from Apr 15, 2025
Merged
Conversation
43bbaf7 to
0afde78
Compare
chrisburr
reviewed
Apr 4, 2025
2c98b36 to
db003e2
Compare
Member
Author
|
Thanks for the review (I didn't notice it for a while, the notification must have got lost in the flurry of recent diracx activity :-) I've added support for setting a CPU limit and written the requested documentation. Regards, |
chrisburr
approved these changes
Apr 15, 2025
|
Sweep summary Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/14472511501 Failed:
|
fstagni
added a commit
to fstagni/DIRAC
that referenced
this pull request
Apr 16, 2025
sfayer
added a commit
to sfayer/DIRAC
that referenced
this pull request
Apr 16, 2025
maxnoe
pushed a commit
to maxnoe/DIRAC
that referenced
this pull request
Feb 5, 2026
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.
Hi,
Here is an initial attempt at cgroup2 support via delegation... It supports
MemoryLimitMB(int) andMemoryNoSwap(bool) options in ceParameters for both InProcessCE and SingularityCE (although I've not tested the latter). It's opportunistic, so should be transparent on sites that don't have cgroup delegation support (just running the payload unrestricted as before).A hint for LHCb deployment: I suggest setting your limit a little shy of 4G, maybe around 3900 (as you won't get any benefit at sites with 4096 slots otherwise, as the pilot won't be protected without a small gap).
Closes #7853.
Regards,
Simon
BEGINRELEASENOTES
*WorkloadManagement
NEW: cgroup2 limit support
ENDRELEASENOTES