Parallel 2.0 dev report 0506#20
Open
setunapo wants to merge 18 commits intoParallel_1.0_based_onv1.18from
Open
Parallel 2.0 dev report 0506#20setunapo wants to merge 18 commits intoParallel_1.0_based_onv1.18from
setunapo wants to merge 18 commits intoParallel_1.0_based_onv1.18from
Conversation
* add sharedStorage for prefetching to L1 * remote originStorage in stateObjects * fix core * fix bug of sync map * remove read lock when get & set keys * statedb copy use CopyWithSharedStorage * reduce lock access * fix comment * avoid sharedPool effects on other modules * remove tryPreload * fix comment * fix var name * fix lint * fix L1 miss data && data condition * fix comment
* add sync pool for slotdb and remove deepCopy for mergeSlotDB * don't panic if there is anything wrong reading state * use map in sequential mode and sync.map in parallel mode * fix the comments
** dispatch hunry slot ** remove idle dispatch ** static Dispatch
** to reduce conflict rate ** light copy ** conflict detect
balance systemaddr, nonce, code, suicide bad previous balance, nonce, code... addrSnapDestructsReadsInSlot skip system address balance check
** add ParallelStateDB ** remove isSlotDB in StateDB ** state.StateDBer ** remove getStateObjectNoSlot ...
** WBNB balance makeup by GetBalanceOpCode & depth add a lock to fix WBNB make up concurrent crash wbnb makeup by balance depth add a new interface GetBalanceOpCode ** universal unconfirmed DB ** dispatch: static & dynamic, configurable ** redesign dispatcher module shold avoid redundant redo steal tx when idle Aggresive result confirm in Stage2, when all tx have been executed no steal in stage 2 configurable: maxRedoCounterInstage1 > fixups: - mergedTxIndex concurrent access, disorder - fix systemAddrRedo - make sure all slot are stopped before next block
skip conflict check if what the SlotDB read was from a fresh txIndex, which has not been merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Parallel 2.0 did not meet the expected timeline, this PR is to summarize what has been done so far.
The PR is not well prepared and will not be merged.
It is a temporary PR for
Stage Report of Parallel 2.0: 2022.03.21 -> 2022.05.06Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes: