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

Improve archiver performance (part 2) #1346

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Apr 2, 2023

It was still too slow to run tests, taking minutes for a single run with increased record size.

This decreases time to run archiver tests on my machine from 31.01s to 15.35s with current parameters, or ~2x time reduction thanks to use of parallelism. It will also be reflected in production use.

Incremental record commitments now trades memory usage to achieve parallelization. Previously it was designed to use as little memory as possible.

Code contributor checklist:

@nazar-pc nazar-pc force-pushed the improve-archiver-performance-part-2 branch from 4665a0e to c2bbc11 Compare April 2, 2023 21:14
Copy link
Member

@shamil-gadelshin shamil-gadelshin left a comment

Choose a reason for hiding this comment

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

I also see a 2x speed increase on local archiver tests.

@nazar-pc nazar-pc merged commit 06e5c4d into main Apr 3, 2023
@nazar-pc nazar-pc deleted the improve-archiver-performance-part-2 branch April 3, 2023 09:10
i1i1 added a commit to autonomys/subspace-pulsar-sdk that referenced this pull request Apr 4, 2023
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.

3 participants