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

Employ Dynamic Cache Sizes #13640

Merged
merged 11 commits into from
Feb 28, 2024
Merged

Employ Dynamic Cache Sizes #13640

merged 11 commits into from
Feb 28, 2024

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Feb 21, 2024

What type of PR is this?

Optimization

What does this PR do? Why is it needed?

Instead of using an unnecessarily large commitee cache size, we employ dynamic sizing of our lru cache so that it only expands when there is a period without any finality. This allows the node to allocate significantly less memory in caching all these committees.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas requested a review from a team as a code owner February 21, 2024 08:47
@nisdas nisdas added the Blocked Blocked by research or external factors label Feb 22, 2024
@nisdas nisdas added Ready For Review A pull request ready for code review and removed Blocked Blocked by research or external factors labels Feb 26, 2024
@nisdas nisdas added this pull request to the merge queue Feb 28, 2024
Merged via the queue into develop with commit f1615c4 Feb 28, 2024
17 checks passed
@nisdas nisdas deleted the dynamicCacheSizes branch February 28, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants