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

Slow sync speeds from genesis #5737

Open
CharlieC3 opened this issue Jan 23, 2025 · 1 comment
Open

Slow sync speeds from genesis #5737

CharlieC3 opened this issue Jan 23, 2025 · 1 comment

Comments

@CharlieC3
Copy link
Member

When syncing a testnet node from genesis, it takes over 12 hours to catch up to chain tip. The testnet we have active is relatively new (<1 month old), so I would think it should catch up to chain tip relatively quickly given the age of the network and simplicity of the TXs within each block.

While this issue only mentions sync speeds in testnet, I would think improving in this area would affect mainnet sync speeds as well.

@wileyj
Copy link
Collaborator

wileyj commented Jan 24, 2025

Using the branch fix/5676, i ran two separate genesis syncs for testnet using the config in #5676 .

Both syncs took ~2 hours give or take, but one thing i did notice and measured on the second sync was that CPU usage was quite high. other system resources were all in the green, but 2:20 cpus on a local machine were consistently between 50-90% used during the sync duration.

Once synced, the cpu usage went back to baseline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

2 participants