Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ulan/run-718' into 'master'
RUN-718: Add a `scaling_factor` field to `SubnetAvailableMemory` Currently the subnet available memory is divided evenly between execution threads in order to enforce the subnet limit deterministically. This MR adds a new `scaling_factor` field to `SubnetAvailableMemory`. The field keeps track of the division factor such that an execution thread can estimate the global available memory from the per-thread available memory. Using this new field, the MR fixes the subnet memory reservation by scaling it consistently with the subnet available memory. See merge request dfinity-lab/public/ic!13927
- Loading branch information
Showing
3 changed files
with
100 additions
and
4 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