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

Severe performance degradation on archive node after #22504 #23262

Closed
mevalphaleak opened this issue Jul 23, 2021 · 1 comment
Closed

Severe performance degradation on archive node after #22504 #23262

mevalphaleak opened this issue Jul 23, 2021 · 1 comment
Labels

Comments

@mevalphaleak
Copy link

System information

Archive node
Geth version: 1.10.3+
OS & Version: Windows/Linux/OSX
Commit hash : 7088f1e

Expected behaviour

Normally(before 1.10.3) my archive node was able to consume batch of ~20 blocks in 8 seconds without any issues
It was taking around 0.2s to perform 100 'eth_call' operations

Actual behaviour

After upgrading my archive node to 1.10.6 it started consuming only 1 block in 20 seconds and age started increasing constantly.
'eth_call' operations started randomly freezing sometimes taking 5-10 seconds

Steps to reproduce the behaviour

I've started doing binary search to find exact commit which caused an issue and it was this one: 7088f1e

My node performs flawlessly on previous commit(a50251e) and version 1.10.2 in general but as soon as I update to commit which includes 'core, eth: faster snapshot generation (#22504)' there's an abysmal drop in performance.
Archive node can't catch up any more even with NVMe drive taking 20 seconds to process a single block.

@mevalphaleak
Copy link
Author

mevalphaleak commented Jul 23, 2021

Seems like '--snapshot=false' fixes the issue but doesn't seem like long-term solution given according to #23075 it will be deprecated soon.

Does it mean that geth will be completely unusable going forward until snapshot is generated? (My machine randomly reboots once per week)
Is there any simple way for me to revert changes in #22504 while still making sure that consensus rules are London-compatible(1.10.6)?

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

No branches or pull requests

1 participant