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

Archived state rebuilding is slow #8337

Closed
rolfyone opened this issue May 27, 2024 · 1 comment
Closed

Archived state rebuilding is slow #8337

rolfyone opened this issue May 27, 2024 · 1 comment
Assignees

Comments

@rolfyone
Copy link
Contributor

Archived state retrieval seems to have become very slow when rebuilding states that weren't stored.

It appears to potentially be related to how busy the storage query channel is, but we need to investigate more.

To replicate, its relatively simple.

time curl -X 'GET' \
 'http://localhost:5051/eth/v2/debug/beacon/states/<SLOT>' \
 -H 'accept: application/octet-stream' > /dev/null

Will go through StateTransition.processSlots -> StateTransition.processSlot
Have put a timer around preState.hashTreeRoot, and that's fast, but the processSlot functions often have a long period between calls, so it's possible it's just hung up in other queries.
It's possible that with so heavy use of the storage query channel, that it's now just very congested, but either way we need a lot more investigation on this and to fix whatever the root cause is.

@rolfyone rolfyone self-assigned this Jun 3, 2024
@rolfyone
Copy link
Contributor Author

will raise a follow up ticket to continue on electra state cache fix.

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

No branches or pull requests

1 participant