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

wip: reduce time doing index lookup during ancient packing (and later for shrink) #99

Closed
wants to merge 1 commit into from

Conversation

jeffwashington
Copy link

Problem

in simulation test networks, the time to read the index for a group of append vecs to pack into an ancient append vec or shrink is 100x the time to write the contents to a new append vec.

Summary of Changes

Attempt to reduce the thrashing of the index by doing all lookups by index bin.

Fixes #

@jeffwashington jeffwashington force-pushed the 4m1_shrink branch 8 times, most recently from 974b0a4 to 850d625 Compare March 6, 2024 17:14
@jeffwashington
Copy link
Author

this causes contention on a write lock and doesn't help as much as I'd like.

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