1bb698619c
The improvements in the range-export code lead to avoid reading most blocks twice, as well as to allowing some blocks to be written to disk multiple times. The cache hit-rate went down from being close to 50% to a maximum of 12% at the very end of the export. The reason is that most CIDs are never read twice since they are correctly tracked in the CID set. These numbers do not support the maintenance of the CachingBlockstore code. Additional testing shows that removing it has similar memory-usage behaviour and about 5 minute-faster execution (around 10%). Less code to maintain and less options to mess up with. |
||
---|---|---|
.. | ||
actors | ||
beacon | ||
consensus | ||
ethhashlookup | ||
events | ||
exchange | ||
gen | ||
market | ||
messagepool | ||
messagesigner | ||
rand | ||
state | ||
stmgr | ||
store | ||
sub | ||
types | ||
vectors | ||
vm | ||
wallet | ||
badtscache.go | ||
block_receipt_tracker.go | ||
checkpoint.go | ||
sync_manager_test.go | ||
sync_manager.go | ||
sync_test.go | ||
sync.go | ||
syncstate.go | ||
types_test.go |