-
Notifications
You must be signed in to change notification settings - Fork 4
Add ResourceRequirement. #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0832adafa8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
cwl/sar_coherence.cwl
Outdated
| - entryname: "arguments.json" | ||
| entry: $(inputs) | ||
| ResourceRequirement: | ||
| ramMin: 4096 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ramMin and ramMax are preferebly set the same because ramMax won't be taken into consideration when scheduling workload so if requirements grow to ramMax you might end up OOM on the underlying hardware and then your job fails. So having different values for min and max for memory requirements reduces the reliability.
The same does not uphold for CPU sharing. For CPU the min is important to have a certain baseline performance and the max is useful to avoid taking too many resources but if you have a high max but not as many CPU us available your process won't die it will just be slower. The default CPU is 1 so you should at least increase cpuMin otherwise you will have poor performance and probably best to set cpuMax to some high value like 7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to avoid coresMax instead of giving it a high value?
|
Running sar_coherence with 3 dates took 6.5Gb ram at peak: |
|
Ran 10 CWL jobs at the same time with this settings, and none crashed |
…on main branch first.
https://github.com/eu-cdse/openeo-cdse-infra/issues/883