Skip to content

trie: move dirty data to clean cache on flush#18995

Closed
karalabe wants to merge 2 commits intoethereum:masterfrom
karalabe:write-to-read-cache
Closed

trie: move dirty data to clean cache on flush#18995
karalabe wants to merge 2 commits intoethereum:masterfrom
karalabe:write-to-read-cache

Conversation

@karalabe
Copy link
Copy Markdown
Member

@karalabe karalabe commented Feb 5, 2019

This is a tiny PR to test whether the clean cache can offset the archive performance hit of wiping the trie cache generations. For full nodes that seemed to have less impact (the dirty cache probably covering most of the trie cache generation surface), but for archive nodes the impact was too much. Lets see what happens now.

@karalabe
Copy link
Copy Markdown
Member Author

Superseded by #19307.

@karalabe karalabe closed this Mar 25, 2019
fjl pushed a commit that referenced this pull request Mar 26, 2019
This PR is a more advanced form of the dirty-to-clean cacher (#18995),
where we reuse previous database write batches as datasets to uncache,
saving a dirty-trie-iteration and a dirty-trie-rlp-reencoding per block.
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.

1 participant