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: stay in an inner road between events #540

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from
Draft

Conversation

joemfb
Copy link
Member

@joemfb joemfb commented Oct 12, 2023

This PR runs the serf in an inner road, as long as possible. In practice, the serf will return to the home road to take a snapshot or for |pack, |meld, and |mass.

With this change, all allocations of events and effects no longer modify persistent state. Home-road unification (which we don't have) is somewhat deprioritized, as arvo lives on an inner road between snapshots. On the other hand, with the more efficient free-list utilization from #539, the many small (re)allocations involved in incremental arvo updates should help to defragment the home-road heap.

This PR is a draft because the changes are still somewhat messy, and the error-handling behavior after this change needs to be carefully tested.

This PR should help with urbit/urbit#6805

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.

1 participant