Skip to content
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

Implement consolidation memory budget variables. #5011

Merged
merged 2 commits into from
May 28, 2024

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented May 27, 2024

This implement 3 new variables for memory budgetting for consolidation. The values are a set of 3 weights that weigh each parts of the consolidation algorithm. The buffers, the read operation and the write operation. All weights are summed and ratios are computed to divide sm.mem.total_budget. The values are:

  • sm.mem.consolidation.buffers_weight
  • sm.mem.consolidation.reader_weight
  • sm.mem.consolidation.writer_weight

Note this also removes the total_buffer_size deprecated setting.


TYPE: CONFIG
DESC: Implement consolidation memory budget variables.

This implement 3 new variables for memory budgetting for consolidation. The values are a set of 3 weights that weigh each parts of the consolidation algorithm. The buffers, the read operation and the write operation. All weights are summed and ratios are computed to divide sm.mem.total_budget. The values are:
* `sm.mem.consolidation.buffers_weight`
* `sm.mem.consolidation.reader_weight`
* `sm.mem.consolidation.writer_weight`

---
TYPE: IMPROVEMENT
DESC: Implement consolidation memory budget variables.
@KiterLuc KiterLuc requested a review from teo-tsirpanis May 27, 2024 16:51
Copy link
Member

@teo-tsirpanis teo-tsirpanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

The weights could be real numbers instead of integers.

@KiterLuc KiterLuc merged commit 5d6c26a into dev May 28, 2024
61 checks passed
@KiterLuc KiterLuc deleted the lr/consolidation-budgets/ch48200 branch May 28, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants