Skip to content

trie, state: integrate batch update into statedb IntermediateRoot#32464

Draft
jwasinger wants to merge 2 commits into
ethereum:masterfrom
jwasinger:batch-update-intermediate-root
Draft

trie, state: integrate batch update into statedb IntermediateRoot#32464
jwasinger wants to merge 2 commits into
ethereum:masterfrom
jwasinger:batch-update-intermediate-root

Conversation

@jwasinger
Copy link
Copy Markdown
Contributor

Not intended for merge: this will be merged into the BAL changes.

iteration on #32448 which integrates the batch update into IntermediateRoot.

@rjl493456442
Copy link
Copy Markdown
Member

Can you measure the performance gain by integrating the batch update?

My gut feeling is that it won't be obvious, as we have already prefetched the trie nodes, and no IO should be involved in batch update.

@jwasinger
Copy link
Copy Markdown
Contributor Author

Yeah sure. I was also under the impression that this is only useful for BALs because of the prefetcher doing the majority of the useful work (and low rate of wasted prefetcher work, i.e. not many reverts in a block).

@jwasinger
Copy link
Copy Markdown
Contributor Author

This PR is a bit slower than master:

image

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.

2 participants