Skip to content

Commit

Permalink
feat: EXC-1774: Evict sandboxes based on the available memory (#2651)
Browse files Browse the repository at this point in the history
Avoid RSS-based eviction if there is sufficient memory (250 GiB or
more). RSS statistics are updated asynchronously, and by default, we
assume a worst-case scenario of 50 MiB per sandbox. Consequently,
RSS-based eviction can often be unnecessarily pessimistic, negatively
impacting the sandbox cache hit ratio.

---------

Co-authored-by: Dragoljub Duric <[email protected]>
  • Loading branch information
2 people authored and pietrodimarco-dfinity committed Nov 21, 2024
1 parent b16d21c commit 6e2c0d9
Show file tree
Hide file tree
Showing 2 changed files with 306 additions and 30 deletions.
Loading

0 comments on commit 6e2c0d9

Please sign in to comment.