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

Enhance StateService Persistence Performance #787

Open
superboyiii opened this issue Jan 11, 2023 · 0 comments
Open

Enhance StateService Persistence Performance #787

superboyiii opened this issue Jan 11, 2023 · 0 comments

Comments

@superboyiii
Copy link
Member

Summary or problem description
Currently, if StateService is installed, the node will have a high pressure on CPU which also need much more time to sync full data.
I've made a test on 2 different servers.
(1) 4 core CPU, 16G RAM, 500G SSD Disk, it costed more than 48 hours for this server to sync full data of mainnet when StateService is installed. (offline data package syncing)
(2) 8 core CPU, 32G RAM, 500G SSD Disk, it costed about 11 hours for this server to sync full data of mainnet when StateService is installed. (offline data package syncing)
Seems it need high performance system configuration.

Do you have any solution you want to propose?
Still not sure how to improve this, but I think it should not cost so much CPU source, it's only run for a little more than 1 year. Resync seems will be a frequent behaviour after recent release since still more native contract improvement are on the way.

Where in the software does this update applies to?

  • CLI
  • Plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant