-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 FIX:
max_memory_kb
usage for direct scheduler (#4825)
In most schedulers the `metadata.options.max_memory_kb` input to a `CalcJob` specifies the physical or "real" memory limit. However, for the direct scheduler this imposed a virtual limit with `ulimit -v`. Virtual memory is inequivalent to physical memory; it can often be much larger, and one cannot always systematically map physical to virtual memory usage. Therefore, in this commit: 1. In all scheduler plugins `virtual_memory_kb` is correctly renamed to `physical_memory_kb`. 2. In the direct scheduler, the `max_memory_kb` limit is ignored, since no straightforward way exists to directly limit the physical memory usage. Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
- Loading branch information
1 parent
32a6c23
commit 75310e0
Showing
5 changed files
with
16 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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