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

serf: adds new, stateful memory-pressure thresholds #546

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

joemfb
Copy link
Member

@joemfb joemfb commented Oct 25, 2023

This PR adjusts the serf's memory-pressure thresholds, adds state to track threshold events and avoid thrashing ("schmitt trigger"), and refactors post-event operation to use a bitmap and track operations more granularly.

These changes are useful on there own, and necessary for adding memory-pressure-based trimming to #508.

@joemfb joemfb marked this pull request as ready for review November 8, 2023 16:21
@joemfb joemfb requested a review from a team as a code owner November 8, 2023 16:21
@pkova pkova merged commit 936a61a into develop Nov 8, 2023
5 checks passed
@pkova pkova deleted the jb/trim-threshold branch November 8, 2023 16:29
pkova added a commit that referenced this pull request Nov 10, 2023
This PR builds on #546, extending it's more-granular state management to
the persistent memoization cache introduced in #508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants